/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_aq_complexity.c | 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); 66 const int mi_offset = mi_row * cm->mi_cols + mi_col; 69 const int xmis = MIN(cm->mi_cols - mi_col, bw); 99 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment; 100 cpi->complexity_map[mi_offset + y * cm->mi_cols + x] =
|
vp9_aq_cyclicrefresh.c | 50 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols) { 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...] |
vp9_aq_cyclicrefresh.h | 26 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols);
|
vp9_segmentation.c | 37 (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)
|
vp9_mbgraph.c | 348 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);
|
/external/libvpx/libvpx/vp9/common/ |
vp9_tile_common.c | 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->log2_tile_cols); 53 void vp9_get_tile_n_bits(int mi_cols, 55 const int sb64_cols = mi_cols_aligned_to_sb(mi_cols) >> MI_BLOCK_SIZE_LOG2;
|
vp9_tile_common.h | 33 void vp9_get_tile_n_bits(int mi_cols,
|
vp9_alloccommon.c | 42 cm->mi_cols = aligned_width >> MI_SIZE_LOG2; 44 cm->mi_stride = calc_mi_size(cm->mi_cols); 46 cm->mb_cols = (cm->mi_cols + 1) >> 1; 133 if (cm->seg_map_alloc_size < cm->mi_rows * cm->mi_cols) { 136 if (alloc_seg_map(cm, cm->mi_rows * cm->mi_cols)) 140 if (cm->above_context_alloc_cols < cm->mi_cols) { 143 2 * mi_cols_aligned_to_sb(cm->mi_cols) * MAX_MB_PLANE, 149 mi_cols_aligned_to_sb(cm->mi_cols), sizeof(*cm->above_seg_context)); 151 cm->above_context_alloc_cols = cm->mi_cols; 158 cm->lf.lfm_stride = (cm->mi_cols + (MI_BLOCK_SIZE - 1)) >> 3 [all...] |
vp9_debugmodes.c | 30 int cols = cm->mi_cols; 54 int cols = cm->mi_cols;
|
vp9_onyxc_int.h | 75 int mi_cols; member in struct:__anon16579 180 int mb_cols, mi_cols; member in struct:VP9Common 359 i * sizeof(*cm->above_context) * 2 * mi_cols_aligned_to_sb(cm->mi_cols); 400 int mi_rows, int mi_cols) { 404 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8;
|
vp9_pred_common.h | 25 const int mi_offset = mi_row * cm->mi_cols + mi_col; 28 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 35 VPXMIN(segment_id, segment_ids[mi_offset + y * cm->mi_cols + x]);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_tile_common.c | 27 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, 33 const int sb_cols = mi_cols_aligned_to_sb(mi_cols) >> MI_BLOCK_SIZE_LOG2;
|
vp9_tile_common.h | 30 void vp9_get_tile_n_bits(int mi_cols,
|
vp9_alloccommon.c | 32 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...] |
vp9_debugmodes.c | 32 int cols = cm->mi_cols; 57 int cols = cm->mi_cols;
|
vp9_onyxc_int.h | 128 int mb_cols, mi_cols; member in struct:VP9Common 246 i * sizeof(*cm->above_context) * 2 * mi_cols_aligned_to_sb(cm->mi_cols); 273 int mi_rows, int mi_cols) { 277 xd->mb_to_right_edge = ((mi_cols - bw - mi_col) * MI_SIZE) * 8;
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_aq_cyclicrefresh.c | 24 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols) { 31 cr->map = vpx_calloc(mi_rows * mi_cols, sizeof(*cr->map)); 36 last_coded_q_map_size = mi_rows * mi_cols * sizeof(*cr->last_coded_q_map); 45 consec_zero_mv_size = mi_rows * mi_cols * sizeof(*cr->consec_zero_mv); 69 // Number of (8x8) blocks in frame = mi_rows * mi_cols; 71 const int number_blocks = cm->mi_rows * cm->mi_cols; 170 int target_refresh = cr->percent_refresh * cm->mi_rows * cm->mi_cols / 100; 199 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 201 const int block_index = mi_row * cm->mi_cols + mi_col; 238 int map_offset = block_index + y * cm->mi_cols + x [all...] |
vp9_aq_complexity.c | 61 memset(cpi->segmentation_map, DEFAULT_AQ2_SEG, cm->mi_rows * cm->mi_cols); 118 const int mi_offset = mi_row * cm->mi_cols + mi_col; 121 const int xmis = VPXMIN(cm->mi_cols - mi_col, num_8x8_blocks_wide_lookup[bs]); 162 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment;
|
vp9_aq_cyclicrefresh.h | 76 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols);
|
vp9_segmentation.c | 117 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) 123 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); 159 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols)
|
vp9_mbgraph.c | 345 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { 350 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0; 352 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1; 363 cpi->static_mb_pct = (ncnt[1] * 100) / (cm->mi_rows * cm->mi_cols);
|
vp9_encodeframe.c | 181 x->mbmi_ext = x->mbmi_ext_base + (mi_row * cm->mi_cols + mi_col); 208 x->mv_col_max = (cm->mi_cols - mi_col) * MI_SIZE + VP9_INTERP_EXTEND; 213 cm->mi_rows, cm->mi_cols); 249 if (mi_row + j < cm->mi_rows && mi_col + i < cm->mi_cols) 259 if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) { 419 if (mi_col + block_width / 2 < cm->mi_cols && 437 if (mi_col + block_width / 2 < cm->mi_cols && 458 if (mi_col + block_width / 2 < cm->mi_cols) { 711 + (mi_col + 4 < cm->mi_cols) * 2 + (mi_row + 4 < cm->mi_rows); 777 if (mi_col + block_width / 2 < cm->mi_cols & [all...] |
vp9_denoiser.c | 558 int min_blocks_estimate = cm->mi_rows * cm->mi_cols >> 7; 588 for (mi_col = 0; mi_col < cm->mi_cols; mi_col ++) { 591 int bl_index = mi_row * cm->mi_cols + mi_col; 593 int bl_index2 = bl_index + cm->mi_cols; 636 src_y += (src_ystride << 3) - (cm->mi_cols << 3); 637 last_src_y += (last_src_ystride << 3) - (cm->mi_cols << 3); 638 src_u += (src_uvstride << 2) - (cm->mi_cols << 2); 639 src_v += (src_uvstride << 2) - (cm->mi_cols << 2);
|
vp9_ethread.c | 57 int mi_cols = aligned_width >> MI_SIZE_LOG2; local 61 vp9_get_tile_n_bits(mi_cols, &min_log2_tile_cols, &max_log2_tile_cols);
|
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decodemv.c | 102 VPXMIN(segment_id, segment_ids[mi_offset + y * cm->mi_cols + x]); 116 cm->current_frame_seg_map[mi_offset + y * cm->mi_cols + x] = segment_id; 127 current_segment_ids[mi_offset + y * cm->mi_cols + x] = last_segment_ids ? 128 last_segment_ids[mi_offset + y * cm->mi_cols + x] : 0; 156 const int mi_offset = mi_row * cm->mi_cols + mi_col; 161 const int x_mis = VPXMIN(cm->mi_cols - mi_col, bw); 212 const int mi_offset = mi_row * cm->mi_cols + mi_col; 217 const int x_mis = VPXMIN(cm->mi_cols - mi_col, bw); 614 MV_REF* frame_mvs = cm->cur_frame->mvs + mi_row * cm->mi_cols + mi_col; 623 MV_REF *const frame_mv = frame_mvs + h * cm->mi_cols; [all...] |