/external/libvpx/vp9/common/ |
D | vp9_pred_common.h | 22 static INLINE int get_segment_id(const VP9_COMMON *cm, in get_segment_id() 63 static INLINE vpx_prob vp9_get_skip_prob(const VP9_COMMON *cm, in vp9_get_skip_prob() 113 static INLINE vpx_prob vp9_get_intra_inter_prob(const VP9_COMMON *cm, in vp9_get_intra_inter_prob() 118 int vp9_get_reference_mode_context(const VP9_COMMON *cm, const MACROBLOCKD *xd); 120 static INLINE vpx_prob vp9_get_reference_mode_prob(const VP9_COMMON *cm, in vp9_get_reference_mode_prob() 125 int vp9_get_pred_context_comp_ref_p(const VP9_COMMON *cm, 128 static INLINE vpx_prob vp9_get_pred_prob_comp_ref_p(const VP9_COMMON *cm, in vp9_get_pred_prob_comp_ref_p() 136 static INLINE vpx_prob vp9_get_pred_prob_single_ref_p1(const VP9_COMMON *cm, in vp9_get_pred_prob_single_ref_p1() 143 static INLINE vpx_prob vp9_get_pred_prob_single_ref_p2(const VP9_COMMON *cm, in vp9_get_pred_prob_single_ref_p2() 148 int vp9_compound_reference_allowed(const VP9_COMMON *cm); [all …]
|
D | vp9_alloccommon.c | 36 void vp9_set_mb_mi(VP9_COMMON *cm, int width, int height) { in vp9_set_mb_mi() 42 static int alloc_seg_map(VP9_COMMON *cm, int seg_map_size) { in alloc_seg_map() 61 static void free_seg_map(VP9_COMMON *cm) { in free_seg_map() 91 void vp9_free_postproc_buffers(VP9_COMMON *cm) { in vp9_free_postproc_buffers() 104 void vp9_free_context_buffers(VP9_COMMON *cm) { in vp9_free_context_buffers() 115 int vp9_alloc_loop_filter(VP9_COMMON *cm) { in vp9_alloc_loop_filter() 127 int vp9_alloc_context_buffers(VP9_COMMON *cm, int width, int height) { in vp9_alloc_context_buffers() 168 void vp9_remove_common(VP9_COMMON *cm) { in vp9_remove_common() 180 void vp9_init_context_buffers(VP9_COMMON *cm) { in vp9_init_context_buffers() 186 void vp9_swap_current_and_last_seg_map(VP9_COMMON *cm) { in vp9_swap_current_and_last_seg_map()
|
D | vp9_onyxc_int.h | 271 } VP9_COMMON; typedef 273 static INLINE void init_frame_indexes(VP9_COMMON *cm) { in init_frame_indexes() 278 static INLINE void update_frame_indexes(VP9_COMMON *cm, int show_frame) { in update_frame_indexes() 301 const VP9_COMMON *cm) { in init_frame_info() 315 static INLINE YV12_BUFFER_CONFIG *get_buf_frame(VP9_COMMON *cm, int index) { in get_buf_frame() 321 static INLINE YV12_BUFFER_CONFIG *get_ref_frame(VP9_COMMON *cm, int index) { in get_ref_frame() 328 static INLINE YV12_BUFFER_CONFIG *get_frame_new_buffer(VP9_COMMON *cm) { in get_frame_new_buffer() 332 static INLINE int get_free_fb(VP9_COMMON *cm) { in get_free_fb() 364 static INLINE int frame_is_intra_only(const VP9_COMMON *const cm) { in frame_is_intra_only() 368 static INLINE void set_partition_probs(const VP9_COMMON *const cm, in set_partition_probs() [all …]
|
D | vp9_tile_common.c | 24 void vp9_tile_set_row(TileInfo *tile, const VP9_COMMON *cm, int row) { in vp9_tile_set_row() 29 void vp9_tile_set_col(TileInfo *tile, const VP9_COMMON *cm, int col) { in vp9_tile_set_col() 34 void vp9_tile_init(TileInfo *tile, const VP9_COMMON *cm, int row, int col) { in vp9_tile_init()
|
D | vp9_debugmodes.c | 16 static void log_frame_info(VP9_COMMON *cm, const char *str, FILE *f) { in log_frame_info() 25 static void print_mi_data(VP9_COMMON *cm, FILE *file, const char *descriptor, in print_mi_data() 46 void vp9_print_modes_and_motion_vectors(VP9_COMMON *cm, const char *file) { in vp9_print_modes_and_motion_vectors()
|
D | vp9_entropy.c | 1041 void vp9_default_coef_probs(VP9_COMMON *cm) { in vp9_default_coef_probs() 1055 static void adapt_coef_probs(VP9_COMMON *cm, TX_SIZE tx_size, in adapt_coef_probs() 1084 void vp9_adapt_coef_probs(VP9_COMMON *cm) { in vp9_adapt_coef_probs()
|
D | vp9_pred_common.c | 16 int vp9_compound_reference_allowed(const VP9_COMMON *cm) { in vp9_compound_reference_allowed() 24 void vp9_setup_compound_reference_mode(VP9_COMMON *cm) { in vp9_setup_compound_reference_mode() 42 int vp9_get_reference_mode_context(const VP9_COMMON *cm, in vp9_get_reference_mode_context() 85 int vp9_get_pred_context_comp_ref_p(const VP9_COMMON *cm, in vp9_get_pred_context_comp_ref_p()
|
D | vp9_mvref_common.c | 16 static void find_mv_refs_idx(const VP9_COMMON *cm, const MACROBLOCKD *xd, in find_mv_refs_idx() 133 void vp9_find_mv_refs(const VP9_COMMON *cm, const MACROBLOCKD *xd, in vp9_find_mv_refs() 153 void vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *cm, MACROBLOCKD *xd, int block, in vp9_append_sub8x8_mvs_for_idx()
|
D | vp9_thread_common.c | 91 const YV12_BUFFER_CONFIG *const frame_buffer, VP9_COMMON *const cm, in thread_loop_filter_rows() 157 static void loop_filter_rows_mt(YV12_BUFFER_CONFIG *frame, VP9_COMMON *cm, in loop_filter_rows_mt() 219 void vp9_loop_filter_frame_mt(YV12_BUFFER_CONFIG *frame, VP9_COMMON *cm, in vp9_loop_filter_frame_mt() 242 void vp9_lpf_mt_init(VP9LfSync *lf_sync, VP9_COMMON *cm, int frame_filter_level, in vp9_lpf_mt_init() 279 void vp9_loop_filter_alloc(VP9LfSync *lf_sync, VP9_COMMON *cm, int rows, in vp9_loop_filter_alloc() 391 static int get_next_row(VP9_COMMON *cm, VP9LfSync *lf_sync) { in get_next_row() 449 VP9_COMMON *cm = lf_data->cm; in vp9_loopfilter_rows()
|
/external/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 31 static PREDICTION_MODE read_intra_mode_y(VP9_COMMON *cm, MACROBLOCKD *xd, in read_intra_mode_y() 40 static PREDICTION_MODE read_intra_mode_uv(VP9_COMMON *cm, MACROBLOCKD *xd, in read_intra_mode_uv() 50 static PREDICTION_MODE read_inter_mode(VP9_COMMON *cm, MACROBLOCKD *xd, in read_inter_mode() 64 static TX_SIZE read_selected_tx_size(VP9_COMMON *cm, MACROBLOCKD *xd, in read_selected_tx_size() 80 static INLINE TX_SIZE read_tx_size(VP9_COMMON *cm, MACROBLOCKD *xd, in read_tx_size() 91 static int dec_get_segment_id(const VP9_COMMON *cm, const uint8_t *segment_ids, in dec_get_segment_id() 104 static void set_segment_id(VP9_COMMON *cm, int mi_offset, int x_mis, int y_mis, in set_segment_id() 115 static void copy_segment_id(const VP9_COMMON *cm, in copy_segment_id() 128 static int read_intra_segment_id(VP9_COMMON *const cm, int mi_offset, int x_mis, in read_intra_segment_id() 146 static int read_inter_segment_id(VP9_COMMON *const cm, MACROBLOCKD *const xd, in read_inter_segment_id() [all …]
|
D | vp9_decoder.c | 51 static void vp9_dec_setup_mi(VP9_COMMON *cm) { in vp9_dec_setup_mi() 59 VP9_COMMON *cm, int num_sbs, int max_threads, in vp9_dec_alloc_row_mt_mem() 146 static int vp9_dec_alloc_mi(VP9_COMMON *cm, int mi_size) { in vp9_dec_alloc_mi() 155 static void vp9_dec_free_mi(VP9_COMMON *cm) { in vp9_dec_free_mi() 170 VP9_COMMON *volatile const cm = pbi ? &pbi->common : NULL; in vp9_decoder_create() 261 VP9_COMMON *cm = &pbi->common; in vp9_copy_reference_dec() 287 vpx_codec_err_t vp9_set_reference_dec(VP9_COMMON *cm, in vp9_set_reference_dec() 336 VP9_COMMON *const cm = &pbi->common; in swap_frame_buffers() 371 VP9_COMMON *volatile const cm = &pbi->common; in release_fb_on_decoder_exit() 409 VP9_COMMON *volatile const cm = &pbi->common; in vp9_receive_compressed_data() [all …]
|
D | vp9_decoder.h | 97 DECLARE_ALIGNED(16, VP9_COMMON, common); 139 vpx_codec_err_t vp9_set_reference_dec(VP9_COMMON *cm, 165 VP9_COMMON *cm, int num_sbs, int max_threads,
|
D | vp9_decodeframe.c | 103 static REFERENCE_MODE read_frame_reference_mode(const VP9_COMMON *cm, in read_frame_reference_mode() 114 static void read_frame_reference_mode_probs(VP9_COMMON *cm, vpx_reader *r) { in read_frame_reference_mode_probs() 803 static MODE_INFO *set_offsets_recon(VP9_COMMON *const cm, MACROBLOCKD *const xd, in set_offsets_recon() 822 static MODE_INFO *set_offsets(VP9_COMMON *const cm, MACROBLOCKD *const xd, in set_offsets() 913 VP9_COMMON *const cm = &pbi->common; in decode_block() 1031 VP9_COMMON *const cm = &pbi->common; in recon_block() 1064 VP9_COMMON *const cm = &pbi->common; in parse_block() 1174 VP9_COMMON *const cm = &pbi->common; in decode_partition() 1231 VP9_COMMON *const cm = &pbi->common; in process_partition() 1412 static void setup_quantization(VP9_COMMON *const cm, MACROBLOCKD *const xd, in setup_quantization() [all …]
|
/external/libvpx/vp9/encoder/ |
D | vp9_bitstream.c | 88 static void write_selected_tx_size(const VP9_COMMON *cm, in write_selected_tx_size() 103 static int write_skip(const VP9_COMMON *cm, const MACROBLOCKD *const xd, in write_skip() 114 static void update_skip_probs(VP9_COMMON *cm, vpx_writer *w, in update_skip_probs() 122 static void update_switchable_interp_probs(VP9_COMMON *cm, vpx_writer *w, in update_switchable_interp_probs() 203 static void write_ref_frames(const VP9_COMMON *cm, const MACROBLOCKD *const xd, in write_ref_frames() 244 VP9_COMMON *const cm = &cpi->common; in pack_inter_mode_mvs() 342 static void write_mb_modes_kf(const VP9_COMMON *cm, const MACROBLOCKD *xd, in write_mb_modes_kf() 382 const VP9_COMMON *const cm = &cpi->common; in write_modes_b() 404 static void write_partition(const VP9_COMMON *const cm, in write_partition() 432 const VP9_COMMON *const cm = &cpi->common; in write_modes_sb() [all …]
|
D | vp9_encoder.h | 669 VP9_COMMON common; 983 VP9_COMMON *const cm = &cpi->common; in partition_info_init() 1011 VP9_COMMON *const cm = &cpi->common; in motion_vector_info_init() 1031 VP9_COMMON *const cm = &cpi->common; in tpl_stats_info_init() 1049 VP9_COMMON *const cm = &cpi->common; in fp_motion_vector_info_init() 1221 const VP9_COMMON *const cm = &cpi->common; in get_ref_frame_buf_idx() 1226 static INLINE RefCntBuffer *get_ref_cnt_buffer(const VP9_COMMON *cm, in get_ref_cnt_buffer() 1233 const VP9_COMMON *const cm = &cpi->common; in get_ref_frame_bufs() 1244 const VP9_COMMON *const cm = &cpi->common; in get_ref_frame_buffer() 1270 VP9_COMMON *const cm = &cpi->common; in get_start_tok() [all …]
|
D | vp9_ethread.c | 43 const VP9_COMMON *const cm = &cpi->common; in enc_worker_hook() 81 VP9_COMMON *const cm = &cpi->common; in create_enc_workers() 195 VP9_COMMON *const cm = &cpi->common; in vp9_encode_tiles_mt() 288 void vp9_row_mt_sync_mem_alloc(VP9RowMTSync *row_mt_sync, VP9_COMMON *cm, in vp9_row_mt_sync_mem_alloc() 419 const VP9_COMMON *const cm = &cpi->common; in first_pass_worker_hook() 460 VP9_COMMON *const cm = &cpi->common; in vp9_encode_fp_row_mt() 510 const VP9_COMMON *const cm = &cpi->common; in temporal_filter_worker_hook() 547 VP9_COMMON *const cm = &cpi->common; in vp9_temporal_filter_row_mt() 589 const VP9_COMMON *const cm = &cpi->common; in enc_row_mt_worker_hook() 620 VP9_COMMON *const cm = &cpi->common; in vp9_encode_tiles_row_mt()
|
D | vp9_aq_cyclicrefresh.c | 107 const VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_estimate_bits_at_q() 139 const VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_rc_bits_per_mb() 164 const VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_update_segment() 228 const VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_update_sb_postencode() 261 VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_postencode() 364 VP9_COMMON *const cm = &cpi->common; in cyclic_refresh_update_map() 480 const VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_update_parameters() 596 VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_setup() 684 const VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_reset_resize()
|
D | vp9_picklpf.c | 49 VP9_COMMON *const cm = &cpi->common; in try_filter_frame() 80 const VP9_COMMON *const cm = &cpi->common; in search_filter_level() 161 VP9_COMMON *const cm = &cpi->common; in vp9_pick_filter_level()
|
D | vp9_denoiser.h | 90 int vp9_denoiser_realloc_svc(VP9_COMMON *cm, VP9_DENOISER *denoiser, 95 int vp9_denoiser_alloc(VP9_COMMON *cm, struct SVC *svc, VP9_DENOISER *denoiser,
|
D | vp9_context_tree.c | 21 static void alloc_mode_context(VP9_COMMON *cm, int num_4x4_blk, in alloc_mode_context() 65 static void alloc_tree_contexts(VP9_COMMON *cm, PC_TREE *tree, in alloc_tree_contexts() 92 void vp9_setup_pc_tree(VP9_COMMON *cm, ThreadData *td) { in vp9_setup_pc_tree()
|
D | vp9_encoder.c | 121 VP9_COMMON *const cm = &cpi->common; in is_spatial_denoise_enabled() 139 const VP9_COMMON *const cm = &cpi->common; in compute_context_model_thresh() 162 static int compute_context_model_diff(const VP9_COMMON *const cm) { in compute_context_model_diff() 465 const VP9_COMMON *const cm = &cpi->common; in is_psnr_calc_enabled() 580 VP9_COMMON *cm = &cpi->common; in apply_roi_map() 696 VP9_COMMON *cm = &cpi->common; in vp9_set_roi_map() 813 VP9_COMMON *const cm = &cpi->common; in setup_frame() 864 static void vp9_enc_setup_mi(VP9_COMMON *cm) { in vp9_enc_setup_mi() 882 static int vp9_enc_alloc_mi(VP9_COMMON *cm, int mi_size) { in vp9_enc_alloc_mi() 898 static void vp9_enc_free_mi(VP9_COMMON *cm) { in vp9_enc_free_mi() [all …]
|
D | vp9_segmentation.c | 65 const VP9_COMMON *cm = &cpi->common; in vp9_perceptual_aq_mode_setup() 158 static void count_segs(const VP9_COMMON *cm, MACROBLOCKD *xd, in count_segs() 195 static void count_segs_sb(const VP9_COMMON *cm, MACROBLOCKD *xd, in count_segs_sb() 242 void vp9_choose_segmap_coding_method(VP9_COMMON *cm, MACROBLOCKD *xd) { in vp9_choose_segmap_coding_method()
|
D | vp9_aq_complexity.c | 48 VP9_COMMON *const cm = &cpi->common; in vp9_setup_in_frame_q_adj() 112 VP9_COMMON *const cm = &cpi->common; in vp9_caq_select_segment()
|
D | vp9_multi_thread.c | 56 VP9_COMMON *const cm = &cpi->common; in vp9_row_mt_alloc_rd_thresh() 174 VP9_COMMON *const cm = &cpi->common; in vp9_multi_thread_tile_init() 231 VP9_COMMON *const cm = &cpi->common; in vp9_prepare_job_queue()
|
/external/libvpx/vp9/ |
D | ratectrl_rtc.cc | 52 VP9_COMMON *cm = &cpi_->common; in InitRateControl() 86 VP9_COMMON *cm = &cpi_->common; in UpdateRateControl() 144 VP9_COMMON *const cm = &cpi_->common; in ComputeQP()
|