Searched refs:cm (Results 1 - 25 of 319) sorted by relevance

1234567891011>>

/external/libvpx/libvpx/vp9/common/
H A Dvp9_alloccommon.c20 static void clear_mi_border(const VP9_COMMON *cm, MODE_INFO *mi) { argument
24 vpx_memset(mi, 0, sizeof(*mi) * cm->mi_stride);
27 for (i = 1; i < cm->mi_rows + 1; ++i)
28 vpx_memset(&mi[i * cm->mi_stride], 0, sizeof(*mi));
31 static void set_mb_mi(VP9_COMMON *cm, int aligned_width, int aligned_height) { argument
32 cm->mi_cols = aligned_width >> MI_SIZE_LOG2;
33 cm->mi_rows = aligned_height >> MI_SIZE_LOG2;
34 cm->mi_stride = cm->mi_cols + MI_BLOCK_SIZE;
36 cm
41 setup_mi(VP9_COMMON *cm) argument
55 alloc_mi(VP9_COMMON *cm, int mi_size) argument
77 free_mi(VP9_COMMON *cm) argument
89 vp9_free_frame_buffers(VP9_COMMON *cm) argument
116 vp9_resize_frame_buffers(VP9_COMMON *cm, int width, int height) argument
162 vp9_alloc_frame_buffers(VP9_COMMON *cm, int width, int height) argument
222 vp9_remove_common(VP9_COMMON *cm) argument
227 vp9_update_frame_size(VP9_COMMON *cm) argument
239 vp9_swap_mi_and_prev_mi(VP9_COMMON *cm) argument
[all...]
H A Dvp9_alloccommon.h21 void vp9_remove_common(struct VP9Common *cm);
23 int vp9_resize_frame_buffers(struct VP9Common *cm, int width, int height);
25 int vp9_alloc_frame_buffers(struct VP9Common *cm, int width, int height);
27 void vp9_free_frame_buffers(struct VP9Common *cm);
29 void vp9_update_frame_size(struct VP9Common *cm);
31 void vp9_swap_mi_and_prev_mi(struct VP9Common *cm);
H A Dvp9_debugmodes.c16 static void log_frame_info(VP9_COMMON *cm, const char *str, FILE *f) { argument
18 fprintf(f, "(Frame %d, Show:%d, Q:%d): \n", cm->current_video_frame,
19 cm->show_frame, cm->base_qindex);
25 static void print_mi_data(VP9_COMMON *cm, FILE *file, const char *descriptor, argument
30 MODE_INFO **mi_8x8 = cm->mi_grid_visible;
31 int rows = cm->mi_rows;
32 int cols = cm->mi_cols;
35 log_frame_info(cm, descriptor, file);
50 void vp9_print_modes_and_motion_vectors(VP9_COMMON *cm, cons argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_alloccommon.c20 static void clear_mi_border(const VP9_COMMON *cm, MODE_INFO *mi) { argument
24 vpx_memset(mi, 0, sizeof(*mi) * cm->mi_stride);
27 for (i = 1; i < cm->mi_rows + 1; ++i)
28 vpx_memset(&mi[i * cm->mi_stride], 0, sizeof(*mi));
31 void vp9_set_mb_mi(VP9_COMMON *cm, int width, int height) { argument
35 cm->mi_cols = aligned_width >> MI_SIZE_LOG2;
36 cm->mi_rows = aligned_height >> MI_SIZE_LOG2;
37 cm->mi_stride = calc_mi_size(cm->mi_cols);
39 cm
44 setup_mi(VP9_COMMON *cm) argument
52 alloc_mi(VP9_COMMON *cm, int mi_size) argument
74 free_mi(VP9_COMMON *cm) argument
86 vp9_free_ref_frame_buffers(VP9_COMMON *cm) argument
102 vp9_free_context_buffers(VP9_COMMON *cm) argument
115 vp9_alloc_context_buffers(VP9_COMMON *cm, int width, int height) argument
141 init_frame_bufs(VP9_COMMON *cm) argument
153 vp9_alloc_ref_frame_buffers(VP9_COMMON *cm, int width, int height) argument
189 vp9_remove_common(VP9_COMMON *cm) argument
195 vp9_init_context_buffers(VP9_COMMON *cm) argument
201 vp9_swap_mi_and_prev_mi(VP9_COMMON *cm) argument
[all...]
H A Dvp9_alloccommon.h21 void vp9_remove_common(struct VP9Common *cm);
23 int vp9_alloc_context_buffers(struct VP9Common *cm, int width, int height);
24 void vp9_init_context_buffers(struct VP9Common *cm);
25 void vp9_free_context_buffers(struct VP9Common *cm);
27 int vp9_alloc_ref_frame_buffers(struct VP9Common *cm, int width, int height);
28 void vp9_free_ref_frame_buffers(struct VP9Common *cm);
30 int vp9_alloc_state_buffers(struct VP9Common *cm, int width, int height);
31 void vp9_free_state_buffers(struct VP9Common *cm);
33 void vp9_set_mb_mi(struct VP9Common *cm, int width, int height);
34 void vp9_swap_mi_and_prev_mi(struct VP9Common *cm);
[all...]
H A Dvp9_debugmodes.c16 static void log_frame_info(VP9_COMMON *cm, const char *str, FILE *f) { argument
18 fprintf(f, "(Frame %d, Show:%d, Q:%d): \n", cm->current_video_frame,
19 cm->show_frame, cm->base_qindex);
25 static void print_mi_data(VP9_COMMON *cm, FILE *file, const char *descriptor, argument
31 int rows = cm->mi_rows;
32 int cols = cm->mi_cols;
35 log_frame_info(cm, descriptor, file);
50 void vp9_print_modes_and_motion_vectors(VP9_COMMON *cm, const char *file) { argument
57 int rows = cm
[all...]
H A Dvp9_tile_common.c24 void vp9_tile_set_row(TileInfo *tile, const VP9_COMMON *cm, int row) { argument
25 tile->mi_row_start = get_tile_offset(row, cm->mi_rows, cm->log2_tile_rows);
26 tile->mi_row_end = get_tile_offset(row + 1, cm->mi_rows, cm->log2_tile_rows);
29 void vp9_tile_set_col(TileInfo *tile, const VP9_COMMON *cm, int col) { argument
30 tile->mi_col_start = get_tile_offset(col, cm->mi_cols, cm->log2_tile_cols);
31 tile->mi_col_end = get_tile_offset(col + 1, cm->mi_cols, cm
34 vp9_tile_init(TileInfo *tile, const VP9_COMMON *cm, int row, int col) argument
[all...]
/external/libcxx/test/extensions/hash_map/
H A Dconst_iterator.fail.cpp16 const __gnu_cxx::hash_map<int, int> &cm = m; local
17 cm.find(1)->second = 2; // error
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_decoder.c49 VP9_COMMON *const cm = pbi ? &pbi->common : NULL; local
51 if (!cm)
56 if (setjmp(cm->error.jmp)) {
57 cm->error.setjmp = 0;
62 cm->error.setjmp = 1;
67 vpx_memset(&cm->ref_frame_map, -1, sizeof(cm->ref_frame_map));
69 cm->current_video_frame = 0;
71 cm->bit_depth = VPX_BITS_8;
76 vp9_init_dequantizer(cm);
88 VP9_COMMON *const cm = &pbi->common; local
119 VP9_COMMON *cm = &pbi->common; local
147 vp9_set_reference_dec(VP9_COMMON *cm, VP9_REFFRAME ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
192 VP9_COMMON *const cm = &pbi->common; local
216 VP9_COMMON *const cm = &pbi->common; local
290 VP9_COMMON *const cm = &pbi->common; local
[all...]
H A Dvp9_decodeframe.c45 static int is_compound_reference_allowed(const VP9_COMMON *cm) { argument
48 if (cm->ref_frame_sign_bias[i + 1] != cm->ref_frame_sign_bias[1])
54 static void setup_compound_reference_mode(VP9_COMMON *cm) { argument
55 if (cm->ref_frame_sign_bias[LAST_FRAME] ==
56 cm->ref_frame_sign_bias[GOLDEN_FRAME]) {
57 cm->comp_fixed_ref = ALTREF_FRAME;
58 cm->comp_var_ref[0] = LAST_FRAME;
59 cm->comp_var_ref[1] = GOLDEN_FRAME;
60 } else if (cm
118 read_frame_reference_mode(const VP9_COMMON *cm, vp9_reader *r) argument
129 read_frame_reference_mode_probs(VP9_COMMON *cm, vp9_reader *r) argument
184 setup_plane_dequants(VP9_COMMON *cm, MACROBLOCKD *xd, int q_index) argument
240 VP9_COMMON *cm; member in struct:intra_args
249 VP9_COMMON *const cm = args->cm; local
275 VP9_COMMON *cm; member in struct:inter_args
285 VP9_COMMON *const cm = args->cm; local
298 set_offsets(VP9_COMMON *const cm, MACROBLOCKD *const xd, const TileInfo *const tile, BLOCK_SIZE bsize, int mi_row, int mi_col) argument
327 set_ref(VP9_COMMON *const cm, MACROBLOCKD *const xd, int idx, int mi_row, int mi_col) argument
343 decode_block(VP9_COMMON *const cm, MACROBLOCKD *const xd, const TileInfo *const tile, int mi_row, int mi_col, vp9_reader *r, BLOCK_SIZE bsize) argument
388 read_partition(VP9_COMMON *cm, MACROBLOCKD *xd, int hbs, int mi_row, int mi_col, BLOCK_SIZE bsize, vp9_reader *r) argument
412 decode_partition(VP9_COMMON *const cm, MACROBLOCKD *const xd, const TileInfo *const tile, int mi_row, int mi_col, vp9_reader* r, BLOCK_SIZE bsize) argument
587 setup_quantization(VP9_COMMON *const cm, MACROBLOCKD *const xd, struct vp9_read_bit_buffer *rb) argument
621 setup_display_size(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
628 resize_context_buffers(VP9_COMMON *cm, int width, int height) argument
655 setup_frame_size(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
684 setup_frame_size_with_refs(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
752 setup_tile_info(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
835 VP9_COMMON *const cm = &pbi->common; local
998 VP9_COMMON *const cm = &pbi->common; local
1122 VP9_COMMON *const cm = (VP9_COMMON *)data; local
1140 read_bitdepth_colorspace_sampling( VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
1176 VP9_COMMON *const cm = &pbi->common; local
1325 VP9_COMMON *const cm = &pbi->common; local
1375 vp9_init_dequantizer(VP9_COMMON *cm) argument
1392 debug_check_frame_counts(const VP9_COMMON *const cm) argument
1448 VP9_COMMON *const cm = &pbi->common; local
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
H A Dmarkselection.js20 CodeMirror.defineOption("styleSelectedText", false, function(cm, val, old) {
23 cm.state.markedSelection = [];
24 cm.state.markedSelectionStyle = typeof val == "string" ? val : "CodeMirror-selectedtext";
25 reset(cm);
26 cm.on("cursorActivity", onCursorActivity);
27 cm.on("change", onChange);
29 cm.off("cursorActivity", onCursorActivity);
30 cm.off("change", onChange);
31 clear(cm);
32 cm
[all...]
H A Dclosebrackets.js18 CodeMirror.defineOption("autoCloseBrackets", false, function(cm, val, old) {
20 cm.removeKeyMap("autoCloseBrackets");
30 cm.addKeyMap(map);
33 function charsAround(cm, pos) {
34 var str = cm.getRange(Pos(pos.line, pos.ch - 1),
42 Backspace: function(cm) {
43 if (cm.getOption("disableInput")) return CodeMirror.Pass;
44 var ranges = cm.listSelections();
47 var around = charsAround(cm, ranges[i].head);
52 cm
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dsegmentation.c15 void vp8_update_gf_useage_maps(VP8_COMP *cpi, VP8_COMMON *cm, MACROBLOCK *x) argument
19 MODE_INFO *this_mb_mode_info = cm->mi;
23 if ((cm->frame_type == KEY_FRAME) || (cm->refresh_golden_frame))
26 vpx_memset(cpi->gf_active_flags, 1, (cm->mb_rows * cm->mb_cols));
27 cpi->gf_active_count = cm->mb_rows * cm->mb_cols;
32 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++)
35 for (mb_col = 0; mb_col < cm
[all...]
H A Dpicklpf.c138 VP8_COMMON *cm = &cpi->common; local
142 int min_filter_level = get_min_filter_level(cpi, cm->base_qindex);
143 int max_filter_level = get_max_filter_level(cpi, cm->base_qindex);
145 int best_filt_val = cm->filter_level;
146 YV12_BUFFER_CONFIG * saved_frame = cm->frame_to_show;
149 cm->frame_to_show = &cpi->pick_lf_lvl_frame;
151 if (cm->frame_type == KEY_FRAME)
152 cm->sharpness_level = 0;
154 cm->sharpness_level = cpi->oxcf.Sharpness;
156 if (cm
268 VP8_COMMON *cm = &cpi->common; local
[all...]
/external/libvpx/libvpx/vp8/encoder/
H A Dsegmentation.c15 void vp8_update_gf_useage_maps(VP8_COMP *cpi, VP8_COMMON *cm, MACROBLOCK *x) argument
19 MODE_INFO *this_mb_mode_info = cm->mi;
23 if ((cm->frame_type == KEY_FRAME) || (cm->refresh_golden_frame))
26 vpx_memset(cpi->gf_active_flags, 1, (cm->mb_rows * cm->mb_cols));
27 cpi->gf_active_count = cm->mb_rows * cm->mb_cols;
32 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++)
35 for (mb_col = 0; mb_col < cm
[all...]
/external/tcpdump/
H A Dstrcasecmp.c70 register const u_char *cm = charmap, local
74 while (cm[*us1] == cm[*us2++])
77 return(cm[*us1] - cm[*--us2]);
85 register const u_char *cm = charmap, local
89 while (--n >= 0 && cm[*us1] == cm[*us2++])
92 return(n < 0 ? 0 : cm[*us1] - cm[*
[all...]
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_decoder.c115 VP9_COMMON *const cm = pbi ? &pbi->common : NULL; local
117 if (!cm)
122 if (setjmp(cm->error.jmp)) {
123 cm->error.setjmp = 0;
128 cm->error.setjmp = 1;
134 vpx_memset(&cm->ref_frame_map, -1, sizeof(cm->ref_frame_map));
136 cm->current_video_frame = 0;
144 vp9_init_dequantizer(cm);
146 vp9_loop_filter_init(cm);
156 VP9_COMMON *const cm = &pbi->common; local
188 VP9_COMMON *cm = &pbi->common; local
212 vp9_set_reference_dec(VP9_COMMON *cm, VP9_REFFRAME ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
256 VP9_COMMON *cm = &pbi->common; local
268 VP9_COMMON *const cm = &pbi->common; local
293 VP9_COMMON *const cm = &pbi->common; local
[all...]
H A Dvp9_decodeframe.c43 static int is_compound_reference_allowed(const VP9_COMMON *cm) { argument
46 if (cm->ref_frame_sign_bias[i + 1] != cm->ref_frame_sign_bias[1])
52 static void setup_compound_reference_mode(VP9_COMMON *cm) { argument
53 if (cm->ref_frame_sign_bias[LAST_FRAME] ==
54 cm->ref_frame_sign_bias[GOLDEN_FRAME]) {
55 cm->comp_fixed_ref = ALTREF_FRAME;
56 cm->comp_var_ref[0] = LAST_FRAME;
57 cm->comp_var_ref[1] = GOLDEN_FRAME;
58 } else if (cm
116 read_frame_reference_mode(const VP9_COMMON *cm, vp9_reader *r) argument
127 read_frame_reference_mode_probs(VP9_COMMON *cm, vp9_reader *r) argument
182 setup_plane_dequants(VP9_COMMON *cm, MACROBLOCKD *xd, int q_index) argument
236 VP9_COMMON *cm; member in struct:intra_args
245 VP9_COMMON *const cm = args->cm; local
271 VP9_COMMON *cm; member in struct:inter_args
281 VP9_COMMON *const cm = args->cm; local
294 set_offsets(VP9_COMMON *const cm, MACROBLOCKD *const xd, const TileInfo *const tile, BLOCK_SIZE bsize, int mi_row, int mi_col) argument
321 set_ref(VP9_COMMON *const cm, MACROBLOCKD *const xd, int idx, int mi_row, int mi_col) argument
334 decode_block(VP9_COMMON *const cm, MACROBLOCKD *const xd, const TileInfo *const tile, int mi_row, int mi_col, vp9_reader *r, BLOCK_SIZE bsize) argument
379 read_partition(VP9_COMMON *cm, MACROBLOCKD *xd, int hbs, int mi_row, int mi_col, BLOCK_SIZE bsize, vp9_reader *r) argument
403 decode_partition(VP9_COMMON *const cm, MACROBLOCKD *const xd, const TileInfo *const tile, int mi_row, int mi_col, vp9_reader* r, BLOCK_SIZE bsize) argument
572 setup_quantization(VP9_COMMON *const cm, MACROBLOCKD *const xd, struct vp9_read_bit_buffer *rb) argument
608 setup_display_size(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
615 apply_frame_size(VP9_COMMON *cm, int width, int height) argument
642 setup_frame_size(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
649 setup_frame_size_with_refs(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
677 VP9_COMMON *const cm = &pbi->common; local
732 setup_tile_info(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
782 VP9_COMMON *const cm = &pbi->common; local
871 VP9_COMMON *const cm = &pbi->common; local
998 check_sync_code(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
1008 VP9_COMMON *const cm = (VP9_COMMON *)data; local
1020 VP9_COMMON *const cm = &pbi->common; local
1160 VP9_COMMON *const cm = &pbi->common; local
1209 vp9_init_dequantizer(VP9_COMMON *cm) argument
1226 debug_check_frame_counts(const VP9_COMMON *const cm) argument
1261 VP9_COMMON *const cm = &pbi->common; local
[all...]
/external/libvpx/libvpx/vp8/decoder/
H A Donyxd_if.c40 extern void vp8_init_loop_filter(VP8_COMMON *cm);
42 static int get_free_fb (VP8_COMMON *cm);
112 VP8_COMMON *cm = &pbi->common; local
116 ref_fb_idx = cm->lst_fb_idx;
118 ref_fb_idx = cm->gld_fb_idx;
120 ref_fb_idx = cm->alt_fb_idx;
127 if(cm->yv12_fb[ref_fb_idx].y_height != sd->y_height ||
128 cm->yv12_fb[ref_fb_idx].y_width != sd->y_width ||
129 cm->yv12_fb[ref_fb_idx].uv_height != sd->uv_height ||
130 cm
143 VP8_COMMON *cm = &pbi->common; local
187 get_free_fb(VP8_COMMON *cm) argument
210 swap_frame_buffers(VP8_COMMON *cm) argument
272 VP8_COMMON *cm = &pbi->common; local
313 VP8_COMMON *cm = &pbi->common; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/
H A Donyxd_if.c40 extern void vp8_init_loop_filter(VP8_COMMON *cm);
42 static int get_free_fb (VP8_COMMON *cm);
112 VP8_COMMON *cm = &pbi->common; local
116 ref_fb_idx = cm->lst_fb_idx;
118 ref_fb_idx = cm->gld_fb_idx;
120 ref_fb_idx = cm->alt_fb_idx;
127 if(cm->yv12_fb[ref_fb_idx].y_height != sd->y_height ||
128 cm->yv12_fb[ref_fb_idx].y_width != sd->y_width ||
129 cm->yv12_fb[ref_fb_idx].uv_height != sd->uv_height ||
130 cm
143 VP8_COMMON *cm = &pbi->common; local
181 get_free_fb(VP8_COMMON *cm) argument
204 swap_frame_buffers(VP8_COMMON *cm) argument
266 VP8_COMMON *cm = &pbi->common; local
304 VP8_COMMON *cm = &pbi->common; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_aq_complexity.c33 VP9_COMMON *const cm = &cpi->common; local
34 struct segmentation *const seg = &cm->seg;
39 if (cm->frame_type == KEY_FRAME ||
43 const int aq_strength = get_aq_c_strength(cm->base_qindex, cm->bit_depth);
47 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols);
50 vpx_memset(cpi->complexity_map, 0, cm->mi_rows * cm->mi_cols);
72 vp9_compute_qdelta_by_rate(&cpi->rc, cm
100 VP9_COMMON *const cm = &cpi->common; local
[all...]
/external/chromium_org/third_party/skia/experimental/webtry/res/css/cm/
H A Dcodemirror.css52 .CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {
60 .cm-tab { display: inline-block; }
69 .cm-s-default .cm-keyword {color: #708;}
70 .cm-s-default .cm-atom {color: #219;}
71 .cm-s-default .cm-number {color: #164;}
72 .cm-s-default .cm
[all...]
/external/skia/experimental/webtry/res/css/cm/
H A Dcodemirror.css52 .CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {
60 .cm-tab { display: inline-block; }
69 .cm-s-default .cm-keyword {color: #708;}
70 .cm-s-default .cm-atom {color: #219;}
71 .cm-s-default .cm-number {color: #164;}
72 .cm-s-default .cm
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DinspectorSyntaxHighlight.css28 .cm-js-keyword {color: rgb(170, 13, 145);}
29 .cm-js-number {color: rgb(28, 0, 207);}
30 .cm-js-comment {color: rgb(0, 116, 0);}
31 .cm-js-string {color: rgb(196, 26, 22);}
32 .cm-js-string-2 {color: rgb(196, 26, 22);}
34 .cm-css-keyword { color: rgb(7, 144, 154);}
35 .cm-css-number {color: rgb(50, 0, 255);}
36 .cm-css-comment {color: rgb(0, 116, 0);}
37 .cm-css-def {color: rgb(200, 0, 0);}
38 .cm
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_aq_complexity.c22 VP9_COMMON *const cm = &cpi->common; local
23 struct segmentation *const seg = &cm->seg;
28 if (cm->frame_type == KEY_FRAME ||
34 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols);
37 vpx_memset(cpi->complexity_map, 0, cm->mi_rows * cm->mi_cols);
51 vp9_compute_qdelta_by_rate(&cpi->rc, cm->frame_type, cm->base_qindex,
63 VP9_COMMON *const cm local
[all...]

Completed in 555 milliseconds

1234567891011>>