Lines Matching defs:vid
41 BethsoftvidContext *vid = avctx->priv_data;
42 vid->frame.reference = 1;
43 vid->frame.buffer_hints = FF_BUFFER_HINTS_VALID |
63 BethsoftvidContext * vid = avctx->priv_data;
68 const int wrap_to_next_line = vid->frame.linesize[0] - avctx->width;
72 if (avctx->reget_buffer(avctx, &vid->frame)) {
76 dst = vid->frame.data[0];
77 frame_end = vid->frame.data[0] + vid->frame.linesize[0] * avctx->height;
81 set_palette(&vid->frame, buf);
87 dst += vid->frame.linesize[0] * yoffset;
118 *(AVFrame*)data = vid->frame;
125 BethsoftvidContext * vid = avctx->priv_data;
126 if(vid->frame.data[0])
127 avctx->release_buffer(avctx, &vid->frame);