• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/

Lines Matching refs:xvid_enc_create

137     xvid_enc_create_t xvid_enc_create;
228 memset(&xvid_enc_create, 0, sizeof(xvid_enc_create));
229 xvid_enc_create.version = XVID_VERSION;
232 xvid_enc_create.width = x->xsize = avctx->width;
233 xvid_enc_create.height = x->ysize = avctx->height;
236 /* xvid_enc_create.profile = XVID_PROFILE_S_L3; */
239 xvid_enc_create.zones = NULL;
240 xvid_enc_create.num_zones = 0;
242 xvid_enc_create.num_threads = avctx->thread_count;
244 xvid_enc_create.plugins = plugins;
245 xvid_enc_create.num_plugins = 0;
265 plugins[xvid_enc_create.num_plugins].func = xvid_ff_2pass;
266 plugins[xvid_enc_create.num_plugins].param = &rc2pass1;
267 xvid_enc_create.num_plugins++;
296 plugins[xvid_enc_create.num_plugins].func = xvid_plugin_2pass2;
297 plugins[xvid_enc_create.num_plugins].param = &rc2pass2;
298 xvid_enc_create.num_plugins++;
305 plugins[xvid_enc_create.num_plugins].func = xvid_plugin_single;
306 plugins[xvid_enc_create.num_plugins].param = &single;
307 xvid_enc_create.num_plugins++;
312 plugins[xvid_enc_create.num_plugins].func = xvid_plugin_lumimasking;
313 plugins[xvid_enc_create.num_plugins].param = NULL;
314 xvid_enc_create.num_plugins++;
319 xvid_enc_create.fincr = avctx->time_base.num;
320 xvid_enc_create.fbase = avctx->time_base.den;
322 xvid_enc_create.max_key_interval = avctx->gop_size;
324 xvid_enc_create.max_key_interval = 240; /* Xvid's best default */
330 xvid_enc_create.min_quant[0] = avctx->qmin;
331 xvid_enc_create.min_quant[1] = avctx->qmin;
332 xvid_enc_create.min_quant[2] = avctx->qmin;
333 xvid_enc_create.max_quant[0] = avctx->qmax;
334 xvid_enc_create.max_quant[1] = avctx->qmax;
335 xvid_enc_create.max_quant[2] = avctx->qmax;
364 xvid_enc_create.frame_drop_ratio = 0;
365 xvid_enc_create.global = 0;
367 xvid_enc_create.global |= XVID_GLOBAL_CLOSED_GOP;
384 xvid_enc_create.max_bframes = avctx->max_b_frames;
385 xvid_enc_create.bquant_offset = 100 * avctx->b_quant_offset;
386 xvid_enc_create.bquant_ratio = 100 * avctx->b_quant_factor;
387 if( avctx->max_b_frames > 0 && !x->quicktime_format ) xvid_enc_create.global |= XVID_GLOBAL_PACKED;
390 xerr = xvid_encore(NULL, XVID_ENC_CREATE, &xvid_enc_create, NULL);
396 x->encoder_handle = xvid_enc_create.handle;