Lines Matching refs:common
19 #include "vp8/common/common.h"
21 #include "vp8/common/entropymode.h"
23 #include "vp8/common/systemdependent.h"
235 cc->filter_level = cpi->common.filter_level;
239 vp8_copy(cc->mvc, cpi->common.fc.mvc);
242 vp8_copy(cc->ymode_prob, cpi->common.fc.ymode_prob);
243 vp8_copy(cc->uv_mode_prob, cpi->common.fc.uv_mode_prob);
272 cpi->common.filter_level = cc->filter_level;
276 vp8_copy(cpi->common.fc.mvc, cc->mvc);
280 vp8_copy(cpi->common.fc.ymode_prob, cc->ymode_prob);
281 vp8_copy(cpi->common.fc.uv_mode_prob, cc->uv_mode_prob);
305 vp8_default_coef_probs(& cpi->common);
307 vpx_memcpy(cpi->common.fc.mvc, vp8_default_mv_context, sizeof(vp8_default_mv_context));
310 vp8_build_component_cost_table(cpi->mb.mvcost, (const MV_CONTEXT *) cpi->common.fc.mvc, flag);
316 vpx_memcpy(&cpi->lfc_a, &cpi->common.fc, sizeof(cpi->common.fc));
317 vpx_memcpy(&cpi->lfc_g, &cpi->common.fc, sizeof(cpi->common.fc));
318 vpx_memcpy(&cpi->lfc_n, &cpi->common.fc, sizeof(cpi->common.fc));
320 cpi->common.filter_level = cpi->common.base_qindex * 3 / 8 ;
328 cpi->common.refresh_golden_frame = 1;
329 cpi->common.refresh_alt_ref_frame = 1;
362 target = estimate_bits_at_q(INTRA_FRAME, Q, cpi->common.MBs,
371 else if (cpi->common.current_video_frame == 0)
385 int Q = (cpi->common.frame_flags & FRAMEFLAGS_KEY)
437 cpi->common.current_video_frame, cpi->gfu_boost, cpi->baseline_gf_interval, cpi->source_alt_ref_pending);
459 int pct_gf_active = (100 * cpi->gf_active_count) / (cpi->common.mb_rows * cpi->common.mb_cols);
490 cpi->one_pass_frame_index = cpi->common.current_video_frame%MAX_LAG_BUFFERS;
637 if((cpi->common.refresh_alt_ref_frame) && (cpi->oxcf.number_of_layers == 1))
737 if (!cpi->common.refresh_alt_ref_frame)
937 ((cpi->common.frame_type != KEY_FRAME)))
947 (int) cpi->common.current_video_frame,
948 cpi->decimation_factor, cpi->common.horiz_scale,
974 int pct_gf_active = (100 * cpi->gf_active_count) / (cpi->common.mb_rows * cpi->common.mb_cols);
989 cpi->common.refresh_golden_frame = 1;
993 cpi->common.refresh_golden_frame = 1;
1005 cpi->common.current_video_frame, cpi->gfu_boost, GFQ_ADJUSTMENT, cpi->gfu_boost, gf_frame_useage);
1011 if (cpi->common.refresh_golden_frame == 1)
1020 fprintf(f, "%8ld GF coded\n", cpi->common.current_video_frame);
1071 (estimate_bits_at_q(1, Q, cpi->common.MBs, 1.0)
1096 int Q = cpi->common.base_qindex;
1106 if (cpi->common.frame_type == KEY_FRAME)
1113 (cpi->common.refresh_alt_ref_frame ||
1114 cpi->common.refresh_golden_frame))
1124 projected_size_based_on_q = (int)(((.5 + rate_correction_factor * vp8_bits_per_mb[cpi->common.frame_type][Q]) * cpi->common.MBs) / (1 << BPER_MB_NORMBITS));
1187 if (cpi->common.frame_type == KEY_FRAME)
1192 (cpi->common.refresh_alt_ref_frame ||
1193 cpi->common.refresh_golden_frame))
1212 if (cpi->common.frame_type == KEY_FRAME)
1217 cpi->common.refresh_alt_ref_frame)
1222 cpi->common.refresh_golden_frame)
1237 if (cpi->common.frame_type == KEY_FRAME)
1242 (cpi->common.refresh_alt_ref_frame ||
1243 cpi->common.refresh_golden_frame))
1254 target_bits_per_mb = (target_bits_per_frame / cpi->common.MBs) << BPER_MB_NORMBITS;
1256 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cpi->common.MBs;
1262 bits_per_mb_at_this_q = (int)(.5 + correction_factor * vp8_bits_per_mb[cpi->common.frame_type][i]);
1290 if (cpi->common.frame_type == KEY_FRAME)
1293 (cpi->common.refresh_alt_ref_frame ||
1294 (cpi->common.refresh_golden_frame &&
1455 if (cpi->common.frame_type == KEY_FRAME)
1463 cpi->common.refresh_alt_ref_frame ||
1464 cpi->common.refresh_golden_frame)
1533 VP8_COMMON *cm = &cpi->common;