Searched refs:mi_cols (Results 1 - 25 of 42) sorted by relevance

12

/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_aq_complexity.c34 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);
65 const int mi_offset = mi_row * cm->mi_cols + mi_col;
68 const int xmis = MIN(cm->mi_cols - mi_col, bw);
98 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment;
99 cpi->complexity_map[mi_offset + y * cm->mi_cols + x] =
H A Dvp9_aq_cyclicrefresh.c50 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols) { argument
55 cr->map = vpx_calloc(mi_rows * mi_cols, sizeof(*cr->map));
76 // Number of (8x8) blocks in frame = mi_rows * mi_cols;
78 const int number_blocks = cm->mi_rows * cm->mi_cols;
136 const int xmis = MIN(cm->mi_cols - mi_col, bw);
138 const int block_index = mi_row * cm->mi_cols + mi_col;
168 cr->map[block_index + y * cm->mi_cols + x] = new_map_value;
169 cpi->segmentation_map[block_index + y * cm->mi_cols + x] =
191 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols);
225 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols);
[all...]
H A Dvp9_aq_cyclicrefresh.h26 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols);
H A Dvp9_segmentation.c37 (cpi->common.mi_rows * cpi->common.mi_cols));
133 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols)
139 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols);
176 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols)
H A Dvp9_mbgraph.c348 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) {
353 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0;
355 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1;
366 cpi->static_mb_pct = (ncnt[1] * 100) / (cm->mi_rows * cm->mi_cols);
H A Dvp9_encodeframe.c238 x->mv_col_max = (cm->mi_cols - mi_col) * MI_SIZE + VP9_INTERP_EXTEND;
243 cm->mi_rows, cm->mi_cols);
278 if (mi_row + j < cm->mi_rows && mi_col + i < cm->mi_cols)
287 if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) {
425 if (mi_col + block_width / 2 < cm->mi_cols &&
443 if (mi_col + block_width / 2 < cm->mi_cols &&
550 mi_row + x32_idx + x16_idx + 1 < cm->mi_cols) {
1045 const int mi_offset = mi_row * cm->mi_cols + mi_col;
1048 (mi_col <= 1) || (mi_col >= (cm->mi_cols - 2));
1240 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols)
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_tile_common.c30 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->log2_tile_cols);
39 void vp9_get_tile_n_bits(int mi_cols, argument
41 const int sb_cols = mi_cols_aligned_to_sb(mi_cols) >> MI_BLOCK_SIZE_LOG2;
H A Dvp9_tile_common.h33 void vp9_get_tile_n_bits(int mi_cols,
H A Dvp9_alloccommon.c35 cm->mi_cols = aligned_width >> MI_SIZE_LOG2;
37 cm->mi_stride = calc_mi_size(cm->mi_cols);
39 cm->mb_cols = (cm->mi_cols + 1) >> 1;
122 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1);
126 2 * mi_cols_aligned_to_sb(cm->mi_cols) * MAX_MB_PLANE,
131 mi_cols_aligned_to_sb(cm->mi_cols), sizeof(*cm->above_seg_context));
198 vpx_memset(cm->last_frame_seg_map, 0, cm->mi_rows * cm->mi_cols);
H A Dvp9_debugmodes.c32 int cols = cm->mi_cols;
58 int cols = cm->mi_cols;
H A Dvp9_onyxc_int.h128 int mb_cols, mi_cols; member in struct:VP9Common
250 i * sizeof(*cm->above_context) * 2 * mi_cols_aligned_to_sb(cm->mi_cols);
286 int mi_rows, int mi_cols) {
290 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8;
H A Dvp9_pred_common.c371 const int mi_offset = mi_row * cm->mi_cols + mi_col;
374 const int xmis = MIN(cm->mi_cols - mi_col, bw);
381 segment_ids[mi_offset + y * cm->mi_cols + x]);
H A Dvp9_loopfilter.c651 const int max_cols = (mi_col + MI_BLOCK_SIZE > cm->mi_cols ?
652 cm->mi_cols - mi_col : MI_BLOCK_SIZE);
812 if (mi_col + MI_BLOCK_SIZE > cm->mi_cols) {
813 const uint64_t columns = cm->mi_cols - mi_col;
931 for (c = 0; c < MI_BLOCK_SIZE && mi_col + c < cm->mi_cols; c += col_step) {
946 const int skip_border_4x4_c = ss_x && mi_col + c == cm->mi_cols - 1;
1209 for (mi_col = 0; mi_col < cm->mi_cols; mi_col += MI_BLOCK_SIZE) {
/external/libvpx/libvpx/vp9/common/
H A Dvp9_tile_common.c27 tile->mi_col_start = get_tile_offset(col, cm->mi_cols, cm->log2_tile_cols);
28 tile->mi_col_end = get_tile_offset(col + 1, cm->mi_cols, cm->log2_tile_cols);
31 void vp9_get_tile_n_bits(int mi_cols, argument
33 const int sb_cols = mi_cols_aligned_to_sb(mi_cols) >> MI_BLOCK_SIZE_LOG2;
H A Dvp9_tile_common.h30 void vp9_get_tile_n_bits(int mi_cols,
H A Dvp9_alloccommon.c32 cm->mi_cols = aligned_width >> MI_SIZE_LOG2;
34 cm->mi_stride = cm->mi_cols + MI_BLOCK_SIZE;
36 cm->mb_cols = (cm->mi_cols + 1) >> 1;
136 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1);
142 (ENTROPY_CONTEXT *)vpx_calloc(2 * mi_cols_aligned_to_sb(cm->mi_cols) *
150 (PARTITION_CONTEXT *)vpx_calloc(mi_cols_aligned_to_sb(cm->mi_cols),
198 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1);
203 (ENTROPY_CONTEXT *)vpx_calloc(2 * mi_cols_aligned_to_sb(cm->mi_cols) *
210 (PARTITION_CONTEXT *)vpx_calloc(mi_cols_aligned_to_sb(cm->mi_cols),
236 vpx_memset(cm->last_frame_seg_map, 0, cm->mi_rows * cm->mi_cols);
[all...]
H A Dvp9_debugmodes.c32 int cols = cm->mi_cols;
57 int cols = cm->mi_cols;
H A Dvp9_onyxc_int.h128 int mb_cols, mi_cols; member in struct:VP9Common
249 i * sizeof(*cm->above_context) * 2 * mi_cols_aligned_to_sb(cm->mi_cols);
276 int mi_rows, int mi_cols) {
280 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8;
H A Dvp9_pred_common.c371 const int mi_offset = mi_row * cm->mi_cols + mi_col;
374 const int xmis = MIN(cm->mi_cols - mi_col, bw);
381 segment_ids[mi_offset + y * cm->mi_cols + x]);
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_aq_cyclicrefresh.c49 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols) { argument
54 cr->map = vpx_calloc(mi_rows * mi_cols, sizeof(*cr->map));
75 // Number of (8x8) blocks in frame = mi_rows * mi_cols;
77 const int number_blocks = cm->mi_rows * cm->mi_cols;
135 const int xmis = MIN(cm->mi_cols - mi_col, bw);
137 const int block_index = mi_row * cm->mi_cols + mi_col;
168 cr->map[block_index + y * cm->mi_cols + x] = new_map_value;
169 cpi->segmentation_map[block_index + y * cm->mi_cols + x] =
191 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols);
224 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols);
[all...]
H A Dvp9_aq_complexity.c47 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);
102 const int mi_offset = mi_row * cm->mi_cols + mi_col;
105 const int xmis = MIN(cm->mi_cols - mi_col, bw);
146 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment;
147 cpi->complexity_map[mi_offset + y * cm->mi_cols + x] =
H A Dvp9_aq_cyclicrefresh.h26 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols);
H A Dvp9_segmentation.c121 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols)
127 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols);
163 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols)
H A Dvp9_mbgraph.c339 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) {
344 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0;
346 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1;
357 cpi->static_mb_pct = (ncnt[1] * 100) / (cm->mi_rows * cm->mi_cols);
H A Dvp9_encodeframe.c161 x->mv_col_max = (cm->mi_cols - mi_col) * MI_SIZE + VP9_INTERP_EXTEND;
166 cm->mi_rows, cm->mi_cols);
199 if (mi_row + j < cm->mi_rows && mi_col + i < cm->mi_cols)
207 if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) {
346 if (mi_col + block_width / 2 < cm->mi_cols &&
364 if (mi_col + block_width / 2 < cm->mi_cols &&
471 mi_row + x32_idx + x16_idx + 1 < cm->mi_cols) {
760 const int mi_offset = mi_row * cm->mi_cols + mi_col;
763 (mi_col <= 1) || (mi_col >= (cm->mi_cols - 2));
933 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols)
[all...]

Completed in 258 milliseconds

12