Lines Matching refs:xvid_enc_frame
419 xvid_enc_frame_t xvid_enc_frame;
423 memset(&xvid_enc_frame, 0, sizeof(xvid_enc_frame));
424 xvid_enc_frame.version = XVID_VERSION;
430 xvid_enc_frame.bitstream = frame;
431 xvid_enc_frame.length = buf_size;
439 xvid_enc_frame.input.csp = XVID_CSP_PLANAR; /* YUV420P */
442 xvid_enc_frame.input.plane[i] = picture->data[i];
443 xvid_enc_frame.input.stride[i] = picture->linesize[i];
447 xvid_enc_frame.vop_flags = x->vop_flags;
448 xvid_enc_frame.vol_flags = x->vol_flags;
449 xvid_enc_frame.motion = x->me_flags;
450 xvid_enc_frame.type =
463 xvid_enc_frame.par = XVID_PAR_EXT;
464 xvid_enc_frame.par_width = avctx->sample_aspect_ratio.num;
465 xvid_enc_frame.par_height = avctx->sample_aspect_ratio.den;
468 if( x->qscale ) xvid_enc_frame.quant = picture->quality / FF_QP2LAMBDA;
469 else xvid_enc_frame.quant = 0;
472 xvid_enc_frame.quant_intra_matrix = x->intra_matrix;
473 xvid_enc_frame.quant_inter_matrix = x->inter_matrix;
477 &xvid_enc_frame, &xvid_enc_stats);
501 if( xvid_enc_frame.out_flags & XVID_KEYFRAME ) {