Lines Matching defs:frame
58 uint8_t *frame[4];
74 av_freep(&c->frame[i]);
107 c->frame[i] = av_mallocz(c->frame_size);
108 if (!c->frame[i])
158 *p = c->frame[page] + x * 2 + y * 2 * c->width;
159 *pend = c->frame[page] + c->frame_size;
184 dst = c->frame[page] + x + y * c->width;
185 dend = c->frame[page] + c->frame_size;
203 dst = c->frame[c->current_frame];
204 dend = c->frame[c->current_frame] + c->frame_size;
227 dst = c->frame[c->current_frame];
276 int i, frame, ret;
296 if (code & 0x20) { // frame is keyframe
337 memset(c->frame[i], 0, c->frame_size);
351 dst = c->frame[c->current_frame];
359 /* Copy reference frame: Consume the next byte in the stream as the
360 * reference frame (which should be 0, 1, 2, or 3, and should not be
361 * the same as the current frame number). */
362 frame = bytestream2_get_byte(&c->gb);
363 if (frame > 3)
365 if (frame != c->current_frame)
366 memcpy(c->frame[c->current_frame], c->frame[frame], c->frame_size);
370 dst = c->frame[c->current_frame];
399 c->frame[c->current_frame], c->width,