Home
last modified time | relevance | path

Searched refs:cm (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c38 void vp9_set_mb_mi(VP9_COMMON *cm, int width, int height) { in vp9_set_mb_mi() argument
42 cm->mi_cols = aligned_width >> MI_SIZE_LOG2; in vp9_set_mb_mi()
43 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; in vp9_set_mb_mi()
44 cm->mi_stride = calc_mi_size(cm->mi_cols); in vp9_set_mb_mi()
46 cm->mb_cols = (cm->mi_cols + 1) >> 1; in vp9_set_mb_mi()
47 cm->mb_rows = (cm->mi_rows + 1) >> 1; in vp9_set_mb_mi()
48 cm->MBs = cm->mb_rows * cm->mb_cols; in vp9_set_mb_mi()
51 static int alloc_seg_map(VP9_COMMON *cm, int seg_map_size) { in alloc_seg_map() argument
55 cm->seg_map_array[i] = (uint8_t *)vpx_calloc(seg_map_size, 1); in alloc_seg_map()
56 if (cm->seg_map_array[i] == NULL) in alloc_seg_map()
[all …]
Dvp9_entropymode.c337 void vp9_adapt_mode_probs(VP9_COMMON *cm) { in vp9_adapt_mode_probs() argument
339 FRAME_CONTEXT *fc = cm->fc; in vp9_adapt_mode_probs()
340 const FRAME_CONTEXT *pre_fc = &cm->frame_contexts[cm->frame_context_idx]; in vp9_adapt_mode_probs()
341 const FRAME_COUNTS *counts = &cm->counts; in vp9_adapt_mode_probs()
373 if (cm->interp_filter == SWITCHABLE) { in vp9_adapt_mode_probs()
381 if (cm->tx_mode == TX_MODE_SELECT) { in vp9_adapt_mode_probs()
423 void vp9_setup_past_independence(VP9_COMMON *cm) { in vp9_setup_past_independence() argument
426 struct loopfilter *const lf = &cm->lf; in vp9_setup_past_independence()
429 vp9_clearall_segfeatures(&cm->seg); in vp9_setup_past_independence()
430 cm->seg.abs_delta = SEGMENT_DELTADATA; in vp9_setup_past_independence()
[all …]
Dvp9_debugmodes.c16 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
28 MODE_INFO **mi = cm->mi_grid_visible; in print_mi_data()
29 int rows = cm->mi_rows; in print_mi_data()
30 int cols = cm->mi_cols; in print_mi_data()
33 log_frame_info(cm, descriptor, file); in print_mi_data()
48 void vp9_print_modes_and_motion_vectors(VP9_COMMON *cm, const char *file) { in vp9_print_modes_and_motion_vectors() argument
52 MODE_INFO **mi = cm->mi_grid_visible; in vp9_print_modes_and_motion_vectors()
[all …]
Dvp9_postproc.c616 static void swap_mi_and_prev_mi(VP9_COMMON *cm) { in swap_mi_and_prev_mi() argument
618 MODE_INFO *temp = cm->postproc_state.prev_mip; in swap_mi_and_prev_mi()
619 cm->postproc_state.prev_mip = cm->mip; in swap_mi_and_prev_mi()
620 cm->mip = temp; in swap_mi_and_prev_mi()
623 cm->mi = cm->mip + cm->mi_stride + 1; in swap_mi_and_prev_mi()
624 cm->postproc_state.prev_mi = cm->postproc_state.prev_mip + cm->mi_stride + 1; in swap_mi_and_prev_mi()
627 int vp9_post_proc_frame(struct VP9Common *cm, in vp9_post_proc_frame() argument
629 const int q = VPXMIN(105, cm->lf.filter_level * 2); in vp9_post_proc_frame()
631 YV12_BUFFER_CONFIG *const ppbuf = &cm->post_proc_buffer; in vp9_post_proc_frame()
632 struct postproc_state *const ppstate = &cm->postproc_state; in vp9_post_proc_frame()
[all …]
Dvp9_onyxc_int.h205 int (*alloc_mi)(struct VP9Common *cm, int mi_size);
206 void (*free_mi)(struct VP9Common *cm);
207 void (*setup_mi)(struct VP9Common *cm);
292 static INLINE YV12_BUFFER_CONFIG *get_ref_frame(VP9_COMMON *cm, int index) { in get_ref_frame() argument
295 if (cm->ref_frame_map[index] < 0) in get_ref_frame()
297 assert(cm->ref_frame_map[index] < FRAME_BUFFERS); in get_ref_frame()
298 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; in get_ref_frame()
301 static INLINE YV12_BUFFER_CONFIG *get_frame_new_buffer(VP9_COMMON *cm) { in get_frame_new_buffer() argument
302 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
305 static INLINE int get_free_fb(VP9_COMMON *cm) { in get_free_fb() argument
[all …]
Dvp9_pred_common.h22 static INLINE int get_segment_id(const VP9_COMMON *cm, in get_segment_id() argument
25 const int mi_offset = mi_row * cm->mi_cols + mi_col; in get_segment_id()
28 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); in get_segment_id()
29 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); in get_segment_id()
35 VPXMIN(segment_id, segment_ids[mi_offset + y * cm->mi_cols + x]); in get_segment_id()
64 static INLINE vpx_prob vp9_get_skip_prob(const VP9_COMMON *cm, in vp9_get_skip_prob() argument
66 return cm->fc->skip_probs[vp9_get_skip_context(xd)]; in vp9_get_skip_prob()
73 static INLINE vpx_prob vp9_get_intra_inter_prob(const VP9_COMMON *cm, in vp9_get_intra_inter_prob() argument
75 return cm->fc->intra_inter_prob[vp9_get_intra_inter_context(xd)]; in vp9_get_intra_inter_prob()
78 int vp9_get_reference_mode_context(const VP9_COMMON *cm, const MACROBLOCKD *xd);
[all …]
Dvp9_tile_common.c24 void vp9_tile_set_row(TileInfo *tile, const VP9_COMMON *cm, int row) { in vp9_tile_set_row() argument
25 tile->mi_row_start = get_tile_offset(row, cm->mi_rows, cm->log2_tile_rows); in vp9_tile_set_row()
26 tile->mi_row_end = get_tile_offset(row + 1, cm->mi_rows, cm->log2_tile_rows); in vp9_tile_set_row()
29 void vp9_tile_set_col(TileInfo *tile, const VP9_COMMON *cm, int col) { in vp9_tile_set_col() argument
30 tile->mi_col_start = get_tile_offset(col, cm->mi_cols, cm->log2_tile_cols); in vp9_tile_set_col()
31 tile->mi_col_end = get_tile_offset(col + 1, cm->mi_cols, cm->log2_tile_cols); in vp9_tile_set_col()
34 void vp9_tile_init(TileInfo *tile, const VP9_COMMON *cm, int row, int col) { in vp9_tile_init() argument
35 vp9_tile_set_row(tile, cm, row); in vp9_tile_init()
36 vp9_tile_set_col(tile, cm, col); in vp9_tile_init()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c51 static void vp9_dec_setup_mi(VP9_COMMON *cm) { in vp9_dec_setup_mi() argument
52 cm->mi = cm->mip + cm->mi_stride + 1; in vp9_dec_setup_mi()
53 cm->mi_grid_visible = cm->mi_grid_base + cm->mi_stride + 1; in vp9_dec_setup_mi()
54 memset(cm->mi_grid_base, 0, in vp9_dec_setup_mi()
55 cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mi_grid_base)); in vp9_dec_setup_mi()
58 static int vp9_dec_alloc_mi(VP9_COMMON *cm, int mi_size) { in vp9_dec_alloc_mi() argument
59 cm->mip = vpx_calloc(mi_size, sizeof(*cm->mip)); in vp9_dec_alloc_mi()
60 if (!cm->mip) in vp9_dec_alloc_mi()
62 cm->mi_alloc_size = mi_size; in vp9_dec_alloc_mi()
63 cm->mi_grid_base = (MODE_INFO **)vpx_calloc(mi_size, sizeof(MODE_INFO*)); in vp9_dec_alloc_mi()
[all …]
Dvp9_decodeframe.c48 static int is_compound_reference_allowed(const VP9_COMMON *cm) { in is_compound_reference_allowed() argument
51 if (cm->ref_frame_sign_bias[i + 1] != cm->ref_frame_sign_bias[1]) in is_compound_reference_allowed()
57 static void setup_compound_reference_mode(VP9_COMMON *cm) { in setup_compound_reference_mode() argument
58 if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode()
59 cm->ref_frame_sign_bias[GOLDEN_FRAME]) { in setup_compound_reference_mode()
60 cm->comp_fixed_ref = ALTREF_FRAME; in setup_compound_reference_mode()
61 cm->comp_var_ref[0] = LAST_FRAME; in setup_compound_reference_mode()
62 cm->comp_var_ref[1] = GOLDEN_FRAME; in setup_compound_reference_mode()
63 } else if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode()
64 cm->ref_frame_sign_bias[ALTREF_FRAME]) { in setup_compound_reference_mode()
[all …]
Dvp9_decodemv.c31 static PREDICTION_MODE read_intra_mode_y(VP9_COMMON *cm, MACROBLOCKD *xd, in read_intra_mode_y() argument
34 read_intra_mode(r, cm->fc->y_mode_prob[size_group]); in read_intra_mode_y()
41 static PREDICTION_MODE read_intra_mode_uv(VP9_COMMON *cm, MACROBLOCKD *xd, in read_intra_mode_uv() argument
45 cm->fc->uv_mode_prob[y_mode]); in read_intra_mode_uv()
52 static PREDICTION_MODE read_inter_mode(VP9_COMMON *cm, MACROBLOCKD *xd, in read_inter_mode() argument
55 cm->fc->inter_mode_probs[ctx]); in read_inter_mode()
67 static TX_SIZE read_selected_tx_size(VP9_COMMON *cm, MACROBLOCKD *xd, in read_selected_tx_size() argument
71 const vpx_prob *tx_probs = get_tx_probs(max_tx_size, ctx, &cm->fc->tx_probs); in read_selected_tx_size()
84 static TX_SIZE read_tx_size(VP9_COMMON *cm, MACROBLOCKD *xd, in read_tx_size() argument
86 TX_MODE tx_mode = cm->tx_mode; in read_tx_size()
[all …]
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c43 extern void vp8_init_loop_filter(VP8_COMMON *cm);
45 static int get_free_fb (VP8_COMMON *cm);
129 VP8_COMMON *cm = &pbi->common; in vp8dx_get_reference() local
133 ref_fb_idx = cm->lst_fb_idx; in vp8dx_get_reference()
135 ref_fb_idx = cm->gld_fb_idx; in vp8dx_get_reference()
137 ref_fb_idx = cm->alt_fb_idx; in vp8dx_get_reference()
144 if(cm->yv12_fb[ref_fb_idx].y_height != sd->y_height || in vp8dx_get_reference()
145 cm->yv12_fb[ref_fb_idx].y_width != sd->y_width || in vp8dx_get_reference()
146 cm->yv12_fb[ref_fb_idx].uv_height != sd->uv_height || in vp8dx_get_reference()
147 cm->yv12_fb[ref_fb_idx].uv_width != sd->uv_width){ in vp8dx_get_reference()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dpicklpf.c139 VP8_COMMON *cm = &cpi->common; in vp8cx_pick_filter_level_fast() local
143 int min_filter_level = get_min_filter_level(cpi, cm->base_qindex); in vp8cx_pick_filter_level_fast()
144 int max_filter_level = get_max_filter_level(cpi, cm->base_qindex); in vp8cx_pick_filter_level_fast()
147 YV12_BUFFER_CONFIG * saved_frame = cm->frame_to_show; in vp8cx_pick_filter_level_fast()
150 cm->frame_to_show = &cpi->pick_lf_lvl_frame; in vp8cx_pick_filter_level_fast()
152 if (cm->frame_type == KEY_FRAME) in vp8cx_pick_filter_level_fast()
153 cm->sharpness_level = 0; in vp8cx_pick_filter_level_fast()
155 cm->sharpness_level = cpi->oxcf.Sharpness; in vp8cx_pick_filter_level_fast()
157 if (cm->sharpness_level != cm->last_sharpness_level) in vp8cx_pick_filter_level_fast()
159 vp8_loop_filter_update_sharpness(&cm->lf_info, cm->sharpness_level); in vp8cx_pick_filter_level_fast()
[all …]
Donyx_if.c761 VP8_COMMON *cm = &cpi->common; in vp8_set_speed_features() local
972 unsigned int total_mbs = cm->MBs; in vp8_set_speed_features()
1033 if(cm->version == 0) in vp8_set_speed_features()
1035 cm->filter_type = NORMAL_LOOPFILTER; in vp8_set_speed_features()
1038 cm->filter_type = SIMPLE_LOOPFILTER; in vp8_set_speed_features()
1042 cm->filter_type = SIMPLE_LOOPFILTER; in vp8_set_speed_features()
1065 vp8_init3smotion_compensation(&cpi->mb, cm->yv12_fb[cm->lst_fb_idx].y_stride); in vp8_set_speed_features()
1069 vp8_init_dsmotion_compensation(&cpi->mb, cm->yv12_fb[cm->lst_fb_idx].y_stride); in vp8_set_speed_features()
1179 VP8_COMMON *cm = & cpi->common; in vp8_alloc_compressor_data() local
1181 int width = cm->Width; in vp8_alloc_compressor_data()
[all …]
Dmr_dissim.c46 if (cm->ref_frame_sign_bias[x->mbmi.ref_frame] \
47 != cm->ref_frame_sign_bias[tmp->mbmi.ref_frame]) \
57 VP8_COMMON *cm = &cpi->common; in vp8_cal_dissimilarity() local
74 store_info->frame_type = cm->frame_type; in vp8_cal_dissimilarity()
76 if(cm->frame_type != KEY_FRAME) in vp8_cal_dissimilarity()
83 if(cm->frame_type != KEY_FRAME) in vp8_cal_dissimilarity()
88 MODE_INFO *tmp = cm->mip + cm->mode_info_stride; in vp8_cal_dissimilarity()
91 for (mb_row = 0; mb_row < cm->mb_rows; mb_row ++) in vp8_cal_dissimilarity()
94 for (mb_col = 0; mb_col < cm->mb_cols; mb_col ++) in vp8_cal_dissimilarity()
106 const MODE_INFO *above = here - cm->mode_info_stride; in vp8_cal_dissimilarity()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c231 VP9_COMMON *const cm = &cpi->common; in setup_frame() local
237 if (frame_is_intra_only(cm) || cm->error_resilient_mode) { in setup_frame()
238 vp9_setup_past_independence(cm); in setup_frame()
241 cm->frame_context_idx = cpi->refresh_alt_ref_frame; in setup_frame()
244 if (cm->frame_type == KEY_FRAME) { in setup_frame()
250 *cm->fc = cm->frame_contexts[cm->frame_context_idx]; in setup_frame()
255 static void vp9_enc_setup_mi(VP9_COMMON *cm) { in vp9_enc_setup_mi() argument
257 cm->mi = cm->mip + cm->mi_stride + 1; in vp9_enc_setup_mi()
258 memset(cm->mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mip)); in vp9_enc_setup_mi()
259 cm->prev_mi = cm->prev_mip + cm->mi_stride + 1; in vp9_enc_setup_mi()
[all …]
Dvp9_aq_cyclicrefresh.c63 static int apply_cyclic_refresh_bitrate(const VP9_COMMON *cm, in apply_cyclic_refresh_bitrate() argument
71 const int number_blocks = cm->mi_rows * cm->mi_cols; in apply_cyclic_refresh_bitrate()
133 const VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_estimate_bits_at_q() local
136 int mbs = cm->MBs; in vp9_cyclic_refresh_estimate_bits_at_q()
144 vp9_estimate_bits_at_q(cm->frame_type, cm->base_qindex, mbs, in vp9_cyclic_refresh_estimate_bits_at_q()
145 correction_factor, cm->bit_depth) + in vp9_cyclic_refresh_estimate_bits_at_q()
147 vp9_estimate_bits_at_q(cm->frame_type, in vp9_cyclic_refresh_estimate_bits_at_q()
148 cm->base_qindex + cr->qindex_delta[1], mbs, in vp9_cyclic_refresh_estimate_bits_at_q()
149 correction_factor, cm->bit_depth) + in vp9_cyclic_refresh_estimate_bits_at_q()
151 vp9_estimate_bits_at_q(cm->frame_type, in vp9_cyclic_refresh_estimate_bits_at_q()
[all …]
Dvp9_bitstream.c80 static void write_selected_tx_size(const VP9_COMMON *cm, in write_selected_tx_size() argument
86 &cm->fc->tx_probs); in write_selected_tx_size()
95 static int write_skip(const VP9_COMMON *cm, const MACROBLOCKD *xd, in write_skip() argument
97 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_SKIP)) { in write_skip()
101 vpx_write(w, skip, vp9_get_skip_prob(cm, xd)); in write_skip()
106 static void update_skip_probs(VP9_COMMON *cm, vpx_writer *w, in update_skip_probs() argument
111 vp9_cond_prob_diff_update(w, &cm->fc->skip_probs[k], counts->skip[k]); in update_skip_probs()
114 static void update_switchable_interp_probs(VP9_COMMON *cm, vpx_writer *w, in update_switchable_interp_probs() argument
119 cm->fc->switchable_interp_prob[j], in update_switchable_interp_probs()
201 static void write_ref_frames(const VP9_COMMON *cm, const MACROBLOCKD *xd, in write_ref_frames() argument
[all …]
Dvp9_aq_complexity.c48 VP9_COMMON *const cm = &cpi->common; in vp9_setup_in_frame_q_adj() local
49 struct segmentation *const seg = &cm->seg; in vp9_setup_in_frame_q_adj()
54 if (cm->frame_type == KEY_FRAME || in vp9_setup_in_frame_q_adj()
58 const int aq_strength = get_aq_c_strength(cm->base_qindex, cm->bit_depth); in vp9_setup_in_frame_q_adj()
61 memset(cpi->segmentation_map, DEFAULT_AQ2_SEG, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj()
88 vp9_compute_qdelta_by_rate(&cpi->rc, cm->frame_type, cm->base_qindex, in vp9_setup_in_frame_q_adj()
90 cm->bit_depth); in vp9_setup_in_frame_q_adj()
97 if ((cm->base_qindex != 0) && ((cm->base_qindex + qindex_delta) == 0)) { in vp9_setup_in_frame_q_adj()
98 qindex_delta = -cm->base_qindex + 1; in vp9_setup_in_frame_q_adj()
100 if ((cm->base_qindex + qindex_delta) > 0) { in vp9_setup_in_frame_q_adj()
[all …]
Dvp9_picklpf.c40 VP9_COMMON *const cm = &cpi->common; in try_filter_frame() local
43 vp9_build_mask_frame(cm, filt_level, partial_frame); in try_filter_frame()
46 vp9_loop_filter_frame_mt(cm->frame_to_show, cm, cpi->td.mb.e_mbd.plane, in try_filter_frame()
50 vp9_loop_filter_frame(cm->frame_to_show, cm, &cpi->td.mb.e_mbd, filt_level, in try_filter_frame()
54 if (cm->use_highbitdepth) { in try_filter_frame()
55 filt_err = vp9_highbd_get_y_sse(sd, cm->frame_to_show); in try_filter_frame()
57 filt_err = vp9_get_y_sse(sd, cm->frame_to_show); in try_filter_frame()
60 filt_err = vp9_get_y_sse(sd, cm->frame_to_show); in try_filter_frame()
64 vpx_yv12_copy_y(&cpi->last_frame_uf, cm->frame_to_show); in try_filter_frame()
71 const VP9_COMMON *const cm = &cpi->common; in search_filter_level() local
[all …]
Dvp9_segmentation.c109 static void count_segs(const VP9_COMMON *cm, MACROBLOCKD *xd, in count_segs() argument
117 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in count_segs()
123 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs()
129 if (cm->frame_type != KEY_FRAME) { in count_segs()
132 const int pred_segment_id = get_segment_id(cm, cm->last_frame_seg_map, in count_segs()
148 static void count_segs_sb(const VP9_COMMON *cm, MACROBLOCKD *xd, in count_segs_sb() argument
155 const int mis = cm->mi_stride; in count_segs_sb()
159 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) in count_segs_sb()
166 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, in count_segs_sb()
169 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, in count_segs_sb()
[all …]
/external/aac/libAACenc/src/
Dchannel_map.cpp260 …NCODER_ERROR FDKaacEnc_InitChannelMapping(CHANNEL_MODE mode, CHANNEL_ORDER co, CHANNEL_MAPPING* cm) in FDKaacEnc_InitChannelMapping() argument
269 FDKmemclear(cm, sizeof(CHANNEL_MAPPING)); in FDKaacEnc_InitChannelMapping()
275 cm->encMode = channelModeConfig[i].encMode; in FDKaacEnc_InitChannelMapping()
276 cm->nChannels = channelModeConfig[i].nChannels; in FDKaacEnc_InitChannelMapping()
277 cm->nChannelsEff = channelModeConfig[i].nChannelsEff; in FDKaacEnc_InitChannelMapping()
278 cm->nElements = channelModeConfig[i].nElements; in FDKaacEnc_InitChannelMapping()
288 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, (FIXP_DBL)MAXVAL_DBL); in FDKaacEnc_InitChannelMapping()
292 FDKaacEnc_initElement(&cm->elInfo[0], ID_CPE, &count, mode, co, it_cnt, (FIXP_DBL)MAXVAL_DBL); in FDKaacEnc_InitChannelMapping()
297 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.4f)); in FDKaacEnc_InitChannelMapping()
298 FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.6f)); in FDKaacEnc_InitChannelMapping()
[all …]
/external/libvpx/libvpx/vp8/common/mips/dspr2/
Dfilter_dspr2.c134 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 …]
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dcodec_manager_unittest.cc49 CodecManager cm; in TEST() local
51 EXPECT_FALSE(cm.GetStackParams()->use_codec_fec); in TEST()
52 cm.GetStackParams()->speech_encoder = enc0.get(); in TEST()
53 EXPECT_TRUE(rac.RentEncoderStack(cm.GetStackParams())); in TEST()
54 EXPECT_FALSE(cm.GetStackParams()->use_codec_fec); in TEST()
56 EXPECT_EQ(true, cm.SetCodecFEC(true)); in TEST()
57 EXPECT_TRUE(rac.RentEncoderStack(cm.GetStackParams())); in TEST()
58 EXPECT_TRUE(cm.GetStackParams()->use_codec_fec); in TEST()
59 cm.GetStackParams()->speech_encoder = enc1.get(); in TEST()
60 EXPECT_TRUE(rac.RentEncoderStack(cm.GetStackParams())); in TEST()
[all …]
/external/libvpx/libvpx/vp8/common/
Dalloccommon.c127 void vp8_setup_version(VP8_COMMON *cm) in vp8_setup_version() argument
129 switch (cm->version) in vp8_setup_version()
132 cm->no_lpf = 0; in vp8_setup_version()
133 cm->filter_type = NORMAL_LOOPFILTER; in vp8_setup_version()
134 cm->use_bilinear_mc_filter = 0; in vp8_setup_version()
135 cm->full_pixel = 0; in vp8_setup_version()
138 cm->no_lpf = 0; in vp8_setup_version()
139 cm->filter_type = SIMPLE_LOOPFILTER; in vp8_setup_version()
140 cm->use_bilinear_mc_filter = 1; in vp8_setup_version()
141 cm->full_pixel = 0; in vp8_setup_version()
[all …]
Dvp8_loopfilter.c92 void vp8_loop_filter_init(VP8_COMMON *cm) in vp8_loop_filter_init() argument
94 loop_filter_info_n *lfi = &cm->lf_info; in vp8_loop_filter_init()
98 vp8_loop_filter_update_sharpness(lfi, cm->sharpness_level); in vp8_loop_filter_init()
99 cm->last_sharpness_level = cm->sharpness_level; in vp8_loop_filter_init()
111 void vp8_loop_filter_frame_init(VP8_COMMON *cm, in vp8_loop_filter_frame_init() argument
119 loop_filter_info_n *lfi = &cm->lf_info; in vp8_loop_filter_frame_init()
122 if(cm->last_sharpness_level != cm->sharpness_level) in vp8_loop_filter_frame_init()
124 vp8_loop_filter_update_sharpness(lfi, cm->sharpness_level); in vp8_loop_filter_frame_init()
125 cm->last_sharpness_level = cm->sharpness_level; in vp8_loop_filter_frame_init()
197 void vp8_loop_filter_row_normal(VP8_COMMON *cm, MODE_INFO *mode_info_context, in vp8_loop_filter_row_normal() argument
[all …]

12345678910>>...15