Home
last modified time | relevance | path

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

123

/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c22 void vp9_init_layer_context(VP9_COMP *const cpi) { in vp9_init_layer_context()
149 void vp9_update_layer_context_change_config(VP9_COMP *const cpi, in vp9_update_layer_context_change_config()
236 static LAYER_CONTEXT *get_layer_context(VP9_COMP *const cpi) { in get_layer_context()
247 void vp9_update_temporal_layer_framerate(VP9_COMP *const cpi) { in vp9_update_temporal_layer_framerate()
274 void vp9_update_spatial_layer_framerate(VP9_COMP *const cpi, double framerate) { in vp9_update_spatial_layer_framerate()
289 void vp9_restore_layer_context(VP9_COMP *const cpi) { in vp9_restore_layer_context()
329 void vp9_save_layer_context(VP9_COMP *const cpi) { in vp9_save_layer_context()
357 void vp9_init_second_pass_spatial_svc(VP9_COMP *cpi) { in vp9_init_second_pass_spatial_svc()
374 void vp9_inc_frame_in_layer(VP9_COMP *const cpi) { in vp9_inc_frame_in_layer()
384 int vp9_is_upper_layer_key_frame(const VP9_COMP *const cpi) { in vp9_is_upper_layer_key_frame()
[all …]
Dvp9_encoder.c96 static int is_spatial_denoise_enabled(VP9_COMP *cpi) { in is_spatial_denoise_enabled()
106 static int compute_context_model_thresh(const VP9_COMP *const cpi) { in compute_context_model_thresh()
431 static int is_psnr_calc_enabled(VP9_COMP *cpi) { in is_psnr_calc_enabled()
500 static void suppress_active_map(VP9_COMP *cpi) { in suppress_active_map()
514 static void apply_active_map(VP9_COMP *cpi) { in apply_active_map()
586 int vp9_set_active_map(VP9_COMP *cpi, unsigned char *new_map_16x16, int rows, in vp9_set_active_map()
613 int vp9_get_active_map(VP9_COMP *cpi, unsigned char *new_map_16x16, int rows, in vp9_get_active_map()
638 void vp9_set_high_precision_mv(VP9_COMP *cpi, int allow_high_precision_mv) { in vp9_set_high_precision_mv()
650 static void setup_frame(VP9_COMP *cpi) { in setup_frame()
753 static void dealloc_compressor_data(VP9_COMP *cpi) { in dealloc_compressor_data()
[all …]
Dvp9_speed_features.c34 static int frame_is_boosted(const VP9_COMP *cpi) { in frame_is_boosted()
60 static void set_good_speed_feature_framesize_dependent(VP9_COMP *cpi, in set_good_speed_feature_framesize_dependent()
156 static void set_good_speed_feature_framesize_independent(VP9_COMP *cpi, in set_good_speed_feature_framesize_independent()
320 static void set_rt_speed_feature_framesize_dependent(VP9_COMP *cpi, in set_rt_speed_feature_framesize_dependent()
359 VP9_COMP *cpi, SPEED_FEATURES *sf, int speed, vp9e_tune_content content) { in set_rt_speed_feature_framesize_independent()
671 void vp9_set_speed_features_framesize_dependent(VP9_COMP *cpi) { in vp9_set_speed_features_framesize_dependent()
721 void vp9_set_speed_features_framesize_independent(VP9_COMP *cpi) { in vp9_set_speed_features_framesize_independent()
Dvp9_ratectrl.c210 int vp9_rc_clamp_pframe_target_size(const VP9_COMP *const cpi, int target) { in vp9_rc_clamp_pframe_target_size()
238 int vp9_rc_clamp_iframe_target_size(const VP9_COMP *const cpi, int target) { in vp9_rc_clamp_iframe_target_size()
272 static void update_buffer_level(VP9_COMP *cpi, int encoded_frame_size) { in update_buffer_level()
393 int vp9_rc_drop_frame(VP9_COMP *cpi) { in vp9_rc_drop_frame()
430 static double get_rate_correction_factor(const VP9_COMP *cpi) { in get_rate_correction_factor()
452 static void set_rate_correction_factor(VP9_COMP *cpi, double factor) { in set_rate_correction_factor()
476 void vp9_rc_update_rate_correction_factors(VP9_COMP *cpi) { in vp9_rc_update_rate_correction_factors()
549 int vp9_rc_regulate_q(const VP9_COMP *cpi, int target_bits_per_frame, in vp9_rc_regulate_q()
636 static int calc_active_worst_quality_one_pass_vbr(const VP9_COMP *cpi) { in calc_active_worst_quality_one_pass_vbr()
662 static int calc_active_worst_quality_one_pass_cbr(const VP9_COMP *cpi) { in calc_active_worst_quality_one_pass_cbr()
[all …]
Dvp9_picklpf.c27 static int get_max_filter_level(const VP9_COMP *cpi) { in get_max_filter_level()
37 VP9_COMP *const cpi, int filt_level, in try_filter_frame()
68 static int search_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi, in search_filter_level()
148 void vp9_pick_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi, in vp9_pick_filter_level()
Dvp9_aq_cyclicrefresh.c78 static int compute_deltaq(const VP9_COMP *cpi, int q, double rate_factor) { in compute_deltaq()
93 int vp9_cyclic_refresh_estimate_bits_at_q(const VP9_COMP *cpi, in vp9_cyclic_refresh_estimate_bits_at_q()
125 int vp9_cyclic_refresh_rc_bits_per_mb(const VP9_COMP *cpi, int i, in vp9_cyclic_refresh_rc_bits_per_mb()
148 void vp9_cyclic_refresh_update_segment(VP9_COMP *const cpi, MODE_INFO *const mi, in vp9_cyclic_refresh_update_segment()
211 void vp9_cyclic_refresh_update_sb_postencode(VP9_COMP *const cpi, in vp9_cyclic_refresh_update_sb_postencode()
247 void vp9_cyclic_refresh_postencode(VP9_COMP *const cpi) { in vp9_cyclic_refresh_postencode()
306 void vp9_cyclic_refresh_set_golden_update(VP9_COMP *const cpi) { in vp9_cyclic_refresh_set_golden_update()
327 static void cyclic_refresh_update_map(VP9_COMP *const cpi) { in cyclic_refresh_update_map()
420 void vp9_cyclic_refresh_update_parameters(VP9_COMP *const cpi) { in vp9_cyclic_refresh_update_parameters()
499 void vp9_cyclic_refresh_setup(VP9_COMP *const cpi) { in vp9_cyclic_refresh_setup()
[all …]
Dvp9_alt_ref_aq.c37 struct VP9_COMP *const cpi) { in vp9_alt_ref_aq_setup_mode()
44 struct VP9_COMP *const cpi) { in vp9_alt_ref_aq_setup_map()
51 struct VP9_COMP *const cpi) { in vp9_alt_ref_aq_unset_all()
Dvp9_mbgraph.c25 static unsigned int do_16x16_motion_iteration(VP9_COMP *cpi, const MV *ref_mv, in do_16x16_motion_iteration()
76 static int do_16x16_motion_search(VP9_COMP *cpi, const MV *ref_mv, in do_16x16_motion_search()
114 static int do_16x16_zerozero_search(VP9_COMP *cpi, int_mv *dst_mv) { in do_16x16_zerozero_search()
128 static int find_best_16x16_intra(VP9_COMP *cpi, PREDICTION_MODE *pbest_mode) { in find_best_16x16_intra()
158 static void update_mbgraph_mb_stats(VP9_COMP *cpi, MBGRAPH_MB_STATS *stats, in update_mbgraph_mb_stats()
211 static void update_mbgraph_frame_stats(VP9_COMP *cpi, in update_mbgraph_frame_stats()
287 static void separate_arf_mbs(VP9_COMP *cpi) { in separate_arf_mbs()
364 void vp9_update_mbgraph_stats(VP9_COMP *cpi) { in vp9_update_mbgraph_stats()
Dvp9_ethread.c40 VP9_COMP *const cpi = thread_data->cpi; in enc_worker_hook() local
59 static int get_max_tile_cols(VP9_COMP *cpi) { in get_max_tile_cols()
78 static void create_enc_workers(VP9_COMP *cpi, int num_workers) { in create_enc_workers()
139 static void launch_enc_workers(VP9_COMP *cpi, VPxWorkerHook hook, void *data2, in launch_enc_workers()
172 void vp9_encode_tiles_mt(VP9_COMP *cpi) { in vp9_encode_tiles_mt()
395 VP9_COMP *const cpi = thread_data->cpi; in first_pass_worker_hook() local
436 void vp9_encode_fp_row_mt(VP9_COMP *cpi) { in vp9_encode_fp_row_mt()
485 VP9_COMP *const cpi = thread_data->cpi; in temporal_filter_worker_hook() local
522 void vp9_temporal_filter_row_mt(VP9_COMP *cpi) { in vp9_temporal_filter_row_mt()
563 VP9_COMP *const cpi = thread_data->cpi; in enc_row_mt_worker_hook() local
[all …]
Dvp9_firstpass.c227 static double calculate_active_area(const VP9_COMP *cpi, in calculate_active_area()
239 static double get_distribution_av_err(VP9_COMP *cpi, TWO_PASS *const twopass) { in get_distribution_av_err()
253 static double calculate_mod_frame_score(const VP9_COMP *cpi, in calculate_mod_frame_score()
273 static double calculate_norm_frame_score(const VP9_COMP *cpi, in calculate_norm_frame_score()
314 void vp9_init_first_pass(VP9_COMP *cpi) { in vp9_init_first_pass()
318 void vp9_end_first_pass(VP9_COMP *cpi) { in vp9_end_first_pass()
395 static int get_search_range(const VP9_COMP *cpi) { in get_search_range()
403 static void first_pass_motion_search(VP9_COMP *cpi, MACROBLOCK *x, in first_pass_motion_search()
486 static void set_first_pass_params(VP9_COMP *cpi) { in set_first_pass_params()
693 static void accumulate_floating_point_stats(VP9_COMP *cpi, in accumulate_floating_point_stats()
[all …]
Dvp9_rd.c68 static void fill_mode_costs(VP9_COMP *cpi) { in fill_mode_costs()
149 int64_t vp9_compute_rd_mult_based_on_qindex(const VP9_COMP *cpi, int qindex) { in vp9_compute_rd_mult_based_on_qindex()
167 int vp9_compute_rd_mult(const VP9_COMP *cpi, int qindex) { in vp9_compute_rd_mult()
201 void vp9_initialize_me_consts(VP9_COMP *cpi, MACROBLOCK *x, int qindex) { in vp9_initialize_me_consts()
258 void vp9_initialize_rd_consts(VP9_COMP *cpi) { in vp9_initialize_rd_consts()
484 void vp9_mv_pred(VP9_COMP *cpi, MACROBLOCK *x, uint8_t *ref_y_buffer, in vp9_mv_pred()
571 YV12_BUFFER_CONFIG *vp9_get_scaled_ref_frame(const VP9_COMP *cpi, in vp9_get_scaled_ref_frame()
581 int vp9_get_switchable_rate(const VP9_COMP *cpi, const MACROBLOCKD *const xd) { in vp9_get_switchable_rate()
588 void vp9_set_rd_speed_thresholds(VP9_COMP *cpi) { in vp9_set_rd_speed_thresholds()
642 void vp9_set_rd_speed_thresholds_sub8x8(VP9_COMP *cpi) { in vp9_set_rd_speed_thresholds_sub8x8()
[all …]
Dvp9_encodeframe.c128 unsigned int vp9_get_sby_variance(VP9_COMP *cpi, const struct buf_2d *ref, in vp9_get_sby_variance()
137 unsigned int vp9_high_get_sby_variance(VP9_COMP *cpi, const struct buf_2d *ref, in vp9_high_get_sby_variance()
162 unsigned int vp9_get_sby_perpixel_variance(VP9_COMP *cpi, in vp9_get_sby_perpixel_variance()
170 unsigned int vp9_high_get_sby_perpixel_variance(VP9_COMP *cpi, in vp9_high_get_sby_perpixel_variance()
179 static unsigned int get_sby_perpixel_diff_variance(VP9_COMP *cpi, in get_sby_perpixel_diff_variance()
194 static BLOCK_SIZE get_rd_var_based_fixed_partition(VP9_COMP *cpi, MACROBLOCK *x, in get_rd_var_based_fixed_partition()
220 static void set_offsets(VP9_COMP *cpi, const TileInfo *const tile, in set_offsets()
294 static void set_block_size(VP9_COMP *const cpi, MACROBLOCK *const x, in set_block_size()
433 static int set_vt_partitioning(VP9_COMP *cpi, MACROBLOCK *const x, in set_vt_partitioning()
534 static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q, in set_vbp_thresholds()
[all …]
Dvp9_bitstream.c234 VP9_COMP *cpi, const MACROBLOCKD *const xd, in pack_inter_mode_mvs()
371 VP9_COMP *cpi, MACROBLOCKD *const xd, const TileInfo *const tile, in write_modes_b()
420 VP9_COMP *cpi, MACROBLOCKD *const xd, const TileInfo *const tile, in write_modes_sb()
483 VP9_COMP *cpi, MACROBLOCKD *const xd, const TileInfo *const tile, in write_modes()
511 static void build_tree_distribution(VP9_COMP *cpi, TX_SIZE tx_size, in build_tree_distribution()
538 static void update_coef_probs_common(vpx_writer *const bc, VP9_COMP *cpi, in update_coef_probs_common()
677 static void update_coef_probs(VP9_COMP *cpi, vpx_writer *w) { in update_coef_probs()
896 int vp9_get_refresh_mask(VP9_COMP *cpi) { in vp9_get_refresh_mask()
923 VP9_COMP *cpi = (VP9_COMP *)arg1; in encode_tile_worker() local
935 void vp9_bitstream_encode_tiles_buffer_dealloc(VP9_COMP *const cpi) { in vp9_bitstream_encode_tiles_buffer_dealloc()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c195 static void save_layer_context(VP8_COMP *cpi) { in save_layer_context()
232 static void restore_layer_context(VP8_COMP *cpi, const int layer) { in restore_layer_context()
277 static void init_temporal_layer_context(VP8_COMP *cpi, VP8_CONFIG *oxcf, in init_temporal_layer_context()
335 static void reset_temporal_layer_change(VP8_COMP *cpi, VP8_CONFIG *oxcf, in reset_temporal_layer_change()
378 static void setup_features(VP8_COMP *cpi) { in setup_features()
412 static void dealloc_compressor_data(VP8_COMP *cpi) { in dealloc_compressor_data()
459 static void enable_segmentation(VP8_COMP *cpi) { in enable_segmentation()
465 static void disable_segmentation(VP8_COMP *cpi) { in disable_segmentation()
473 static void set_segmentation_map(VP8_COMP *cpi, in set_segmentation_map()
496 static void set_segment_data(VP8_COMP *cpi, signed char *feature_data, in set_segment_data()
[all …]
Dratectrl.c175 void vp8_save_coding_context(VP8_COMP *cpi) { in vp8_save_coding_context()
211 void vp8_restore_coding_context(VP8_COMP *cpi) { in vp8_restore_coding_context()
246 void vp8_setup_key_frame(VP8_COMP *cpi) { in vp8_setup_key_frame()
294 static void calc_iframe_target_size(VP8_COMP *cpi) { in calc_iframe_target_size()
381 static void calc_gf_params(VP8_COMP *cpi) { in calc_gf_params()
542 static void calc_pframe_target_size(VP8_COMP *cpi) { in calc_pframe_target_size()
1027 void vp8_update_rate_correction_factors(VP8_COMP *cpi, int damp_var) { in vp8_update_rate_correction_factors()
1129 int vp8_regulate_q(VP8_COMP *cpi, int target_bits_per_frame) { in vp8_regulate_q()
1271 static int estimate_keyframe_frequency(VP8_COMP *cpi) { in estimate_keyframe_frequency()
1321 void vp8_adjust_key_frame_context(VP8_COMP *cpi) { in vp8_adjust_key_frame_context()
[all …]
Dencodeframe.c72 static unsigned int tt_activity_measure(VP8_COMP *cpi, MACROBLOCK *x) { in tt_activity_measure()
94 static unsigned int alt_activity_measure(VP8_COMP *cpi, MACROBLOCK *x, in alt_activity_measure()
103 static unsigned int mb_activity_measure(VP8_COMP *cpi, MACROBLOCK *x, in mb_activity_measure()
124 static void calc_av_activity(VP8_COMP *cpi, int64_t activity_sum) { in calc_av_activity()
181 static void calc_activity_index(VP8_COMP *cpi, MACROBLOCK *x) { in calc_activity_index()
234 static void build_activity_map(VP8_COMP *cpi) { in build_activity_map()
302 void vp8_activity_masking(VP8_COMP *cpi, MACROBLOCK *x) { in vp8_activity_masking()
325 static void encode_mb_row(VP8_COMP *cpi, VP8_COMMON *cm, int mb_row, in encode_mb_row()
575 static void init_encode_frame_mb_context(VP8_COMP *cpi) { in init_encode_frame_mb_context()
666 void vp8_encode_frame(VP8_COMP *cpi) { in vp8_encode_frame()
[all …]
Dfirstpass.c80 static void reset_fpf_position(VP8_COMP *cpi, FIRSTPASS_STATS *Position) { in reset_fpf_position()
84 static int lookup_next_frame_stats(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame) { in lookup_next_frame_stats()
92 static int read_frame_stats(VP8_COMP *cpi, FIRSTPASS_STATS *frame_stats, in read_frame_stats()
107 static int input_stats(VP8_COMP *cpi, FIRSTPASS_STATS *fps) { in input_stats()
116 static void output_stats(const VP8_COMP *cpi, in output_stats()
234 static double calculate_modified_err(VP8_COMP *cpi, in calculate_modified_err()
316 static int frame_max_bits(VP8_COMP *cpi) { in frame_max_bits()
369 void vp8_init_first_pass(VP8_COMP *cpi) { in vp8_init_first_pass()
373 void vp8_end_first_pass(VP8_COMP *cpi) { in vp8_end_first_pass()
377 static void zz_motion_search(VP8_COMP *cpi, MACROBLOCK *x, in zz_motion_search()
[all …]
Dpicklpf.c95 static int get_min_filter_level(VP8_COMP *cpi, int base_qindex) { in get_min_filter_level()
115 static int get_max_filter_level(VP8_COMP *cpi, int base_qindex) { in get_max_filter_level()
131 void vp8cx_pick_filter_level_fast(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) { in vp8cx_pick_filter_level_fast()
243 void vp8cx_set_alt_lf_level(VP8_COMP *cpi, int filt_val) { in vp8cx_set_alt_lf_level()
257 void vp8cx_pick_filter_level(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) { in vp8cx_pick_filter_level()
Dethreading.c25 VP8_COMP *cpi = (VP8_COMP *)(((LPFTHREAD_DATA *)p_data)->ptr1); in thread_loopfilter() local
46 VP8_COMP *cpi = (VP8_COMP *)(((ENCODETHREAD_DATA *)p_data)->ptr1); in thread_encoding_proc() local
435 void vp8cx_init_mbrthread_data(VP8_COMP *cpi, MACROBLOCK *x, in vp8cx_init_mbrthread_data()
488 int vp8cx_create_encoder_threads(VP8_COMP *cpi) { in vp8cx_create_encoder_threads()
607 void vp8cx_remove_encoder_threads(VP8_COMP *cpi) { in vp8cx_remove_encoder_threads()
Dtokenize.c105 static void tokenize2nd_order_b(MACROBLOCK *x, TOKENEXTRA **tp, VP8_COMP *cpi) { in tokenize2nd_order_b()
186 VP8_COMP *cpi) { in tokenize1st_order_b()
357 void vp8_tokenize_mb(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t) { in vp8_tokenize_mb()
453 ENTROPY_CONTEXT *l, VP8_COMP *cpi, MACROBLOCK *x) { in stuff2nd_order_b()
470 ENTROPY_CONTEXT *l, int type, VP8_COMP *cpi, in stuff1st_order_b()
488 ENTROPY_CONTEXT *l, VP8_COMP *cpi, in stuff1st_order_buv()
504 void vp8_stuff_mb(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t) { in vp8_stuff_mb()
Dmr_dissim.c20 void vp8_cal_low_res_mb_cols(VP8_COMP *cpi) { in vp8_cal_low_res_mb_cols()
50 void vp8_cal_dissimilarity(VP8_COMP *cpi) { in vp8_cal_dissimilarity()
198 void vp8_store_drop_frame_info(VP8_COMP *cpi) { in vp8_store_drop_frame_info()
Dvp8_quantize.c182 void vp8cx_init_quantizer(VP8_COMP *cpi) { in vp8cx_init_quantizer()
290 void vp8cx_mb_init_quantizer(VP8_COMP *cpi, MACROBLOCK *x, int ok_to_skip) { in vp8cx_mb_init_quantizer()
409 void vp8_update_zbin_extra(VP8_COMP *cpi, MACROBLOCK *x) { in vp8_update_zbin_extra()
432 void vp8cx_frame_init_quantizer(VP8_COMP *cpi) { in vp8cx_frame_init_quantizer()
440 void vp8_set_quantizer(struct VP8_COMP *cpi, int Q) { in vp8_set_quantizer()
Dbitstream.c85 static void update_mbintra_mode_probs(VP8_COMP *cpi) { in update_mbintra_mode_probs()
298 static void pack_tokens_into_partitions(VP8_COMP *cpi, unsigned char *cx_data, in pack_tokens_into_partitions()
327 static void pack_mb_row_tokens(VP8_COMP *cpi, vp8_writer *w) { in pack_mb_row_tokens()
393 void vp8_convert_rfct_to_prob(VP8_COMP *const cpi) { in vp8_convert_rfct_to_prob()
416 static void pack_inter_mode_mvs(VP8_COMP *const cpi) { in pack_inter_mode_mvs()
598 static void write_kfmodes(VP8_COMP *cpi) { in write_kfmodes()
717 static int independent_coef_context_savings(VP8_COMP *cpi) { in independent_coef_context_savings()
781 static int default_coef_context_savings(VP8_COMP *cpi) { in default_coef_context_savings()
836 int vp8_estimate_entropy_savings(VP8_COMP *cpi) { in vp8_estimate_entropy_savings()
887 int vp8_update_coef_context(VP8_COMP *cpi) { in vp8_update_coef_context()
[all …]
/external/turbine/java/com/google/turbine/binder/lookup/
DWildImportIndex.java45 final TopLevelIndex cpi, in create()
69 TopLevelIndex cpi, in onDemandImport()
DImportIndex.java60 final TopLevelIndex cpi, in create()
102 SourceFile source, TopLevelIndex cpi, ImportDecl i, CanonicalSymbolResolver resolve) { in namedImport()

123