Home
last modified time | relevance | path

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

12345678910>>...17

/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) return 1; in alloc_seg_map()
[all …]
Dvp9_postproc.c284 static void swap_mi_and_prev_mi(VP9_COMMON *cm) { in swap_mi_and_prev_mi() argument
286 MODE_INFO *temp = cm->postproc_state.prev_mip; in swap_mi_and_prev_mi()
287 cm->postproc_state.prev_mip = cm->mip; in swap_mi_and_prev_mi()
288 cm->mip = temp; in swap_mi_and_prev_mi()
291 cm->mi = cm->mip + cm->mi_stride + 1; in swap_mi_and_prev_mi()
292 cm->postproc_state.prev_mi = cm->postproc_state.prev_mip + cm->mi_stride + 1; in swap_mi_and_prev_mi()
295 int vp9_post_proc_frame(struct VP9Common *cm, YV12_BUFFER_CONFIG *dest, in vp9_post_proc_frame() argument
297 const int q = VPXMIN(105, cm->lf.filter_level * 2); in vp9_post_proc_frame()
299 YV12_BUFFER_CONFIG *const ppbuf = &cm->post_proc_buffer; in vp9_post_proc_frame()
300 struct postproc_state *const ppstate = &cm->postproc_state; in vp9_post_proc_frame()
[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()
380 if (cm->tx_mode == TX_MODE_SELECT) { in vp9_adapt_mode_probs()
422 void vp9_setup_past_independence(VP9_COMMON *cm) { in vp9_setup_past_independence() argument
425 struct loopfilter *const lf = &cm->lf; in vp9_setup_past_independence()
428 vp9_clearall_segfeatures(&cm->seg); in vp9_setup_past_independence()
429 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()
46 void vp9_print_modes_and_motion_vectors(VP9_COMMON *cm, const char *file) { in vp9_print_modes_and_motion_vectors() argument
50 MODE_INFO **mi = cm->mi_grid_visible; in vp9_print_modes_and_motion_vectors()
[all …]
Dvp9_onyxc_int.h204 int (*alloc_mi)(struct VP9Common *cm, int mi_size);
205 void (*free_mi)(struct VP9Common *cm);
206 void (*setup_mi)(struct VP9Common *cm);
291 static INLINE YV12_BUFFER_CONFIG *get_ref_frame(VP9_COMMON *cm, int index) { in get_ref_frame() argument
293 if (cm->ref_frame_map[index] < 0) return NULL; in get_ref_frame()
294 assert(cm->ref_frame_map[index] < FRAME_BUFFERS); in get_ref_frame()
295 return &cm->buffer_pool->frame_bufs[cm->ref_frame_map[index]].buf; in get_ref_frame()
298 static INLINE YV12_BUFFER_CONFIG *get_frame_new_buffer(VP9_COMMON *cm) { in get_frame_new_buffer() argument
299 return &cm->buffer_pool->frame_bufs[cm->new_fb_idx].buf; in get_frame_new_buffer()
302 static INLINE int get_free_fb(VP9_COMMON *cm) { in get_free_fb() argument
[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/python/cpython2/Tools/pybench/
DWith.py18 cm = self.ContextManager()
21 with cm: pass
22 with cm: pass
23 with cm: pass
24 with cm: pass
25 with cm: pass
26 with cm: pass
27 with cm: pass
28 with cm: pass
29 with cm: pass
[all …]
/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) return 1; in vp9_dec_alloc_mi()
61 cm->mi_alloc_size = mi_size; in vp9_dec_alloc_mi()
62 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]) return 1; in is_compound_reference_allowed()
56 static void setup_compound_reference_mode(VP9_COMMON *cm) { in setup_compound_reference_mode() argument
57 if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode()
58 cm->ref_frame_sign_bias[GOLDEN_FRAME]) { in setup_compound_reference_mode()
59 cm->comp_fixed_ref = ALTREF_FRAME; in setup_compound_reference_mode()
60 cm->comp_var_ref[0] = LAST_FRAME; in setup_compound_reference_mode()
61 cm->comp_var_ref[1] = GOLDEN_FRAME; in setup_compound_reference_mode()
62 } else if (cm->ref_frame_sign_bias[LAST_FRAME] == in setup_compound_reference_mode()
63 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()
40 static PREDICTION_MODE read_intra_mode_uv(VP9_COMMON *cm, MACROBLOCKD *xd, in read_intra_mode_uv() argument
44 read_intra_mode(r, cm->fc->uv_mode_prob[y_mode]); in read_intra_mode_uv()
50 static PREDICTION_MODE read_inter_mode(VP9_COMMON *cm, MACROBLOCKD *xd, in read_inter_mode() argument
53 vpx_read_tree(r, vp9_inter_mode_tree, cm->fc->inter_mode_probs[ctx]); in read_inter_mode()
64 static TX_SIZE read_selected_tx_size(VP9_COMMON *cm, MACROBLOCKD *xd, in read_selected_tx_size() argument
68 const vpx_prob *tx_probs = get_tx_probs(max_tx_size, ctx, &cm->fc->tx_probs); in read_selected_tx_size()
80 static INLINE TX_SIZE read_tx_size(VP9_COMMON *cm, MACROBLOCKD *xd, in read_tx_size() argument
82 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);
126 VP8_COMMON *cm = &pbi->common; in vp8dx_get_reference() local
130 ref_fb_idx = cm->lst_fb_idx; in vp8dx_get_reference()
132 ref_fb_idx = cm->gld_fb_idx; in vp8dx_get_reference()
134 ref_fb_idx = cm->alt_fb_idx; in vp8dx_get_reference()
141 if (cm->yv12_fb[ref_fb_idx].y_height != sd->y_height || in vp8dx_get_reference()
142 cm->yv12_fb[ref_fb_idx].y_width != sd->y_width || in vp8dx_get_reference()
143 cm->yv12_fb[ref_fb_idx].uv_height != sd->uv_height || in vp8dx_get_reference()
144 cm->yv12_fb[ref_fb_idx].uv_width != sd->uv_width) { in vp8dx_get_reference()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dpicklpf.c131 VP8_COMMON *cm = &cpi->common; in vp8cx_pick_filter_level_fast() local
135 int min_filter_level = get_min_filter_level(cpi, cm->base_qindex); in vp8cx_pick_filter_level_fast()
136 int max_filter_level = get_max_filter_level(cpi, cm->base_qindex); in vp8cx_pick_filter_level_fast()
139 YV12_BUFFER_CONFIG *saved_frame = cm->frame_to_show; in vp8cx_pick_filter_level_fast()
142 cm->frame_to_show = &cpi->pick_lf_lvl_frame; in vp8cx_pick_filter_level_fast()
144 if (cm->frame_type == KEY_FRAME) { in vp8cx_pick_filter_level_fast()
145 cm->sharpness_level = 0; in vp8cx_pick_filter_level_fast()
147 cm->sharpness_level = cpi->oxcf.Sharpness; in vp8cx_pick_filter_level_fast()
150 if (cm->sharpness_level != cm->last_sharpness_level) { in vp8cx_pick_filter_level_fast()
151 vp8_loop_filter_update_sharpness(&cm->lf_info, cm->sharpness_level); in vp8cx_pick_filter_level_fast()
[all …]
Donyx_if.c733 VP8_COMMON *cm = &cpi->common; in vp8_set_speed_features() local
918 unsigned int total_mbs = cm->MBs; in vp8_set_speed_features()
973 if (cm->version == 0) { in vp8_set_speed_features()
974 cm->filter_type = NORMAL_LOOPFILTER; in vp8_set_speed_features()
976 if (Speed >= 14) cm->filter_type = SIMPLE_LOOPFILTER; in vp8_set_speed_features()
978 cm->filter_type = SIMPLE_LOOPFILTER; in vp8_set_speed_features()
999 cm->yv12_fb[cm->lst_fb_idx].y_stride); in vp8_set_speed_features()
1002 cm->yv12_fb[cm->lst_fb_idx].y_stride); in vp8_set_speed_features()
1095 VP8_COMMON *cm = &cpi->common; in vp8_alloc_compressor_data() local
1097 int width = cm->Width; in vp8_alloc_compressor_data()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c98 VP9_COMMON *const cm = &cpi->common; in is_spatial_denoise_enabled() local
102 frame_is_intra_only(cm); in is_spatial_denoise_enabled()
108 const VP9_COMMON *const cm = &cpi->common; in compute_context_model_thresh() local
110 const int frame_size = (cm->width * cm->height) >> 10; in compute_context_model_thresh()
112 const int qindex_factor = cm->base_qindex + (MAXQ >> 1); in compute_context_model_thresh()
131 static int compute_context_model_diff(const VP9_COMMON *const cm) { in compute_context_model_diff() argument
133 &cm->frame_contexts[cm->frame_context_idx]; in compute_context_model_diff()
134 const FRAME_CONTEXT *const cur_fc = cm->fc; in compute_context_model_diff()
135 const FRAME_COUNTS *counts = &cm->counts; in compute_context_model_diff()
433 VP9_COMMON *const cm = &cpi->common; in is_psnr_calc_enabled() local
[all …]
Dvp9_aq_cyclicrefresh.c95 const VP9_COMMON *const cm = &cpi->common; in vp9_cyclic_refresh_estimate_bits_at_q() local
98 int mbs = cm->MBs; in vp9_cyclic_refresh_estimate_bits_at_q()
107 vp9_estimate_bits_at_q(cm->frame_type, cm->base_qindex, mbs, in vp9_cyclic_refresh_estimate_bits_at_q()
108 correction_factor, cm->bit_depth) + in vp9_cyclic_refresh_estimate_bits_at_q()
110 vp9_estimate_bits_at_q(cm->frame_type, in vp9_cyclic_refresh_estimate_bits_at_q()
111 cm->base_qindex + cr->qindex_delta[1], in vp9_cyclic_refresh_estimate_bits_at_q()
112 mbs, correction_factor, cm->bit_depth) + in vp9_cyclic_refresh_estimate_bits_at_q()
114 vp9_estimate_bits_at_q(cm->frame_type, in vp9_cyclic_refresh_estimate_bits_at_q()
115 cm->base_qindex + cr->qindex_delta[2], in vp9_cyclic_refresh_estimate_bits_at_q()
116 mbs, correction_factor, cm->bit_depth)); in vp9_cyclic_refresh_estimate_bits_at_q()
[all …]
Dvp9_bitstream.c83 static void write_selected_tx_size(const VP9_COMMON *cm, in write_selected_tx_size() argument
89 get_tx_probs2(max_tx_size, xd, &cm->fc->tx_probs); in write_selected_tx_size()
98 static int write_skip(const VP9_COMMON *cm, const MACROBLOCKD *const xd, in write_skip() argument
100 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_SKIP)) { in write_skip()
104 vpx_write(w, skip, vp9_get_skip_prob(cm, xd)); in write_skip()
109 static void update_skip_probs(VP9_COMMON *cm, vpx_writer *w, in update_skip_probs() argument
114 vp9_cond_prob_diff_update(w, &cm->fc->skip_probs[k], counts->skip[k]); in update_skip_probs()
117 static void update_switchable_interp_probs(VP9_COMMON *cm, vpx_writer *w, in update_switchable_interp_probs() argument
122 cm->fc->switchable_interp_prob[j], in update_switchable_interp_probs()
198 static void write_ref_frames(const VP9_COMMON *cm, const MACROBLOCKD *const 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 (frame_is_intra_only(cm) || cm->error_resilient_mode || 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()
87 &cpi->rc, cm->frame_type, cm->base_qindex, in vp9_setup_in_frame_q_adj()
88 aq_c_q_adj_factor[aq_strength][segment], cm->bit_depth); in vp9_setup_in_frame_q_adj()
94 if ((cm->base_qindex != 0) && ((cm->base_qindex + qindex_delta) == 0)) { in vp9_setup_in_frame_q_adj()
95 qindex_delta = -cm->base_qindex + 1; in vp9_setup_in_frame_q_adj()
97 if ((cm->base_qindex + qindex_delta) > 0) { in vp9_setup_in_frame_q_adj()
[all …]
Dvp9_picklpf.c39 VP9_COMMON *const cm = &cpi->common; in try_filter_frame() local
42 vp9_build_mask_frame(cm, filt_level, partial_frame); in try_filter_frame()
45 vp9_loop_filter_frame_mt(cm->frame_to_show, cm, cpi->td.mb.e_mbd.plane, in try_filter_frame()
49 vp9_loop_filter_frame(cm->frame_to_show, cm, &cpi->td.mb.e_mbd, filt_level, in try_filter_frame()
53 if (cm->use_highbitdepth) { in try_filter_frame()
54 filt_err = vpx_highbd_get_y_sse(sd, cm->frame_to_show); in try_filter_frame()
56 filt_err = vpx_get_y_sse(sd, cm->frame_to_show); in try_filter_frame()
59 filt_err = vpx_get_y_sse(sd, cm->frame_to_show); in try_filter_frame()
63 vpx_yv12_copy_y(&cpi->last_frame_uf, cm->frame_to_show); in try_filter_frame()
70 const VP9_COMMON *const cm = &cpi->common; in search_filter_level() local
[all …]
Dvp9_noise_estimate.c100 const VP9_COMMON *const cm = &cpi->common; in vp9_update_noise_estimate() local
102 const int low_res = (cm->width <= 352 && cm->height <= 288); in vp9_update_noise_estimate()
109 int min_blocks_estimate = cm->mi_rows * cm->mi_cols >> 7; in vp9_update_noise_estimate()
110 int frame_counter = cm->current_video_frame; in vp9_update_noise_estimate()
118 if (cm->width > 640 && cm->width < 1920) { in vp9_update_noise_estimate()
132 (ne->last_w != cm->width || ne->last_h != cm->height))) { in vp9_update_noise_estimate()
138 ne->last_w = cm->width; in vp9_update_noise_estimate()
139 ne->last_h = cm->height; in vp9_update_noise_estimate()
142 } else if (cm->current_video_frame > 60 && in vp9_update_noise_estimate()
175 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) { in vp9_update_noise_estimate()
[all …]
/external/syslinux/com32/menu/
Dmenumain.c38 static struct menu *cm; variable
58 #define WIDTH (cm->mparm[P_WIDTH])
59 #define MARGIN (cm->mparm[P_MARGIN])
60 #define PASSWD_MARGIN (cm->mparm[P_PASSWD_MARGIN])
61 #define MENU_ROWS (cm->mparm[P_MENU_ROWS])
62 #define TABMSG_ROW (cm->mparm[P_TABMSG_ROW]+VSHIFT)
63 #define CMDLINE_ROW (cm->mparm[P_CMDLINE_ROW]+VSHIFT)
64 #define END_ROW (cm->mparm[P_END_ROW])
65 #define PASSWD_ROW (cm->mparm[P_PASSWD_ROW]+VSHIFT)
66 #define TIMEOUT_ROW (cm->mparm[P_TIMEOUT_ROW]+VSHIFT)
[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.c109 unsigned char *cm = ff_cropTbl + CROP_WIDTH; in vp8_filter_block2d_first_pass_4() local
199 [vector4a] "r"(vector4a), [cm] "r"(cm), [dst_ptr] "r"(dst_ptr), in vp8_filter_block2d_first_pass_4()
265 [vector4a] "r"(vector4a), [cm] "r"(cm), [dst_ptr] "r"(dst_ptr), in vp8_filter_block2d_first_pass_4()
289 unsigned char *cm = ff_cropTbl + CROP_WIDTH; in vp8_filter_block2d_first_pass_8_all() local
379 dst_ptr[0] = cm[Temp1]; in vp8_filter_block2d_first_pass_8_all()
380 dst_ptr[1] = cm[Temp2]; in vp8_filter_block2d_first_pass_8_all()
381 dst_ptr[2] = cm[Temp3]; in vp8_filter_block2d_first_pass_8_all()
382 dst_ptr[3] = cm[Temp4]; in vp8_filter_block2d_first_pass_8_all()
427 dst_ptr[4] = cm[Temp1]; in vp8_filter_block2d_first_pass_8_all()
428 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.c130 void vp8_setup_version(VP8_COMMON *cm) { in vp8_setup_version() argument
131 switch (cm->version) { in vp8_setup_version()
133 cm->no_lpf = 0; in vp8_setup_version()
134 cm->filter_type = NORMAL_LOOPFILTER; in vp8_setup_version()
135 cm->use_bilinear_mc_filter = 0; in vp8_setup_version()
136 cm->full_pixel = 0; in vp8_setup_version()
139 cm->no_lpf = 0; in vp8_setup_version()
140 cm->filter_type = SIMPLE_LOOPFILTER; in vp8_setup_version()
141 cm->use_bilinear_mc_filter = 1; in vp8_setup_version()
142 cm->full_pixel = 0; in vp8_setup_version()
[all …]
/external/tcpdump/
Dascii_strcasecmp.c61 register const unsigned char *cm = charmap, in ascii_strcasecmp() local
65 while (cm[*us1] == cm[*us2++]) in ascii_strcasecmp()
68 return(cm[*us1] - cm[*--us2]); in ascii_strcasecmp()
74 register const unsigned char *cm = charmap, in ascii_strncasecmp() local
88 if (cm[*us1] != cm[*us2++]) { in ascii_strncasecmp()
104 return(cm[*us1] - cm[*--us2]); in ascii_strncasecmp()

12345678910>>...17