Home
last modified time | relevance | path

Searched defs:cpi (Results 1 – 25 of 41) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_ratectrl.c109 void vp9_save_coding_context(VP9_COMP *cpi) { in vp9_save_coding_context()
132 void vp9_restore_coding_context(VP9_COMP *cpi) { in vp9_restore_coding_context()
165 int vp9_rc_clamp_pframe_target_size(const VP9_COMP *const cpi, int target) { in vp9_rc_clamp_pframe_target_size()
184 int vp9_rc_clamp_iframe_target_size(const VP9_COMP *const cpi, int target) { in vp9_rc_clamp_iframe_target_size()
199 static void update_layer_buffer_level(VP9_COMP *const cpi, in update_layer_buffer_level()
218 static void update_buffer_level(VP9_COMP *cpi, int encoded_frame_size) { in update_buffer_level()
239 int vp9_rc_drop_frame(VP9_COMP *cpi) { in vp9_rc_drop_frame()
277 static double get_rate_correction_factor(const VP9_COMP *cpi) { in get_rate_correction_factor()
289 static void set_rate_correction_factor(VP9_COMP *cpi, double factor) { in set_rate_correction_factor()
301 void vp9_rc_update_rate_correction_factors(VP9_COMP *cpi, int damp_var) { in vp9_rc_update_rate_correction_factors()
[all …]
Dvp9_onyx_if.c122 static void set_high_precision_mv(VP9_COMP *cpi, int allow_high_precision_mv) { in set_high_precision_mv()
134 static void setup_key_frame(VP9_COMP *cpi) { in setup_key_frame()
167 static void dealloc_compressor_data(VP9_COMP *cpi) { in dealloc_compressor_data()
215 int vp9_compute_qdelta(const VP9_COMP *cpi, double qstart, double qtarget) { in vp9_compute_qdelta()
240 int vp9_compute_qdelta_by_rate(VP9_COMP *cpi, int qindex, in vp9_compute_qdelta_by_rate()
263 static void configure_static_seg_features(VP9_COMP *cpi) { in configure_static_seg_features()
386 static void print_seg_map(VP9_COMP *cpi) { in print_seg_map()
406 static void update_reference_segmentation_map(VP9_COMP *cpi) { in update_reference_segmentation_map()
425 static void set_rd_speed_thresholds(VP9_COMP *cpi) { in set_rd_speed_thresholds()
506 static void set_rd_speed_thresholds_sub8x8(VP9_COMP *cpi) { in set_rd_speed_thresholds_sub8x8()
[all …]
Dvp9_svc_layercontext.c16 void vp9_init_layer_context(VP9_COMP *const cpi) { in vp9_init_layer_context()
64 void vp9_update_layer_context_change_config(VP9_COMP *const cpi, in vp9_update_layer_context_change_config()
117 void vp9_update_temporal_layer_framerate(VP9_COMP *const cpi) { in vp9_update_temporal_layer_framerate()
140 void vp9_update_spatial_layer_framerate(VP9_COMP *const cpi, double framerate) { in vp9_update_spatial_layer_framerate()
167 void vp9_restore_layer_context(VP9_COMP *const cpi) { in vp9_restore_layer_context()
187 void vp9_save_layer_context(VP9_COMP *const cpi) { in vp9_save_layer_context()
200 void vp9_init_second_pass_spatial_svc(VP9_COMP *cpi) { in vp9_init_second_pass_spatial_svc()
Dvp9_picklpf.c26 static int get_max_filter_level(VP9_COMP *cpi) { in get_max_filter_level()
32 static int try_filter_frame(const YV12_BUFFER_CONFIG *sd, VP9_COMP *const cpi, in try_filter_frame()
46 static void search_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi, in search_filter_level()
134 void vp9_pick_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi, in vp9_pick_filter_level()
Dvp9_mbgraph.c24 static unsigned int do_16x16_motion_iteration(VP9_COMP *cpi, in do_16x16_motion_iteration()
80 static int do_16x16_motion_search(VP9_COMP *cpi, const int_mv *ref_mv, in do_16x16_motion_search()
121 static int do_16x16_zerozero_search(VP9_COMP *cpi, int_mv *dst_mv) { in do_16x16_zerozero_search()
136 static int find_best_16x16_intra(VP9_COMP *cpi, in find_best_16x16_intra()
171 VP9_COMP *cpi, in update_mbgraph_mb_stats()
231 static void update_mbgraph_frame_stats(VP9_COMP *cpi, in update_mbgraph_frame_stats()
305 static void separate_arf_mbs(VP9_COMP *cpi) { in separate_arf_mbs()
384 void vp9_update_mbgraph_stats(VP9_COMP *cpi) { in vp9_update_mbgraph_stats()
Dvp9_bitstream.c82 static void write_selected_tx_size(const VP9_COMP *cpi, in write_selected_tx_size()
97 static int write_skip(const VP9_COMP *cpi, int segment_id, const MODE_INFO *mi, in write_skip()
192 static void write_ref_frames(const VP9_COMP *cpi, vp9_writer *w) { in write_ref_frames()
228 static void pack_inter_mode_mvs(VP9_COMP *cpi, const MODE_INFO *mi, in pack_inter_mode_mvs()
333 static void write_mb_modes_kf(const VP9_COMP *cpi, MODE_INFO **mi_8x8, in write_mb_modes_kf()
371 static void write_modes_b(VP9_COMP *cpi, const TileInfo *const tile, in write_modes_b()
416 static void write_modes_sb(VP9_COMP *cpi, in write_modes_sb()
472 static void write_modes(VP9_COMP *cpi, in write_modes()
487 static void build_tree_distribution(VP9_COMP *cpi, TX_SIZE tx_size, in build_tree_distribution()
514 static void update_coef_probs_common(vp9_writer* const bc, VP9_COMP *cpi, in update_coef_probs_common()
[all …]
Dvp9_firstpass.c256 static double calculate_modified_err(const VP9_COMP *cpi, in calculate_modified_err()
336 static int frame_max_bits(const VP9_COMP *cpi) { in frame_max_bits()
349 void vp9_init_first_pass(VP9_COMP *cpi) { in vp9_init_first_pass()
353 void vp9_end_first_pass(VP9_COMP *cpi) { in vp9_end_first_pass()
390 static void first_pass_motion_search(VP9_COMP *cpi, MACROBLOCK *x, in first_pass_motion_search()
471 void vp9_first_pass(VP9_COMP *cpi) { in vp9_first_pass()
903 int vp9_twopass_worst_quality(VP9_COMP *cpi, FIRSTPASS_STATS *fpstats, in vp9_twopass_worst_quality()
941 void vp9_init_second_pass(VP9_COMP *cpi) { in vp9_init_second_pass()
1059 static int detect_transition_to_still(VP9_COMP *cpi, int frame_interval, in detect_transition_to_still()
1155 static double calc_frame_boost(VP9_COMP *cpi, FIRSTPASS_STATS *this_frame, in calc_frame_boost()
[all …]
Dvp9_encodeframe.c105 static unsigned int get_sby_perpixel_variance(VP9_COMP *cpi, in get_sby_perpixel_variance()
114 static unsigned int get_sby_perpixel_diff_variance(VP9_COMP *cpi, in get_sby_perpixel_diff_variance()
130 static BLOCK_SIZE get_rd_var_based_fixed_partition(VP9_COMP *cpi, in get_rd_var_based_fixed_partition()
146 static BLOCK_SIZE get_nonrd_var_based_fixed_partition(VP9_COMP *cpi, in get_nonrd_var_based_fixed_partition()
171 static int is_block_in_mb_map(const VP9_COMP *cpi, int mi_row, int mi_col, in is_block_in_mb_map()
197 static int check_active_map(const VP9_COMP *cpi, const MACROBLOCK *x, in check_active_map()
207 static void set_offsets(VP9_COMP *cpi, const TileInfo *const tile, in set_offsets()
299 static void set_block_size(VP9_COMP * const cpi, in set_block_size()
421 static int set_vt_partitioning(VP9_COMP *cpi, in set_vt_partitioning()
471 static void choose_partitioning(VP9_COMP *cpi, in choose_partitioning()
[all …]
Dvp9_aq_variance.c75 void vp9_vaq_frame_setup(VP9_COMP *cpi) { in vp9_vaq_frame_setup()
115 static unsigned int block_variance(VP9_COMP *cpi, MACROBLOCK *x, in block_variance()
140 int vp9_block_energy(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs) { in vp9_block_energy()
Dvp9_aq_complexity.c21 void vp9_setup_in_frame_q_adj(VP9_COMP *cpi) { in vp9_setup_in_frame_q_adj()
61 void vp9_select_in_frame_q_segment(VP9_COMP *cpi, in vp9_select_in_frame_q_segment()
Dvp9_speed_features.c43 static void set_good_speed_feature(VP9_COMP *cpi, in set_good_speed_feature()
283 void vp9_set_speed_features(VP9_COMP *cpi) { in vp9_set_speed_features()
Dvp9_pickmode.c29 static void full_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x, in full_pixel_motion_search()
133 static void sub_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x, in sub_pixel_motion_search()
179 static void model_rd_for_sb_y(VP9_COMP *cpi, BLOCK_SIZE bsize, in model_rd_for_sb_y()
203 int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, in vp9_pick_inter_mode()
Dvp9_segmentation.c32 void vp9_set_segmentation_map(VP9_COMP *cpi, unsigned char *segmentation_map) { in vp9_set_segmentation_map()
123 static void count_segs(VP9_COMP *cpi, const TileInfo *const tile, in count_segs()
164 static void count_segs_sb(VP9_COMP *cpi, const TileInfo *const tile, in count_segs_sb()
215 void vp9_choose_segmap_coding_method(VP9_COMP *cpi) { in vp9_choose_segmap_coding_method()
Dvp9_quantize.c154 void vp9_init_quantizer(VP9_COMP *cpi) { in vp9_init_quantizer()
216 void vp9_init_plane_quantizers(VP9_COMP *cpi, MACROBLOCK *x) { in vp9_init_plane_quantizers()
262 void vp9_update_zbin_extra(VP9_COMP *cpi, MACROBLOCK *x) { in vp9_update_zbin_extra()
274 void vp9_frame_init_quantizer(VP9_COMP *cpi) { in vp9_frame_init_quantizer()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Donyx_if.c216 static void save_layer_context(VP8_COMP *cpi) in save_layer_context()
254 static void restore_layer_context(VP8_COMP *cpi, const int layer) in restore_layer_context()
301 static void init_temporal_layer_context(VP8_COMP *cpi, in init_temporal_layer_context()
361 static void reset_temporal_layer_change(VP8_COMP *cpi, in reset_temporal_layer_change()
411 static void setup_features(VP8_COMP *cpi) in setup_features()
440 static void dealloc_compressor_data(VP8_COMP *cpi) in dealloc_compressor_data()
488 static void enable_segmentation(VP8_COMP *cpi) in enable_segmentation()
495 static void disable_segmentation(VP8_COMP *cpi) in disable_segmentation()
504 static void set_segmentation_map(VP8_COMP *cpi, unsigned char *segmentation_map) in set_segmentation_map()
526 static void set_segment_data(VP8_COMP *cpi, signed char *feature_data, unsigned char abs_delta) in set_segment_data()
[all …]
Dratectrl.c216 void vp8_save_coding_context(VP8_COMP *cpi) in vp8_save_coding_context()
255 void vp8_restore_coding_context(VP8_COMP *cpi) in vp8_restore_coding_context()
293 void vp8_setup_key_frame(VP8_COMP *cpi) in vp8_setup_key_frame()
341 static void calc_iframe_target_size(VP8_COMP *cpi) in calc_iframe_target_size()
440 static void calc_gf_params(VP8_COMP *cpi) in calc_gf_params()
606 static void calc_pframe_target_size(VP8_COMP *cpi) in calc_pframe_target_size()
1101 void vp8_update_rate_correction_factors(VP8_COMP *cpi, int damp_var) in vp8_update_rate_correction_factors()
1208 int vp8_regulate_q(VP8_COMP *cpi, int target_bits_per_frame) in vp8_regulate_q()
1353 static int estimate_keyframe_frequency(VP8_COMP *cpi) in estimate_keyframe_frequency()
1410 void vp8_adjust_key_frame_context(VP8_COMP *cpi) in vp8_adjust_key_frame_context()
[all …]
Dencodeframe.c81 static unsigned int tt_activity_measure( VP8_COMP *cpi, MACROBLOCK *x ) in tt_activity_measure()
105 static unsigned int alt_activity_measure( VP8_COMP *cpi, in alt_activity_measure()
116 static unsigned int mb_activity_measure( VP8_COMP *cpi, MACROBLOCK *x, in mb_activity_measure()
142 static void calc_av_activity( VP8_COMP *cpi, int64_t activity_sum ) in calc_av_activity()
205 static void calc_activity_index( VP8_COMP *cpi, MACROBLOCK *x ) in calc_activity_index()
263 static void build_activity_map( VP8_COMP *cpi ) in build_activity_map()
337 void vp8_activity_masking(VP8_COMP *cpi, MACROBLOCK *x) in vp8_activity_masking()
362 void encode_mb_row(VP8_COMP *cpi, in encode_mb_row()
607 static void init_encode_frame_mb_context(VP8_COMP *cpi) in init_encode_frame_mb_context()
714 void vp8_encode_frame(VP8_COMP *cpi) in vp8_encode_frame()
[all …]
Dfirstpass.c82 static void reset_fpf_position(VP8_COMP *cpi, FIRSTPASS_STATS *Position) in reset_fpf_position()
87 static int lookup_next_frame_stats(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame) in lookup_next_frame_stats()
97 static int read_frame_stats( VP8_COMP *cpi, in read_frame_stats()
119 static int input_stats(VP8_COMP *cpi, FIRSTPASS_STATS *fps) in input_stats()
130 static void output_stats(const VP8_COMP *cpi, in output_stats()
264 static double calculate_modified_err(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) in calculate_modified_err()
344 static int frame_max_bits(VP8_COMP *cpi) in frame_max_bits()
395 void vp8_init_first_pass(VP8_COMP *cpi) in vp8_init_first_pass()
400 void vp8_end_first_pass(VP8_COMP *cpi) in vp8_end_first_pass()
405 static void zz_motion_search( VP8_COMP *cpi, MACROBLOCK * x, in zz_motion_search()
[all …]
Dtokenize.c107 VP8_COMP *cpi in tokenize2nd_order_b()
196 VP8_COMP *cpi in tokenize1st_order_b()
383 void vp8_tokenize_mb(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t) in vp8_tokenize_mb()
499 VP8_COMP *cpi, in stuff2nd_order_b()
524 VP8_COMP *cpi, in stuff1st_order_b()
549 VP8_COMP *cpi, in stuff1st_order_buv()
567 void vp8_stuff_mb(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t) in vp8_stuff_mb()
Dpicklpf.c99 static int get_min_filter_level(VP8_COMP *cpi, int base_qindex) in get_min_filter_level()
120 static int get_max_filter_level(VP8_COMP *cpi, int base_qindex) in get_max_filter_level()
136 void vp8cx_pick_filter_level_fast(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) in vp8cx_pick_filter_level_fast()
255 void vp8cx_set_alt_lf_level(VP8_COMP *cpi, int filt_val) in vp8cx_set_alt_lf_level()
266 void vp8cx_pick_filter_level(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) in vp8cx_pick_filter_level()
Dethreading.c26 VP8_COMP *cpi = (VP8_COMP *)(((LPFTHREAD_DATA *)p_data)->ptr1); in thread_loopfilter() local
52 VP8_COMP *cpi = (VP8_COMP *)(((ENCODETHREAD_DATA *)p_data)->ptr1); in thread_encoding_proc() local
435 void vp8cx_init_mbrthread_data(VP8_COMP *cpi, in vp8cx_init_mbrthread_data()
497 int vp8cx_create_encoder_threads(VP8_COMP *cpi) in vp8cx_create_encoder_threads()
623 void vp8cx_remove_encoder_threads(VP8_COMP *cpi) in vp8cx_remove_encoder_threads()
Dmr_dissim.c19 void vp8_cal_low_res_mb_cols(VP8_COMP *cpi) in vp8_cal_low_res_mb_cols()
53 void vp8_cal_dissimilarity(VP8_COMP *cpi) in vp8_cal_dissimilarity()
217 void vp8_store_drop_frame_info(VP8_COMP *cpi) in vp8_store_drop_frame_info()
Dbitstream.c109 static void update_mbintra_mode_probs(VP8_COMP *cpi) in update_mbintra_mode_probs()
378 static void pack_tokens_into_partitions_c(VP8_COMP *cpi, unsigned char *cx_data, in pack_tokens_into_partitions_c()
411 static void pack_mb_row_tokens_c(VP8_COMP *cpi, vp8_writer *w) in pack_mb_row_tokens_c()
494 void vp8_convert_rfct_to_prob(VP8_COMP *const cpi) in vp8_convert_rfct_to_prob()
517 static void pack_inter_mode_mvs(VP8_COMP *const cpi) in pack_inter_mode_mvs()
719 static void write_kfmodes(VP8_COMP *cpi) in write_kfmodes()
852 static int independent_coef_context_savings(VP8_COMP *cpi) in independent_coef_context_savings()
928 static int default_coef_context_savings(VP8_COMP *cpi) in default_coef_context_savings()
1001 int vp8_estimate_entropy_savings(VP8_COMP *cpi) in vp8_estimate_entropy_savings()
1057 int vp8_update_coef_context(VP8_COMP *cpi) in vp8_update_coef_context()
[all …]
Dquantize.c434 void vp8cx_init_quantizer(VP8_COMP *cpi) in vp8cx_init_quantizer()
530 void vp8cx_init_quantizer(VP8_COMP *cpi) in vp8cx_init_quantizer()
610 void vp8cx_mb_init_quantizer(VP8_COMP *cpi, MACROBLOCK *x, int ok_to_skip) in vp8cx_mb_init_quantizer()
742 void vp8_update_zbin_extra(VP8_COMP *cpi, MACROBLOCK *x) in vp8_update_zbin_extra()
768 void vp8cx_frame_init_quantizer(VP8_COMP *cpi) in vp8cx_frame_init_quantizer()
778 void vp8_set_quantizer(struct VP8_COMP *cpi, int Q) in vp8_set_quantizer()
Drdopt.h88 static void get_predictor_pointers(const VP8_COMP *cpi, in get_predictor_pointers()
107 static void get_reference_search_order(const VP8_COMP *cpi, in get_reference_search_order()

12