Home | History | Annotate | Download | only in enc

Lines Matching defs:mem

188   uint8_t* mem;
224 mem = (uint8_t*)WebPSafeMalloc(size, sizeof(*mem));
225 if (mem == NULL) {
229 enc = (VP8Encoder*)mem;
230 mem = (uint8_t*)DO_ALIGN(mem + sizeof(*enc));
236 enc->yuv_in_ = (uint8_t*)mem;
237 mem += YUV_SIZE;
238 enc->yuv_out_ = (uint8_t*)mem;
239 mem += YUV_SIZE;
240 enc->yuv_out2_ = (uint8_t*)mem;
241 mem += YUV_SIZE;
242 enc->yuv_p_ = (uint8_t*)mem;
243 mem += PRED_SIZE;
244 enc->mb_info_ = (VP8MBInfo*)mem;
245 mem += info_size;
246 enc->preds_ = ((uint8_t*)mem) + 1 + enc->preds_w_;
247 mem += preds_w * preds_h * sizeof(uint8_t);
248 enc->nz_ = 1 + (uint32_t*)mem;
249 mem += nz_size;
250 enc->lf_stats_ = lf_stats_size ? (LFStats*)DO_ALIGN(mem) : NULL;
251 mem += lf_stats_size;
254 mem = (uint8_t*)DO_ALIGN(mem);
255 enc->y_top_ = (uint8_t*)mem;
257 mem += 2 * top_stride;
258 mem = (uint8_t*)DO_ALIGN(mem + 1);
259 enc->y_left_ = (uint8_t*)mem;
260 mem += 16 + 16;
261 enc->u_left_ = (uint8_t*)mem;
262 mem += 16;
263 enc->v_left_ = (uint8_t*)mem;
264 mem += 8;