/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_alloccommon.c | 20 static void clear_mi_border(const VP9_COMMON *cm, MODE_INFO *mi) { in clear_mi_border() argument 24 vpx_memset(mi, 0, sizeof(*mi) * cm->mi_stride); in clear_mi_border() 27 for (i = 1; i < cm->mi_rows + 1; ++i) in clear_mi_border() 28 vpx_memset(&mi[i * cm->mi_stride], 0, sizeof(*mi)); in clear_mi_border() 31 static void set_mb_mi(VP9_COMMON *cm, int aligned_width, int aligned_height) { in set_mb_mi() argument 32 cm->mi_cols = aligned_width >> MI_SIZE_LOG2; in set_mb_mi() 33 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; in set_mb_mi() 34 cm->mi_stride = cm->mi_cols + MI_BLOCK_SIZE; in set_mb_mi() 36 cm->mb_cols = (cm->mi_cols + 1) >> 1; in set_mb_mi() 37 cm->mb_rows = (cm->mi_rows + 1) >> 1; in set_mb_mi() [all …]
|
D | vp9_debugmodes.c | 16 static void log_frame_info(VP9_COMMON *cm, const char *str, FILE *f) { in log_frame_info() argument 18 fprintf(f, "(Frame %d, Show:%d, Q:%d): \n", cm->current_video_frame, in log_frame_info() 19 cm->show_frame, cm->base_qindex); in log_frame_info() 25 static void print_mi_data(VP9_COMMON *cm, FILE *file, const char *descriptor, in print_mi_data() argument 30 MODE_INFO **mi_8x8 = cm->mi_grid_visible; in print_mi_data() 31 int rows = cm->mi_rows; in print_mi_data() 32 int cols = cm->mi_cols; in print_mi_data() 35 log_frame_info(cm, descriptor, file); in print_mi_data() 50 void vp9_print_modes_and_motion_vectors(VP9_COMMON *cm, const char *file) { in vp9_print_modes_and_motion_vectors() argument 55 MODE_INFO **mi_8x8 = cm->mi_grid_visible; in vp9_print_modes_and_motion_vectors() [all …]
|
D | vp9_entropymode.c | 351 void vp9_adapt_mode_probs(VP9_COMMON *cm) { in vp9_adapt_mode_probs() argument 353 FRAME_CONTEXT *fc = &cm->fc; in vp9_adapt_mode_probs() 354 const FRAME_CONTEXT *pre_fc = &cm->frame_contexts[cm->frame_context_idx]; in vp9_adapt_mode_probs() 355 const FRAME_COUNTS *counts = &cm->counts; in vp9_adapt_mode_probs() 387 if (cm->interp_filter == SWITCHABLE) { in vp9_adapt_mode_probs() 393 if (cm->tx_mode == TX_MODE_SELECT) { in vp9_adapt_mode_probs() 434 void vp9_setup_past_independence(VP9_COMMON *cm) { in vp9_setup_past_independence() argument 437 struct loopfilter *const lf = &cm->lf; in vp9_setup_past_independence() 440 vp9_clearall_segfeatures(&cm->seg); in vp9_setup_past_independence() 441 cm->seg.abs_delta = SEGMENT_DELTADATA; in vp9_setup_past_independence() [all …]
|
D | vp9_onyxc_int.h | 210 static INLINE YV12_BUFFER_CONFIG *get_frame_new_buffer(VP9_COMMON *cm) { in get_frame_new_buffer() argument 211 return &cm->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer() 214 static INLINE int get_free_fb(VP9_COMMON *cm) { in get_free_fb() argument 217 if (cm->frame_bufs[i].ref_count == 0) in get_free_fb() 221 cm->frame_bufs[i].ref_count = 1; in get_free_fb() 240 static INLINE void init_macroblockd(VP9_COMMON *cm, MACROBLOCKD *xd) { in init_macroblockd() argument 245 xd->above_context[i] = cm->above_context + in init_macroblockd() 246 i * sizeof(*cm->above_context) * 2 * mi_cols_aligned_to_sb(cm->mi_cols); in init_macroblockd() 249 xd->above_seg_context = cm->above_seg_context; in init_macroblockd() 250 xd->mi_stride = cm->mi_stride; in init_macroblockd() [all …]
|
D | vp9_pred_common.h | 29 int vp9_get_segment_id(VP9_COMMON *cm, const uint8_t *segment_ids, 55 static INLINE vp9_prob vp9_get_skip_prob(const VP9_COMMON *cm, in vp9_get_skip_prob() argument 57 return cm->fc.skip_probs[vp9_get_skip_context(xd)]; in vp9_get_skip_prob() 64 static INLINE vp9_prob vp9_get_intra_inter_prob(const VP9_COMMON *cm, in vp9_get_intra_inter_prob() argument 66 return cm->fc.intra_inter_prob[vp9_get_intra_inter_context(xd)]; in vp9_get_intra_inter_prob() 69 int vp9_get_reference_mode_context(const VP9_COMMON *cm, const MACROBLOCKD *xd); 71 static INLINE vp9_prob vp9_get_reference_mode_prob(const VP9_COMMON *cm, in vp9_get_reference_mode_prob() argument 73 return cm->fc.comp_inter_prob[vp9_get_reference_mode_context(cm, xd)]; in vp9_get_reference_mode_prob() 76 int vp9_get_pred_context_comp_ref_p(const VP9_COMMON *cm, 79 static INLINE vp9_prob vp9_get_pred_prob_comp_ref_p(const VP9_COMMON *cm, in vp9_get_pred_prob_comp_ref_p() argument [all …]
|
D | vp9_tile_common.c | 24 void vp9_tile_init(TileInfo *tile, const VP9_COMMON *cm, int row, int col) { in vp9_tile_init() argument 25 tile->mi_row_start = get_tile_offset(row, cm->mi_rows, cm->log2_tile_rows); in vp9_tile_init() 26 tile->mi_row_end = get_tile_offset(row + 1, cm->mi_rows, cm->log2_tile_rows); in vp9_tile_init() 27 tile->mi_col_start = get_tile_offset(col, cm->mi_cols, cm->log2_tile_cols); in vp9_tile_init() 28 tile->mi_col_end = get_tile_offset(col + 1, cm->mi_cols, cm->log2_tile_cols); in vp9_tile_init()
|
D | vp9_entropy.c | 722 void vp9_default_coef_probs(VP9_COMMON *cm) { in vp9_default_coef_probs() argument 723 vp9_copy(cm->fc.coef_probs[TX_4X4], default_coef_probs_4x4); in vp9_default_coef_probs() 724 vp9_copy(cm->fc.coef_probs[TX_8X8], default_coef_probs_8x8); in vp9_default_coef_probs() 725 vp9_copy(cm->fc.coef_probs[TX_16X16], default_coef_probs_16x16); in vp9_default_coef_probs() 726 vp9_copy(cm->fc.coef_probs[TX_32X32], default_coef_probs_32x32); in vp9_default_coef_probs() 736 static void adapt_coef_probs(VP9_COMMON *cm, TX_SIZE tx_size, in adapt_coef_probs() argument 739 const FRAME_CONTEXT *pre_fc = &cm->frame_contexts[cm->frame_context_idx]; in adapt_coef_probs() 740 vp9_coeff_probs_model *const probs = cm->fc.coef_probs[tx_size]; in adapt_coef_probs() 742 vp9_coeff_count_model *counts = cm->counts.coef[tx_size]; in adapt_coef_probs() 744 cm->counts.eob_branch[tx_size]; in adapt_coef_probs() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
D | vp9_decoder.c | 115 VP9_COMMON *const cm = pbi ? &pbi->common : NULL; in vp9_create_decompressor() local 117 if (!cm) in vp9_create_decompressor() 123 memset(&cm->ref_frame_map, -1, sizeof(cm->ref_frame_map)); in vp9_create_decompressor() 125 if (setjmp(cm->error.jmp)) { in vp9_create_decompressor() 126 cm->error.setjmp = 0; in vp9_create_decompressor() 131 cm->error.setjmp = 1; in vp9_create_decompressor() 138 cm->current_video_frame = 0; in vp9_create_decompressor() 143 vp9_init_dequantizer(cm); in vp9_create_decompressor() 145 vp9_loop_filter_init(cm); in vp9_create_decompressor() 147 cm->error.setjmp = 0; in vp9_create_decompressor() [all …]
|
D | vp9_decodeframe.c | 45 static int is_compound_reference_allowed(const VP9_COMMON *cm) { in is_compound_reference_allowed() argument 48 if (cm->ref_frame_sign_bias[i + 1] != cm->ref_frame_sign_bias[1]) in is_compound_reference_allowed() 54 static void setup_compound_reference_mode(VP9_COMMON *cm) { in setup_compound_reference_mode() argument 55 if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode() 56 cm->ref_frame_sign_bias[GOLDEN_FRAME]) { in setup_compound_reference_mode() 57 cm->comp_fixed_ref = ALTREF_FRAME; in setup_compound_reference_mode() 58 cm->comp_var_ref[0] = LAST_FRAME; in setup_compound_reference_mode() 59 cm->comp_var_ref[1] = GOLDEN_FRAME; in setup_compound_reference_mode() 60 } else if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode() 61 cm->ref_frame_sign_bias[ALTREF_FRAME]) { in setup_compound_reference_mode() [all …]
|
D | vp9_decodemv.c | 30 static MB_PREDICTION_MODE read_intra_mode_y(VP9_COMMON *cm, vp9_reader *r, in read_intra_mode_y() argument 33 cm->fc.y_mode_prob[size_group]); in read_intra_mode_y() 34 if (!cm->frame_parallel_decoding_mode) in read_intra_mode_y() 35 ++cm->counts.y_mode[size_group][y_mode]; in read_intra_mode_y() 39 static MB_PREDICTION_MODE read_intra_mode_uv(VP9_COMMON *cm, vp9_reader *r, in read_intra_mode_uv() argument 42 cm->fc.uv_mode_prob[y_mode]); in read_intra_mode_uv() 43 if (!cm->frame_parallel_decoding_mode) in read_intra_mode_uv() 44 ++cm->counts.uv_mode[y_mode][uv_mode]; in read_intra_mode_uv() 48 static MB_PREDICTION_MODE read_inter_mode(VP9_COMMON *cm, vp9_reader *r, in read_inter_mode() argument 51 cm->fc.inter_mode_probs[ctx]); in read_inter_mode() [all …]
|
D | vp9_dthread.c | 92 VP9_COMMON *const cm, MACROBLOCKD *const xd, in loop_filter_rows_mt() argument 98 const int sb_cols = mi_cols_aligned_to_sb(cm->mi_cols) >> MI_BLOCK_SIZE_LOG2; in loop_filter_rows_mt() 102 MODE_INFO **mi_8x8 = cm->mi_grid_visible + mi_row * cm->mi_stride; in loop_filter_rows_mt() 111 vp9_setup_mask(cm, mi_row, mi_col, mi_8x8 + mi_col, cm->mi_stride, &lfm); in loop_filter_rows_mt() 114 vp9_filter_block_plane(cm, &xd->plane[plane], mi_row, &lfm); in loop_filter_rows_mt() 128 loop_filter_rows_mt(lf_data->frame_buffer, lf_data->cm, &lf_data->xd, in loop_filter_row_worker() 137 VP9_COMMON *cm, in vp9_loop_filter_frame_mt() argument 142 const int sb_rows = mi_cols_aligned_to_sb(cm->mi_rows) >> MI_BLOCK_SIZE_LOG2; in vp9_loop_filter_frame_mt() 149 if (!cm->current_video_frame || cm->last_height != cm->height) { in vp9_loop_filter_frame_mt() 152 if (cm->last_height != cm->height) { in vp9_loop_filter_frame_mt() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
D | onyxd_if.c | 40 extern void vp8_init_loop_filter(VP8_COMMON *cm); 42 static int get_free_fb (VP8_COMMON *cm); 112 VP8_COMMON *cm = &pbi->common; in vp8dx_get_reference() local 116 ref_fb_idx = cm->lst_fb_idx; in vp8dx_get_reference() 118 ref_fb_idx = cm->gld_fb_idx; in vp8dx_get_reference() 120 ref_fb_idx = cm->alt_fb_idx; in vp8dx_get_reference() 127 if(cm->yv12_fb[ref_fb_idx].y_height != sd->y_height || in vp8dx_get_reference() 128 cm->yv12_fb[ref_fb_idx].y_width != sd->y_width || in vp8dx_get_reference() 129 cm->yv12_fb[ref_fb_idx].uv_height != sd->uv_height || in vp8dx_get_reference() 130 cm->yv12_fb[ref_fb_idx].uv_width != sd->uv_width){ in vp8dx_get_reference() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | picklpf.c | 138 VP8_COMMON *cm = &cpi->common; in vp8cx_pick_filter_level_fast() local 142 int min_filter_level = get_min_filter_level(cpi, cm->base_qindex); in vp8cx_pick_filter_level_fast() 143 int max_filter_level = get_max_filter_level(cpi, cm->base_qindex); in vp8cx_pick_filter_level_fast() 145 int best_filt_val = cm->filter_level; in vp8cx_pick_filter_level_fast() 146 YV12_BUFFER_CONFIG * saved_frame = cm->frame_to_show; in vp8cx_pick_filter_level_fast() 149 cm->frame_to_show = &cpi->pick_lf_lvl_frame; in vp8cx_pick_filter_level_fast() 151 if (cm->frame_type == KEY_FRAME) in vp8cx_pick_filter_level_fast() 152 cm->sharpness_level = 0; in vp8cx_pick_filter_level_fast() 154 cm->sharpness_level = cpi->oxcf.Sharpness; in vp8cx_pick_filter_level_fast() 156 if (cm->sharpness_level != cm->last_sharpness_level) in vp8cx_pick_filter_level_fast() [all …]
|
D | onyx_if.c | 755 VP8_COMMON *cm = &cpi->common; in vp8_set_speed_features() local 946 unsigned int total_mbs = cm->MBs; in vp8_set_speed_features() 1007 if(cm->version == 0) in vp8_set_speed_features() 1009 cm->filter_type = NORMAL_LOOPFILTER; in vp8_set_speed_features() 1012 cm->filter_type = SIMPLE_LOOPFILTER; in vp8_set_speed_features() 1016 cm->filter_type = SIMPLE_LOOPFILTER; in vp8_set_speed_features() 1039 vp8_init3smotion_compensation(&cpi->mb, cm->yv12_fb[cm->lst_fb_idx].y_stride); in vp8_set_speed_features() 1043 vp8_init_dsmotion_compensation(&cpi->mb, cm->yv12_fb[cm->lst_fb_idx].y_stride); in vp8_set_speed_features() 1155 VP8_COMMON *cm = & cpi->common; in vp8_alloc_compressor_data() local 1157 int width = cm->Width; in vp8_alloc_compressor_data() [all …]
|
D | segmentation.c | 15 void vp8_update_gf_useage_maps(VP8_COMP *cpi, VP8_COMMON *cm, MACROBLOCK *x) in vp8_update_gf_useage_maps() argument 19 MODE_INFO *this_mb_mode_info = cm->mi; in vp8_update_gf_useage_maps() 23 if ((cm->frame_type == KEY_FRAME) || (cm->refresh_golden_frame)) in vp8_update_gf_useage_maps() 26 vpx_memset(cpi->gf_active_flags, 1, (cm->mb_rows * cm->mb_cols)); in vp8_update_gf_useage_maps() 27 cpi->gf_active_count = cm->mb_rows * cm->mb_cols; in vp8_update_gf_useage_maps() 32 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in vp8_update_gf_useage_maps() 35 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in vp8_update_gf_useage_maps()
|
D | mr_dissim.c | 44 if (cm->ref_frame_sign_bias[x->mbmi.ref_frame] \ 45 != cm->ref_frame_sign_bias[tmp->mbmi.ref_frame]) \ 55 VP8_COMMON *cm = &cpi->common; in vp8_cal_dissimilarity() local 72 store_info->frame_type = cm->frame_type; in vp8_cal_dissimilarity() 74 if(cm->frame_type != KEY_FRAME) in vp8_cal_dissimilarity() 81 if(cm->frame_type != KEY_FRAME) in vp8_cal_dissimilarity() 86 MODE_INFO *tmp = cm->mip + cm->mode_info_stride; in vp8_cal_dissimilarity() 89 for (mb_row = 0; mb_row < cm->mb_rows; mb_row ++) in vp8_cal_dissimilarity() 92 for (mb_col = 0; mb_col < cm->mb_cols; mb_col ++) in vp8_cal_dissimilarity() 104 const MODE_INFO *above = here - cm->mode_info_stride; in vp8_cal_dissimilarity() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_aq_cyclicrefresh.c | 70 static int apply_cyclic_refresh_bitrate(const VP9_COMMON *cm, in apply_cyclic_refresh_bitrate() argument 78 const int number_blocks = cm->mi_rows * cm->mi_cols; in apply_cyclic_refresh_bitrate() 132 const VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_update_segment() local 136 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_cyclic_refresh_update_segment() 137 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_cyclic_refresh_update_segment() 138 const int block_index = mi_row * cm->mi_cols + mi_col; in vp9_cyclic_refresh_update_segment() 168 cr->map[block_index + y * cm->mi_cols + x] = new_map_value; in vp9_cyclic_refresh_update_segment() 169 cpi->segmentation_map[block_index + y * cm->mi_cols + x] = in vp9_cyclic_refresh_update_segment() 180 VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_setup() local 183 struct segmentation *const seg = &cm->seg; in vp9_cyclic_refresh_setup() [all …]
|
D | vp9_bitstream.c | 109 static void update_skip_probs(VP9_COMMON *cm, vp9_writer *w) { in update_skip_probs() argument 113 vp9_cond_prob_diff_update(w, &cm->fc.skip_probs[k], cm->counts.skip[k]); in update_skip_probs() 116 static void update_switchable_interp_probs(VP9_COMMON *cm, vp9_writer *w) { in update_switchable_interp_probs() argument 120 cm->fc.switchable_interp_prob[j], in update_switchable_interp_probs() 121 cm->counts.switchable_interp[j], SWITCHABLE_FILTERS, w); in update_switchable_interp_probs() 193 const VP9_COMMON *const cm = &cpi->common; in write_ref_frames() local 201 if (vp9_segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) { in write_ref_frames() 204 vp9_get_segdata(&cm->seg, segment_id, SEG_LVL_REF_FRAME)); in write_ref_frames() 208 if (cm->reference_mode == REFERENCE_MODE_SELECT) { in write_ref_frames() 209 vp9_write(w, is_compound, vp9_get_reference_mode_prob(cm, xd)); in write_ref_frames() [all …]
|
D | vp9_onyx_if.c | 142 static void setup_inter_frame(VP9_COMMON *cm) { in setup_inter_frame() argument 143 if (cm->error_resilient_mode || cm->intra_only) in setup_inter_frame() 144 vp9_setup_past_independence(cm); in setup_inter_frame() 146 assert(cm->frame_context_idx < FRAME_CONTEXTS); in setup_inter_frame() 147 cm->fc = cm->frame_contexts[cm->frame_context_idx]; in setup_inter_frame() 168 VP9_COMMON *const cm = &cpi->common; in dealloc_compressor_data() local 174 vpx_free(cm->last_frame_seg_map); in dealloc_compressor_data() 175 cm->last_frame_seg_map = NULL; in dealloc_compressor_data() 188 vp9_free_frame_buffers(cm); in dealloc_compressor_data() 264 VP9_COMMON *const cm = &cpi->common; in configure_static_seg_features() local [all …]
|
D | vp9_aq_complexity.c | 22 VP9_COMMON *const cm = &cpi->common; in vp9_setup_in_frame_q_adj() local 23 struct segmentation *const seg = &cm->seg; in vp9_setup_in_frame_q_adj() 28 if (cm->frame_type == KEY_FRAME || in vp9_setup_in_frame_q_adj() 34 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj() 37 vpx_memset(cpi->complexity_map, 0, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj() 52 cm->base_qindex, in vp9_setup_in_frame_q_adj() 64 VP9_COMMON *const cm = &cpi->common; in vp9_select_in_frame_q_segment() local 66 const int mi_offset = mi_row * cm->mi_cols + mi_col; in vp9_select_in_frame_q_segment() 69 const int xmis = MIN(cm->mi_cols - mi_col, bw); in vp9_select_in_frame_q_segment() 70 const int ymis = MIN(cm->mi_rows - mi_row, bh); in vp9_select_in_frame_q_segment() [all …]
|
D | vp9_ratectrl.c | 111 VP9_COMMON *cm = &cpi->common; in vp9_save_coding_context() local 121 vp9_copy(cc->segment_pred_probs, cm->seg.pred_probs); in vp9_save_coding_context() 124 cm->last_frame_seg_map, (cm->mi_rows * cm->mi_cols)); in vp9_save_coding_context() 126 vp9_copy(cc->last_ref_lf_deltas, cm->lf.last_ref_deltas); in vp9_save_coding_context() 127 vp9_copy(cc->last_mode_lf_deltas, cm->lf.last_mode_deltas); in vp9_save_coding_context() 129 cc->fc = cm->fc; in vp9_save_coding_context() 134 VP9_COMMON *cm = &cpi->common; in vp9_restore_coding_context() local 142 vp9_copy(cm->seg.pred_probs, cc->segment_pred_probs); in vp9_restore_coding_context() 144 vpx_memcpy(cm->last_frame_seg_map, in vp9_restore_coding_context() 146 (cm->mi_rows * cm->mi_cols)); in vp9_restore_coding_context() [all …]
|
D | vp9_picklpf.c | 34 VP9_COMMON *const cm = &cpi->common; in try_filter_frame() local 37 vp9_loop_filter_frame(cm, &cpi->mb.e_mbd, filt_level, 1, partial_frame); in try_filter_frame() 38 filt_err = vp9_calc_ss_err(sd, cm->frame_to_show); in try_filter_frame() 41 vpx_yv12_copy_y(&cpi->last_frame_uf, cm->frame_to_show); in try_filter_frame() 48 VP9_COMMON *const cm = &cpi->common; in search_filter_level() local 49 struct loopfilter *const lf = &cm->lf; in search_filter_level() 66 vpx_yv12_copy_y(cm->frame_to_show, &cpi->last_frame_uf); in search_filter_level() 84 if (cm->tx_mode != ONLY_4X4) in search_filter_level() 136 VP9_COMMON *const cm = &cpi->common; in vp9_pick_filter_level() local 137 struct loopfilter *const lf = &cm->lf; in vp9_pick_filter_level() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | alloccommon.c | 126 void vp8_setup_version(VP8_COMMON *cm) in vp8_setup_version() argument 128 switch (cm->version) in vp8_setup_version() 131 cm->no_lpf = 0; in vp8_setup_version() 132 cm->filter_type = NORMAL_LOOPFILTER; in vp8_setup_version() 133 cm->use_bilinear_mc_filter = 0; in vp8_setup_version() 134 cm->full_pixel = 0; in vp8_setup_version() 137 cm->no_lpf = 0; in vp8_setup_version() 138 cm->filter_type = SIMPLE_LOOPFILTER; in vp8_setup_version() 139 cm->use_bilinear_mc_filter = 1; in vp8_setup_version() 140 cm->full_pixel = 0; in vp8_setup_version() [all …]
|
D | loopfilter.c | 94 void vp8_loop_filter_init(VP8_COMMON *cm) in vp8_loop_filter_init() argument 96 loop_filter_info_n *lfi = &cm->lf_info; in vp8_loop_filter_init() 100 vp8_loop_filter_update_sharpness(lfi, cm->sharpness_level); in vp8_loop_filter_init() 101 cm->last_sharpness_level = cm->sharpness_level; in vp8_loop_filter_init() 113 void vp8_loop_filter_frame_init(VP8_COMMON *cm, in vp8_loop_filter_frame_init() argument 121 loop_filter_info_n *lfi = &cm->lf_info; in vp8_loop_filter_frame_init() 124 if(cm->last_sharpness_level != cm->sharpness_level) in vp8_loop_filter_frame_init() 126 vp8_loop_filter_update_sharpness(lfi, cm->sharpness_level); in vp8_loop_filter_frame_init() 127 cm->last_sharpness_level = cm->sharpness_level; in vp8_loop_filter_frame_init() 199 void vp8_loop_filter_row_normal(VP8_COMMON *cm, MODE_INFO *mode_info_context, in vp8_loop_filter_row_normal() argument [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/mips/dspr2/ |
D | filter_dspr2.c | 134 unsigned char *cm = ff_cropTbl + CROP_WIDTH; in vp8_filter_block2d_first_pass_4() local 230 [vector4a] "r" (vector4a), [cm] "r" (cm), [dst_ptr] "r" (dst_ptr), in vp8_filter_block2d_first_pass_4() 301 [vector4a] "r" (vector4a), [cm] "r" (cm), [dst_ptr] "r" (dst_ptr), in vp8_filter_block2d_first_pass_4() 331 unsigned char *cm = ff_cropTbl + CROP_WIDTH; in vp8_filter_block2d_first_pass_8_all() local 429 dst_ptr[0] = cm[Temp1]; in vp8_filter_block2d_first_pass_8_all() 430 dst_ptr[1] = cm[Temp2]; in vp8_filter_block2d_first_pass_8_all() 431 dst_ptr[2] = cm[Temp3]; in vp8_filter_block2d_first_pass_8_all() 432 dst_ptr[3] = cm[Temp4]; in vp8_filter_block2d_first_pass_8_all() 479 dst_ptr[4] = cm[Temp1]; in vp8_filter_block2d_first_pass_8_all() 480 dst_ptr[5] = cm[Temp2]; in vp8_filter_block2d_first_pass_8_all() [all …]
|