Searched refs:cpi (Results 1 - 25 of 171) sorted by relevance

1234567

/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dratectrl.h21 extern void vp8_save_coding_context(VP8_COMP *cpi);
22 extern void vp8_restore_coding_context(VP8_COMP *cpi);
24 extern void vp8_setup_key_frame(VP8_COMP *cpi);
25 extern void vp8_update_rate_correction_factors(VP8_COMP *cpi, int damp_var);
26 extern int vp8_regulate_q(VP8_COMP *cpi, int target_bits_per_frame);
27 extern void vp8_adjust_key_frame_context(VP8_COMP *cpi);
28 extern void vp8_compute_frame_size_bounds(VP8_COMP *cpi, int *frame_under_shoot_limit, int *frame_over_shoot_limit);
31 extern int vp8_pick_frame_size(VP8_COMP *cpi);
H A Dratectrl.c216 void vp8_save_coding_context(VP8_COMP *cpi) argument
218 CODING_CONTEXT *const cc = & cpi->coding_context;
226 cc->frames_since_key = cpi->frames_since_key;
227 cc->filter_level = cpi->common.filter_level;
228 cc->frames_till_gf_update_due = cpi->frames_till_gf_update_due;
229 cc->frames_since_golden = cpi->frames_since_golden;
231 vp8_copy(cc->mvc, cpi->common.fc.mvc);
232 vp8_copy(cc->mvcosts, cpi->rd_costs.mvcosts);
234 vp8_copy(cc->ymode_prob, cpi->common.fc.ymode_prob);
235 vp8_copy(cc->uv_mode_prob, cpi
255 vp8_restore_coding_context(VP8_COMP *cpi) argument
293 vp8_setup_key_frame(VP8_COMP *cpi) argument
341 calc_iframe_target_size(VP8_COMP *cpi) argument
440 calc_gf_params(VP8_COMP *cpi) argument
606 calc_pframe_target_size(VP8_COMP *cpi) argument
1101 vp8_update_rate_correction_factors(VP8_COMP *cpi, int damp_var) argument
1208 vp8_regulate_q(VP8_COMP *cpi, int target_bits_per_frame) argument
1353 estimate_keyframe_frequency(VP8_COMP *cpi) argument
1410 vp8_adjust_key_frame_context(VP8_COMP *cpi) argument
1448 vp8_compute_frame_size_bounds(VP8_COMP *cpi, int *frame_under_shoot_limit, int *frame_over_shoot_limit) argument
1537 vp8_pick_frame_size(VP8_COMP *cpi) argument
[all...]
H A Dmr_dissim.h20 extern void vp8_cal_low_res_mb_cols(VP8_COMP *cpi);
21 extern void vp8_cal_dissimilarity(VP8_COMP *cpi);
22 extern void vp8_store_drop_frame_info(VP8_COMP *cpi);
H A Dfirstpass.h19 extern void vp8_init_first_pass(VP8_COMP *cpi);
20 extern void vp8_first_pass(VP8_COMP *cpi);
21 extern void vp8_end_first_pass(VP8_COMP *cpi);
23 extern void vp8_init_second_pass(VP8_COMP *cpi);
24 extern void vp8_second_pass(VP8_COMP *cpi);
25 extern void vp8_end_second_pass(VP8_COMP *cpi);
H A Donyx_if.c48 extern int vp8_update_coef_context(VP8_COMP *cpi);
49 extern void vp8_update_coef_probs(VP8_COMP *cpi);
52 extern void vp8cx_pick_filter_level_fast(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi);
53 extern void vp8cx_set_alt_lf_level(VP8_COMP *cpi, int filt_val);
54 extern void vp8cx_pick_filter_level(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi);
60 extern int vp8cx_create_encoder_threads(VP8_COMP *cpi);
61 extern void vp8cx_remove_encoder_threads(VP8_COMP *cpi);
63 int vp8_estimate_entropy_savings(VP8_COMP *cpi);
67 extern void vp8_temporal_filter_prepare_c(VP8_COMP *cpi, int distance);
69 static void set_default_lf_deltas(VP8_COMP *cpi);
219 save_layer_context(VP8_COMP *cpi) argument
257 restore_layer_context(VP8_COMP *cpi, const int layer) argument
304 init_temporal_layer_context(VP8_COMP *cpi, VP8_CONFIG *oxcf, const int layer, double prev_layer_framerate) argument
364 reset_temporal_layer_change(VP8_COMP *cpi, VP8_CONFIG *oxcf, const int prev_num_layers) argument
414 setup_features(VP8_COMP *cpi) argument
443 dealloc_compressor_data(VP8_COMP *cpi) argument
491 enable_segmentation(VP8_COMP *cpi) argument
498 disable_segmentation(VP8_COMP *cpi) argument
507 set_segmentation_map(VP8_COMP *cpi, unsigned char *segmentation_map) argument
529 set_segment_data(VP8_COMP *cpi, signed char *feature_data, unsigned char abs_delta) argument
536 segmentation_test_function(VP8_COMP *cpi) argument
572 cyclic_background_refresh(VP8_COMP *cpi, int Q, int lf_adjustment) argument
660 set_default_lf_deltas(VP8_COMP *cpi) argument
772 vp8_set_speed_features(VP8_COMP *cpi) argument
1128 alloc_raw_frame_buffers(VP8_COMP *cpi) argument
1152 dealloc_raw_frame_buffers(VP8_COMP *cpi) argument
1161 vp8_alloc_partition_data(VP8_COMP *cpi) argument
1176 vp8_alloc_compressor_data(VP8_COMP *cpi) argument
1317 vp8_new_framerate(VP8_COMP *cpi, double framerate) argument
1354 init_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument
1426 update_layer_contexts(VP8_COMP *cpi) argument
1475 vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument
1825 VP8_COMP *cpi; local
2174 VP8_COMP *cpi = *ptr; local
2543 generate_psnr_packet(VP8_COMP *cpi) argument
2589 vp8_use_as_reference(VP8_COMP *cpi, int ref_frame_flags) argument
2597 vp8_update_reference(VP8_COMP *cpi, int ref_frame_flags) argument
2618 vp8_get_reference(VP8_COMP *cpi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
2636 vp8_set_reference(VP8_COMP *cpi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
2655 vp8_update_entropy(VP8_COMP *cpi, int update) argument
2699 scale_and_extend_source(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) argument
2731 resize_key_frame(VP8_COMP *cpi) argument
2785 update_alt_ref_frame_stats(VP8_COMP *cpi) argument
2822 update_golden_frame_stats(VP8_COMP *cpi) argument
2918 update_rd_ref_frame_probs(VP8_COMP *cpi) argument
2975 decide_key_frame(VP8_COMP *cpi) argument
3042 Pass1Encode(VP8_COMP *cpi, unsigned long *size, unsigned char *dest, unsigned int *frame_flags) argument
3090 recode_loop_test( VP8_COMP *cpi, int high_limit, int low_limit, int q, int maxq, int minq ) argument
3137 update_reference_frames(VP8_COMP *cpi) argument
3297 process_denoiser_mode_change(VP8_COMP *cpi) argument
3415 vp8_loopfilter_frame(VP8_COMP *cpi, VP8_COMMON *cm) argument
3459 encode_frame_to_data_rate( VP8_COMP *cpi, unsigned long *size, unsigned char *dest, unsigned char* dest_end, unsigned int *frame_flags ) argument
5018 Pass2Encode(VP8_COMP *cpi, unsigned long *size, unsigned char *dest, unsigned char * dest_end, unsigned int *frame_flags) argument
5036 vp8_receive_raw_frame(VP8_COMP *cpi, unsigned int frame_flags, YV12_BUFFER_CONFIG *sd, int64_t time_stamp, int64_t end_time) argument
5061 frame_is_reference(const VP8_COMP *cpi) argument
5075 vp8_get_compressed_data(VP8_COMP *cpi, unsigned int *frame_flags, unsigned long *size, unsigned char *dest, unsigned char *dest_end, int64_t *time_stamp, int64_t *time_end, int flush) argument
5589 vp8_get_preview_raw_frame(VP8_COMP *cpi, YV12_BUFFER_CONFIG *dest, vp8_ppflags_t *flags) argument
5629 vp8_set_roimap(VP8_COMP *cpi, unsigned char *map, unsigned int rows, unsigned int cols, int delta_q[4], int delta_lf[4], unsigned int threshold[4]) argument
5695 vp8_set_active_map(VP8_COMP *cpi, unsigned char *map, unsigned int rows, unsigned int cols) argument
5715 vp8_set_internal_size(VP8_COMP *cpi, VPX_SCALING horiz_mode, VPX_SCALING vert_mode) argument
5759 vp8_get_quantizer(VP8_COMP *cpi) argument
[all...]
H A Dquantize.h21 extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q);
22 extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi);
23 extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x);
24 extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x, int ok_to_skip);
25 extern void vp8cx_init_quantizer(struct VP8_COMP *cpi);
H A Dfirstpass.c36 extern void vp8cx_frame_init_quantizer(VP8_COMP *cpi);
38 extern void vp8_alloc_compressor_data(VP8_COMP *cpi);
56 #define POW1 (double)cpi->oxcf.two_pass_vbrbias/100.0
57 #define POW2 (double)cpi->oxcf.two_pass_vbrbias/100.0
77 static void find_next_key_frame(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame);
82 static void reset_fpf_position(VP8_COMP *cpi, FIRSTPASS_STATS *Position) argument
84 cpi->twopass.stats_in = Position;
87 static int lookup_next_frame_stats(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame) argument
89 if (cpi->twopass.stats_in >= cpi
97 read_frame_stats( VP8_COMP *cpi, FIRSTPASS_STATS *frame_stats, int offset ) argument
119 input_stats(VP8_COMP *cpi, FIRSTPASS_STATS *fps) argument
130 output_stats(const VP8_COMP *cpi, struct vpx_codec_pkt_list *pktlist, FIRSTPASS_STATS *stats) argument
264 calculate_modified_err(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
344 frame_max_bits(VP8_COMP *cpi) argument
395 vp8_init_first_pass(VP8_COMP *cpi) argument
400 vp8_end_first_pass(VP8_COMP *cpi) argument
405 zz_motion_search( VP8_COMP *cpi, MACROBLOCK * x, YV12_BUFFER_CONFIG * raw_buffer, int * raw_motion_err, YV12_BUFFER_CONFIG * recon_buffer, int * best_motion_err, int recon_yoffset) argument
435 first_pass_motion_search(VP8_COMP *cpi, MACROBLOCK *x, int_mv *ref_mv, MV *best_mv, YV12_BUFFER_CONFIG *recon_buffer, int *best_motion_err, int recon_yoffset ) argument
507 vp8_first_pass(VP8_COMP *cpi) argument
917 estimate_modemvcost(VP8_COMP *cpi, FIRSTPASS_STATS * fpstats) argument
978 estimate_max_q(VP8_COMP *cpi, FIRSTPASS_STATS * fpstats, int section_target_bandwitdh, int overhead_bits ) argument
1097 estimate_cq( VP8_COMP *cpi, FIRSTPASS_STATS * fpstats, int section_target_bandwitdh, int overhead_bits ) argument
1184 estimate_q(VP8_COMP *cpi, double section_err, int section_target_bandwitdh) argument
1230 estimate_kf_group_q(VP8_COMP *cpi, double section_err, int section_target_bandwitdh, double group_iiratio) argument
1332 vp8_init_second_pass(VP8_COMP *cpi) argument
1410 vp8_end_second_pass(VP8_COMP *cpi) argument
1417 get_prediction_decay_rate(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame) argument
1455 detect_transition_to_still( VP8_COMP *cpi, int frame_interval, int still_interval, double loop_decay_rate, double decay_accumulator ) argument
1502 detect_flash( VP8_COMP *cpi, int offset ) argument
1539 accumulate_frame_motion_stats( VP8_COMP *cpi, FIRSTPASS_STATS * this_frame, double * this_frame_mv_in_out, double * mv_in_out_accumulator, double * abs_mv_in_out_accumulator, double * mv_ratio_accumulator ) argument
1585 calc_frame_boost( VP8_COMP *cpi, FIRSTPASS_STATS * this_frame, double this_frame_mv_in_out ) argument
1619 calc_arf_boost( VP8_COMP *cpi, int offset, int f_frames, int b_frames, int *f_boost, int *b_boost ) argument
1738 define_gf_group(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
2357 assign_std_frame_bits(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
2413 vp8_second_pass(VP8_COMP *cpi) argument
2625 test_candidate_kf(VP8_COMP *cpi, FIRSTPASS_STATS *last_frame, FIRSTPASS_STATS *this_frame, FIRSTPASS_STATS *next_frame) argument
2714 find_next_key_frame(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
[all...]
H A Dquantize.c267 void vp8cx_init_quantizer(VP8_COMP *cpi) argument
279 quant_val = vp8_dc_quant(Q, cpi->common.y1dc_delta_q);
280 cpi->Y1quant_fast[Q][0] = (1 << 16) / quant_val;
281 invert_quant(cpi->sf.improved_quant, cpi->Y1quant[Q] + 0,
282 cpi->Y1quant_shift[Q] + 0, quant_val);
283 cpi->Y1zbin[Q][0] = ((qzbin_factors[Q] * quant_val) + 64) >> 7;
284 cpi->Y1round[Q][0] = (qrounding_factors[Q] * quant_val) >> 7;
285 cpi->common.Y1dequant[Q][0] = quant_val;
286 cpi
381 vp8cx_mb_init_quantizer(VP8_COMP *cpi, MACROBLOCK *x, int ok_to_skip) argument
513 vp8_update_zbin_extra(VP8_COMP *cpi, MACROBLOCK *x) argument
539 vp8cx_frame_init_quantizer(VP8_COMP *cpi) argument
549 vp8_set_quantizer(struct VP8_COMP *cpi, int Q) argument
[all...]
H A Dencodeframe.h16 extern void vp8_activity_masking(VP8_COMP *cpi, MACROBLOCK *x);
22 extern void vp8_encode_frame(VP8_COMP *cpi);
24 extern int vp8cx_encode_inter_macroblock(VP8_COMP *cpi, MACROBLOCK *x,
29 extern int vp8cx_encode_intra_macroblock(VP8_COMP *cpi, MACROBLOCK *x,
/external/libvpx/libvpx/vp8/encoder/
H A Dratectrl.h21 extern void vp8_save_coding_context(VP8_COMP *cpi);
22 extern void vp8_restore_coding_context(VP8_COMP *cpi);
24 extern void vp8_setup_key_frame(VP8_COMP *cpi);
25 extern void vp8_update_rate_correction_factors(VP8_COMP *cpi, int damp_var);
26 extern int vp8_regulate_q(VP8_COMP *cpi, int target_bits_per_frame);
27 extern void vp8_adjust_key_frame_context(VP8_COMP *cpi);
28 extern void vp8_compute_frame_size_bounds(VP8_COMP *cpi, int *frame_under_shoot_limit, int *frame_over_shoot_limit);
31 extern int vp8_pick_frame_size(VP8_COMP *cpi);
H A Dratectrl.c216 void vp8_save_coding_context(VP8_COMP *cpi) argument
218 CODING_CONTEXT *const cc = & cpi->coding_context;
226 cc->frames_since_key = cpi->frames_since_key;
227 cc->filter_level = cpi->common.filter_level;
228 cc->frames_till_gf_update_due = cpi->frames_till_gf_update_due;
229 cc->frames_since_golden = cpi->frames_since_golden;
231 vp8_copy(cc->mvc, cpi->common.fc.mvc);
232 vp8_copy(cc->mvcosts, cpi->rd_costs.mvcosts);
234 vp8_copy(cc->ymode_prob, cpi->common.fc.ymode_prob);
235 vp8_copy(cc->uv_mode_prob, cpi
255 vp8_restore_coding_context(VP8_COMP *cpi) argument
293 vp8_setup_key_frame(VP8_COMP *cpi) argument
341 calc_iframe_target_size(VP8_COMP *cpi) argument
440 calc_gf_params(VP8_COMP *cpi) argument
606 calc_pframe_target_size(VP8_COMP *cpi) argument
1101 vp8_update_rate_correction_factors(VP8_COMP *cpi, int damp_var) argument
1208 vp8_regulate_q(VP8_COMP *cpi, int target_bits_per_frame) argument
1353 estimate_keyframe_frequency(VP8_COMP *cpi) argument
1410 vp8_adjust_key_frame_context(VP8_COMP *cpi) argument
1448 vp8_compute_frame_size_bounds(VP8_COMP *cpi, int *frame_under_shoot_limit, int *frame_over_shoot_limit) argument
1537 vp8_pick_frame_size(VP8_COMP *cpi) argument
[all...]
H A Dmr_dissim.h20 extern void vp8_cal_low_res_mb_cols(VP8_COMP *cpi);
21 extern void vp8_cal_dissimilarity(VP8_COMP *cpi);
22 extern void vp8_store_drop_frame_info(VP8_COMP *cpi);
H A Dfirstpass.h19 extern void vp8_init_first_pass(VP8_COMP *cpi);
20 extern void vp8_first_pass(VP8_COMP *cpi);
21 extern void vp8_end_first_pass(VP8_COMP *cpi);
23 extern void vp8_init_second_pass(VP8_COMP *cpi);
24 extern void vp8_second_pass(VP8_COMP *cpi);
25 extern void vp8_end_second_pass(VP8_COMP *cpi);
H A Donyx_if.c48 extern int vp8_update_coef_context(VP8_COMP *cpi);
49 extern void vp8_update_coef_probs(VP8_COMP *cpi);
52 extern void vp8cx_pick_filter_level_fast(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi);
53 extern void vp8cx_set_alt_lf_level(VP8_COMP *cpi, int filt_val);
54 extern void vp8cx_pick_filter_level(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi);
60 extern int vp8cx_create_encoder_threads(VP8_COMP *cpi);
61 extern void vp8cx_remove_encoder_threads(VP8_COMP *cpi);
63 int vp8_estimate_entropy_savings(VP8_COMP *cpi);
67 extern void vp8_temporal_filter_prepare_c(VP8_COMP *cpi, int distance);
69 static void set_default_lf_deltas(VP8_COMP *cpi);
216 save_layer_context(VP8_COMP *cpi) argument
254 restore_layer_context(VP8_COMP *cpi, const int layer) argument
301 init_temporal_layer_context(VP8_COMP *cpi, VP8_CONFIG *oxcf, const int layer, double prev_layer_framerate) argument
361 reset_temporal_layer_change(VP8_COMP *cpi, VP8_CONFIG *oxcf, const int prev_num_layers) argument
411 setup_features(VP8_COMP *cpi) argument
440 dealloc_compressor_data(VP8_COMP *cpi) argument
488 enable_segmentation(VP8_COMP *cpi) argument
495 disable_segmentation(VP8_COMP *cpi) argument
504 set_segmentation_map(VP8_COMP *cpi, unsigned char *segmentation_map) argument
526 set_segment_data(VP8_COMP *cpi, signed char *feature_data, unsigned char abs_delta) argument
533 segmentation_test_function(VP8_COMP *cpi) argument
569 cyclic_background_refresh(VP8_COMP *cpi, int Q, int lf_adjustment) argument
637 set_default_lf_deltas(VP8_COMP *cpi) argument
749 vp8_set_speed_features(VP8_COMP *cpi) argument
1105 alloc_raw_frame_buffers(VP8_COMP *cpi) argument
1129 dealloc_raw_frame_buffers(VP8_COMP *cpi) argument
1138 vp8_alloc_partition_data(VP8_COMP *cpi) argument
1153 vp8_alloc_compressor_data(VP8_COMP *cpi) argument
1285 vp8_new_framerate(VP8_COMP *cpi, double framerate) argument
1322 init_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument
1394 update_layer_contexts(VP8_COMP *cpi) argument
1443 vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument
1788 VP8_COMP *cpi; local
2124 VP8_COMP *cpi = *ptr; local
2489 generate_psnr_packet(VP8_COMP *cpi) argument
2535 vp8_use_as_reference(VP8_COMP *cpi, int ref_frame_flags) argument
2543 vp8_update_reference(VP8_COMP *cpi, int ref_frame_flags) argument
2564 vp8_get_reference(VP8_COMP *cpi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
2582 vp8_set_reference(VP8_COMP *cpi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
2601 vp8_update_entropy(VP8_COMP *cpi, int update) argument
2649 scale_and_extend_source(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) argument
2681 resize_key_frame(VP8_COMP *cpi) argument
2735 update_alt_ref_frame_stats(VP8_COMP *cpi) argument
2772 update_golden_frame_stats(VP8_COMP *cpi) argument
2868 update_rd_ref_frame_probs(VP8_COMP *cpi) argument
2925 decide_key_frame(VP8_COMP *cpi) argument
2992 Pass1Encode(VP8_COMP *cpi, unsigned long *size, unsigned char *dest, unsigned int *frame_flags) argument
3040 recode_loop_test( VP8_COMP *cpi, int high_limit, int low_limit, int q, int maxq, int minq ) argument
3087 update_reference_frames(VP8_COMP *cpi) argument
3268 vp8_loopfilter_frame(VP8_COMP *cpi, VP8_COMMON *cm) argument
3312 encode_frame_to_data_rate( VP8_COMP *cpi, unsigned long *size, unsigned char *dest, unsigned char* dest_end, unsigned int *frame_flags ) argument
4802 Pass2Encode(VP8_COMP *cpi, unsigned long *size, unsigned char *dest, unsigned char * dest_end, unsigned int *frame_flags) argument
4827 vp8_receive_raw_frame(VP8_COMP *cpi, unsigned int frame_flags, YV12_BUFFER_CONFIG *sd, int64_t time_stamp, int64_t end_time) argument
4876 frame_is_reference(const VP8_COMP *cpi) argument
4890 vp8_get_compressed_data(VP8_COMP *cpi, unsigned int *frame_flags, unsigned long *size, unsigned char *dest, unsigned char *dest_end, int64_t *time_stamp, int64_t *time_end, int flush) argument
5430 vp8_get_preview_raw_frame(VP8_COMP *cpi, YV12_BUFFER_CONFIG *dest, vp8_ppflags_t *flags) argument
5470 vp8_set_roimap(VP8_COMP *cpi, unsigned char *map, unsigned int rows, unsigned int cols, int delta_q[4], int delta_lf[4], unsigned int threshold[4]) argument
5536 vp8_set_active_map(VP8_COMP *cpi, unsigned char *map, unsigned int rows, unsigned int cols) argument
5556 vp8_set_internal_size(VP8_COMP *cpi, VPX_SCALING horiz_mode, VPX_SCALING vert_mode) argument
5600 vp8_get_quantizer(VP8_COMP *cpi) argument
[all...]
H A Dquantize.h21 extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q);
22 extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi);
23 extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x);
24 extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x, int ok_to_skip);
25 extern void vp8cx_init_quantizer(struct VP8_COMP *cpi);
H A Dfirstpass.c36 extern void vp8cx_frame_init_quantizer(VP8_COMP *cpi);
38 extern void vp8_alloc_compressor_data(VP8_COMP *cpi);
56 #define POW1 (double)cpi->oxcf.two_pass_vbrbias/100.0
57 #define POW2 (double)cpi->oxcf.two_pass_vbrbias/100.0
77 static void find_next_key_frame(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame);
82 static void reset_fpf_position(VP8_COMP *cpi, FIRSTPASS_STATS *Position) argument
84 cpi->twopass.stats_in = Position;
87 static int lookup_next_frame_stats(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame) argument
89 if (cpi->twopass.stats_in >= cpi
97 read_frame_stats( VP8_COMP *cpi, FIRSTPASS_STATS *frame_stats, int offset ) argument
119 input_stats(VP8_COMP *cpi, FIRSTPASS_STATS *fps) argument
130 output_stats(const VP8_COMP *cpi, struct vpx_codec_pkt_list *pktlist, FIRSTPASS_STATS *stats) argument
264 calculate_modified_err(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
344 frame_max_bits(VP8_COMP *cpi) argument
395 vp8_init_first_pass(VP8_COMP *cpi) argument
400 vp8_end_first_pass(VP8_COMP *cpi) argument
405 zz_motion_search( VP8_COMP *cpi, MACROBLOCK * x, YV12_BUFFER_CONFIG * raw_buffer, int * raw_motion_err, YV12_BUFFER_CONFIG * recon_buffer, int * best_motion_err, int recon_yoffset) argument
435 first_pass_motion_search(VP8_COMP *cpi, MACROBLOCK *x, int_mv *ref_mv, MV *best_mv, YV12_BUFFER_CONFIG *recon_buffer, int *best_motion_err, int recon_yoffset ) argument
507 vp8_first_pass(VP8_COMP *cpi) argument
917 estimate_modemvcost(VP8_COMP *cpi, FIRSTPASS_STATS * fpstats) argument
978 estimate_max_q(VP8_COMP *cpi, FIRSTPASS_STATS * fpstats, int section_target_bandwitdh, int overhead_bits ) argument
1097 estimate_cq( VP8_COMP *cpi, FIRSTPASS_STATS * fpstats, int section_target_bandwitdh, int overhead_bits ) argument
1184 estimate_q(VP8_COMP *cpi, double section_err, int section_target_bandwitdh) argument
1230 estimate_kf_group_q(VP8_COMP *cpi, double section_err, int section_target_bandwitdh, double group_iiratio) argument
1332 vp8_init_second_pass(VP8_COMP *cpi) argument
1410 vp8_end_second_pass(VP8_COMP *cpi) argument
1417 get_prediction_decay_rate(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame) argument
1455 detect_transition_to_still( VP8_COMP *cpi, int frame_interval, int still_interval, double loop_decay_rate, double decay_accumulator ) argument
1502 detect_flash( VP8_COMP *cpi, int offset ) argument
1539 accumulate_frame_motion_stats( VP8_COMP *cpi, FIRSTPASS_STATS * this_frame, double * this_frame_mv_in_out, double * mv_in_out_accumulator, double * abs_mv_in_out_accumulator, double * mv_ratio_accumulator ) argument
1585 calc_frame_boost( VP8_COMP *cpi, FIRSTPASS_STATS * this_frame, double this_frame_mv_in_out ) argument
1619 calc_arf_boost( VP8_COMP *cpi, int offset, int f_frames, int b_frames, int *f_boost, int *b_boost ) argument
1738 define_gf_group(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
2357 assign_std_frame_bits(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
2413 vp8_second_pass(VP8_COMP *cpi) argument
2625 test_candidate_kf(VP8_COMP *cpi, FIRSTPASS_STATS *last_frame, FIRSTPASS_STATS *this_frame, FIRSTPASS_STATS *next_frame) argument
2714 find_next_key_frame(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_bitstream.h23 void vp9_pack_bitstream(VP9_COMP *cpi, uint8_t *dest, size_t *size);
25 static INLINE int vp9_preserve_existing_gf(VP9_COMP *cpi) { argument
26 return !cpi->multi_arf_allowed && cpi->refresh_golden_frame &&
27 cpi->rc.is_src_frame_alt_ref &&
28 (!cpi->use_svc || // Add spatial svc base layer case here
29 (is_two_pass_svc(cpi) &&
30 cpi->svc.spatial_layer_id == 0 &&
31 cpi->svc.layer_context[0].gold_ref_idx >=0 &&
32 cpi
[all...]
H A Dvp9_svc_layercontext.c17 void vp9_init_layer_context(VP9_COMP *const cpi) { argument
18 SVC *const svc = &cpi->svc;
19 const VP9EncoderConfig *const oxcf = &cpi->oxcf;
27 if (svc->number_temporal_layers > 1 && cpi->oxcf.rc_mode == VPX_CBR) {
55 if (svc->number_temporal_layers > 1 && cpi->oxcf.rc_mode == VPX_CBR) {
80 if (!(svc->number_temporal_layers > 1 && cpi->oxcf.rc_mode == VPX_CBR)
86 void vp9_update_layer_context_change_config(VP9_COMP *const cpi, argument
88 SVC *const svc = &cpi->svc;
89 const VP9EncoderConfig *const oxcf = &cpi->oxcf;
90 const RATE_CONTROL *const rc = &cpi
134 get_layer_context(VP9_COMP *const cpi) argument
140 vp9_update_temporal_layer_framerate(VP9_COMP *const cpi) argument
163 vp9_update_spatial_layer_framerate(VP9_COMP *const cpi, double framerate) argument
177 vp9_restore_layer_context(VP9_COMP *const cpi) argument
194 vp9_save_layer_context(VP9_COMP *const cpi) argument
204 vp9_init_second_pass_spatial_svc(VP9_COMP *cpi) argument
220 vp9_inc_frame_in_layer(VP9_COMP *const cpi) argument
229 vp9_is_upper_layer_key_frame(const VP9_COMP *const cpi) argument
255 vp9_svc_start_frame(VP9_COMP *const cpi) argument
328 vp9_svc_lookahead_pop(VP9_COMP *const cpi, struct lookahead_ctx *ctx, int drain) argument
[all...]
H A Dvp9_encoder.c105 void vp9_set_high_precision_mv(VP9_COMP *cpi, int allow_high_precision_mv) { argument
106 MACROBLOCK *const mb = &cpi->mb;
107 cpi->common.allow_high_precision_mv = allow_high_precision_mv;
108 if (cpi->common.allow_high_precision_mv) {
117 static void setup_frame(VP9_COMP *cpi) { argument
118 VP9_COMMON *const cm = &cpi->common;
127 if (!cpi->use_svc)
128 cm->frame_context_idx = cpi->refresh_alt_ref_frame;
132 if (!is_two_pass_svc(cpi))
133 cpi
160 dealloc_compressor_data(VP9_COMP *cpi) argument
231 save_coding_context(VP9_COMP *cpi) argument
261 restore_coding_context(VP9_COMP *cpi) argument
290 configure_static_seg_features(VP9_COMP *cpi) argument
414 update_reference_segmentation_map(VP9_COMP *cpi) argument
430 alloc_raw_frame_buffers(VP9_COMP *cpi) argument
455 alloc_ref_frame_buffers(VP9_COMP *cpi) argument
462 alloc_util_frame_buffers(VP9_COMP *cpi) argument
495 vp9_alloc_compressor_data(VP9_COMP *cpi) argument
510 update_frame_size(VP9_COMP *cpi) argument
531 vp9_new_framerate(VP9_COMP *cpi, double framerate) argument
536 set_tile_limits(VP9_COMP *cpi) argument
547 init_buffer_indices(VP9_COMP *cpi) argument
553 init_config(struct VP9_COMP *cpi, VP9EncoderConfig *oxcf) argument
607 vp9_change_config(struct VP9_COMP *cpi, const VP9EncoderConfig *oxcf) argument
753 VP9_COMP *const cpi = vpx_memalign(32, sizeof(VP9_COMP)); local
1083 vp9_remove_compressor(VP9_COMP *cpi) argument
1276 generate_psnr_packet(VP9_COMP *cpi) argument
1293 vp9_use_as_reference(VP9_COMP *cpi, int ref_frame_flags) argument
1301 vp9_update_reference(VP9_COMP *cpi, int ref_frame_flags) argument
1308 get_vp9_ref_frame_buffer(VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag) argument
1321 vp9_copy_reference_enc(VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
1332 vp9_set_reference_enc(VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
1343 vp9_update_entropy(VP9_COMP * cpi, int update) argument
1476 recode_loop_test(const VP9_COMP *cpi, int high_limit, int low_limit, int q, int maxq, int minq) argument
1511 vp9_update_reference_frames(VP9_COMP *cpi) argument
1592 loopfilter_frame(VP9_COMP *cpi, VP9_COMMON *cm) argument
1617 vp9_scale_references(VP9_COMP *cpi) argument
1646 release_scaled_references(VP9_COMP *cpi) argument
1735 encode_without_recode_loop(VP9_COMP *cpi, int q) argument
1759 encode_with_recode_loop(VP9_COMP *cpi, size_t *size, uint8_t *dest, int q, int bottom_index, int top_index) argument
1958 get_ref_frame_flags(const VP9_COMP *cpi) argument
1980 set_ext_overrides(VP9_COMP *cpi) argument
2009 is_skippable_frame(const VP9_COMP *cpi) argument
2028 set_arf_sign_bias(VP9_COMP *cpi) argument
2044 set_mv_search_params(VP9_COMP *cpi) argument
2069 setup_interp_filter_search_mask(VP9_COMP *cpi) argument
2095 encode_frame_to_data_rate(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
2385 SvcEncode(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
2391 Pass0Encode(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
2401 Pass2Encode(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
2408 init_motion_estimation(VP9_COMP *cpi) argument
2418 check_initial_width(VP9_COMP *cpi, int subsampling_x, int subsampling_y) argument
2438 vp9_receive_raw_frame(VP9_COMP *cpi, unsigned int frame_flags, YV12_BUFFER_CONFIG *sd, int64_t time_stamp, int64_t end_time) argument
2473 frame_is_reference(const VP9_COMP *cpi) argument
2486 adjust_frame_rate(VP9_COMP *cpi, const struct lookahead_entry *source) argument
2527 get_arf_src_index(VP9_COMP *cpi) argument
2543 check_src_altref(VP9_COMP *cpi, const struct lookahead_entry *source) argument
2566 vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags, size_t *size, uint8_t *dest, int64_t *time_stamp, int64_t *time_end, int flush) argument
2911 vp9_get_preview_raw_frame(VP9_COMP *cpi, YV12_BUFFER_CONFIG *dest, vp9_ppflags_t *flags) argument
2941 vp9_set_active_map(VP9_COMP *cpi, unsigned char *map, int rows, int cols) argument
2964 vp9_set_internal_size(VP9_COMP *cpi, VPX_SCALING horiz_mode, VPX_SCALING vert_mode) argument
2986 vp9_set_size_literal(VP9_COMP *cpi, unsigned int width, unsigned int height) argument
3023 vp9_set_svc(VP9_COMP *cpi, int use_svc) argument
3037 vp9_get_quantizer(VP9_COMP *cpi) argument
3041 vp9_apply_encoding_flags(VP9_COMP *cpi, vpx_enc_frame_flags_t flags) argument
[all...]
H A Dvp9_aq_complexity.h22 void vp9_select_in_frame_q_segment(struct VP9_COMP *cpi, int mi_row, int mi_col,
28 void vp9_setup_in_frame_q_adj(struct VP9_COMP *cpi);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_temporal_filter.h18 void vp9_temporal_filter_prepare(VP9_COMP *cpi, int distance);
19 void vp9_configure_arnr_filter(VP9_COMP *cpi,
H A Dvp9_onyx_if.c84 void vp9_init_quantizer(VP9_COMP *cpi);
112 static void set_high_precision_mv(VP9_COMP *cpi, int allow_high_precision_mv) { argument
113 MACROBLOCK *const mb = &cpi->mb;
114 cpi->common.allow_high_precision_mv = allow_high_precision_mv;
115 if (cpi->common.allow_high_precision_mv) {
124 static void setup_key_frame(VP9_COMP *cpi) { argument
125 vp9_setup_past_independence(&cpi->common);
128 cpi->refresh_golden_frame = 1;
129 cpi->refresh_alt_ref_frame = 1;
157 static void dealloc_compressor_data(VP9_COMP *cpi) { argument
203 save_coding_context(VP9_COMP *cpi) argument
226 restore_coding_context(VP9_COMP *cpi) argument
248 configure_static_seg_features(VP9_COMP *cpi) argument
371 print_seg_map(VP9_COMP *cpi) argument
391 update_reference_segmentation_map(VP9_COMP *cpi) argument
410 set_rd_speed_thresholds(VP9_COMP *cpi) argument
491 set_rd_speed_thresholds_sub8x8(VP9_COMP *cpi) argument
525 set_speed_features(VP9_COMP *cpi) argument
544 alloc_raw_frame_buffers(VP9_COMP *cpi) argument
563 vp9_alloc_compressor_data(VP9_COMP *cpi) argument
611 update_frame_size(VP9_COMP *cpi) argument
675 vp9_new_framerate(VP9_COMP *cpi, double framerate) argument
730 set_tile_limits(VP9_COMP *cpi) argument
741 init_config(struct VP9_COMP *cpi, VP9_CONFIG *oxcf) argument
784 vp9_change_config(struct VP9_COMP *cpi, const VP9_CONFIG *oxcf) argument
1039 init_pick_mode_context(VP9_COMP *cpi) argument
1116 VP9_COMP *const cpi = vpx_memalign(32, sizeof(VP9_COMP)); local
1444 vp9_remove_compressor(VP9_COMP *cpi) argument
1652 generate_psnr_packet(VP9_COMP *cpi) argument
1666 vp9_use_as_reference(VP9_COMP *cpi, int ref_frame_flags) argument
1674 vp9_update_reference(VP9_COMP *cpi, int ref_frame_flags) argument
1681 get_vp9_ref_frame_buffer(VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag) argument
1694 vp9_copy_reference_enc(VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
1705 vp9_get_reference_enc(VP9_COMP *cpi, int index, YV12_BUFFER_CONFIG **fb) argument
1715 vp9_set_reference_enc(VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
1726 vp9_update_entropy(VP9_COMP * cpi, int update) argument
1931 recode_loop_test(const VP9_COMP *cpi, int high_limit, int low_limit, int q, int maxq, int minq) argument
1965 vp9_update_reference_frames(VP9_COMP *cpi) argument
2024 loopfilter_frame(VP9_COMP *cpi, VP9_COMMON *cm) argument
2049 vp9_scale_references(VP9_COMP *cpi) argument
2073 release_scaled_references(VP9_COMP *cpi) argument
2161 encode_without_recode_loop(VP9_COMP *cpi, size_t *size, uint8_t *dest, int q) argument
2200 encode_with_recode_loop(VP9_COMP *cpi, size_t *size, uint8_t *dest, int q, int bottom_index, int top_index) argument
2413 get_ref_frame_flags(VP9_COMP *cpi) argument
2444 set_ext_overrides(VP9_COMP *cpi) argument
2461 encode_frame_to_data_rate(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
2768 SvcEncode(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
2774 Pass0Encode(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
2784 Pass1Encode(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
2795 Pass2Encode(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
2805 check_initial_width(VP9_COMP *cpi, int subsampling_x, int subsampling_y) argument
2819 vp9_receive_raw_frame(VP9_COMP *cpi, unsigned int frame_flags, YV12_BUFFER_CONFIG *sd, int64_t time_stamp, int64_t end_time) argument
2846 frame_is_reference(const VP9_COMP *cpi) argument
2860 is_next_frame_arf(VP9_COMP *cpi) argument
2866 adjust_frame_rate(VP9_COMP *cpi) argument
2904 vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags, size_t *size, uint8_t *dest, int64_t *time_stamp, int64_t *time_end, int flush) argument
3237 vp9_get_preview_raw_frame(VP9_COMP *cpi, YV12_BUFFER_CONFIG *dest, vp9_ppflags_t *flags) argument
3266 vp9_set_roimap(VP9_COMP *cpi, unsigned char *map, unsigned int rows, unsigned int cols, int delta_q[MAX_SEGMENTS], int delta_lf[MAX_SEGMENTS], unsigned int threshold[MAX_SEGMENTS]) argument
3315 vp9_set_active_map(VP9_COMP *cpi, unsigned char *map, unsigned int rows, unsigned int cols) argument
3332 vp9_set_internal_size(VP9_COMP *cpi, VPX_SCALING horiz_mode, VPX_SCALING vert_mode) argument
3353 vp9_set_size_literal(VP9_COMP *cpi, unsigned int width, unsigned int height) argument
3389 vp9_set_svc(VP9_COMP *cpi, int use_svc) argument
3403 vp9_get_quantizer(VP9_COMP *cpi) argument
[all...]
H A Dvp9_aq_complexity.h22 void vp9_select_in_frame_q_segment(struct VP9_COMP *cpi, int mi_row, int mi_col,
28 void vp9_setup_in_frame_q_adj(struct VP9_COMP *cpi);
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dset_roi.cc46 // Initialize elements of cpi with valid defaults.
47 VP8_COMP cpi; local
48 cpi.mb.e_mbd.mb_segement_abs_delta = SEGMENT_DELTADATA;
49 cpi.cyclic_refresh_mode_enabled = 0;
50 cpi.mb.e_mbd.segmentation_enabled = 0;
51 cpi.mb.e_mbd.update_mb_segmentation_map = 0;
52 cpi.mb.e_mbd.update_mb_segmentation_data = 0;
53 cpi.common.mb_rows = 240 >> 4;
54 cpi.common.mb_cols = 320 >> 4;
55 const int mbs = (cpi
[all...]
/external/libvpx/libvpx/test/
H A Dset_roi.cc46 // Initialize elements of cpi with valid defaults.
47 VP8_COMP cpi; local
48 cpi.mb.e_mbd.mb_segement_abs_delta = SEGMENT_DELTADATA;
49 cpi.cyclic_refresh_mode_enabled = 0;
50 cpi.mb.e_mbd.segmentation_enabled = 0;
51 cpi.mb.e_mbd.update_mb_segmentation_map = 0;
52 cpi.mb.e_mbd.update_mb_segmentation_data = 0;
53 cpi.common.mb_rows = 240 >> 4;
54 cpi.common.mb_cols = 320 >> 4;
55 const int mbs = (cpi
[all...]

Completed in 365 milliseconds

1234567