Lines Matching defs:frame
104 /* Write the SEI as part of the first frame. */
125 const AVFrame *frame, int *got_packet)
136 if (frame) {
138 x4->pic.img.plane[i] = frame->data[i];
139 x4->pic.img.i_stride[i] = frame->linesize[i];
142 x4->pic.i_pts = frame->pts;
144 x4->pts_buffer[avctx->frame_number % (avctx->max_b_frames+1)] = frame->pts;
148 frame? &x4->pic: NULL, &pic_out) < 0)
157 if (!frame && !(x4->end_of_stream)) {
198 /* There is no IDR frame in AVS JiZhun */
279 /* The max allowed reference frame number of B is 2 */