/external/libvpx/libvpx/vp9/common/ |
vp9_debugmodes.c | 27 int mi_row, mi_col; local 36 for (mi_col = 0; mi_col < cols; mi_col++) { 48 int mi_col; local 64 for (mi_col = 0; mi_col < cols; mi_col++) { 78 for (mi_col = 0; mi_col < cols; mi_col++) [all...] |
vp9_mfqe.c | 344 int mi_row, mi_col; local 351 for (mi_col = 0; mi_col < cm->mi_cols; mi_col += MI_BLOCK_SIZE) { 353 MODE_INFO *mi_local = cm->mi + (mi_row * cm->mi_stride + mi_col); 356 cm->postproc_state.prev_mi + (mi_row * cm->mi_stride + mi_col); 363 const uint32_t col_offset_y = mi_col << 3; 364 const uint32_t col_offset_uv = mi_col << 2;
|
vp9_thread_common.c | 94 int mi_row, mi_col; local 110 for (mi_col = 0; mi_col < cm->mi_cols; mi_col += MI_BLOCK_SIZE, ++lfm) { 112 const int c = mi_col >> MI_BLOCK_SIZE_LOG2; 117 vp9_setup_dst_planes(planes, frame_buffer, mi_row, mi_col); 119 vp9_adjust_mask(cm, mi_row, mi_col, lfm); 131 vp9_filter_block_plane_non420(cm, &planes[plane], mi + mi_col, 132 mi_row, mi_col);
|
vp9_loopfilter.c | 766 void vp9_adjust_mask(VP9_COMMON *const cm, const int mi_row, const int mi_col, 819 if (mi_col + MI_BLOCK_SIZE > cm->mi_cols) { 820 const uint64_t columns = cm->mi_cols - mi_col; 854 if (mi_col == 0) { 881 // by mi_row, mi_col 1421 int mi_row, mi_col; local 1485 int mi_col, mi_row; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_mbgraph.c | 290 int mi_row, mi_col; local 329 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { 332 if (arf_not_zz[mi_row / 2 * cm->mb_cols + mi_col / 2]) { 334 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0; 336 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1;
|
vp9_noise_estimate.c | 181 int mi_row, mi_col; local 185 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { 186 int bl_index = mi_row * cm->mi_cols + mi_col; 194 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) { 196 if (mi_row % 4 == 0 && mi_col % 4 == 0 && mi_row < cm->mi_rows - 1 && 197 mi_col < cm->mi_cols - 1) [all...] |
vp9_segmentation.c | 109 int mi_col) { 112 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; 117 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); 127 get_segment_id(cm, cm->last_frame_seg_map, bsize, mi_row, mi_col); 145 int *t_unpred_seg_counts, int mi_row, int mi_col, 151 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; 158 t_unpred_seg_counts, bs, bs, mi_row, mi_col); 161 t_unpred_seg_counts, bs, hbs, mi_row, mi_col); 164 mi_row + hbs, mi_col); 167 t_unpred_seg_counts, hbs, bs, mi_row, mi_col); 194 int i, tile_col, mi_row, mi_col; local [all...] |
vp9_skin_detection.c | 41 int mi_col) { 54 const int y_shift = src_ystride * (mi_row << 3) + (mi_col << 3); 55 const int uv_shift = src_uvstride * (mi_row << 2) + (mi_col << 2); 57 const int mi_col_limit = VPXMIN(mi_col + 8, cm->mi_cols - 2); 64 for (j = mi_col; j < mi_col_limit; j += fac) { 97 for (j = mi_col; j < mi_col_limit; j += fac) { 103 if ((i == mi_row && (j == mi_col || j == mi_col_limit - fac)) || 104 (i == mi_row_limit - fac && (j == mi_col || j == mi_col_limit - fac))) 107 if (i == mi_row || i == mi_row_limit - fac || j == mi_col || 113 if (i + mi >= mi_row && i + mi < mi_row_limit && j + mj >= mi_col & 132 int i, j, mi_row, mi_col, num_bl; local [all...] |
vp9_aq_cyclicrefresh.c | 145 // Prior to coding a given prediction block, of size bsize at (mi_row, mi_col), 149 int mi_row, int mi_col, BLOCK_SIZE bsize, 156 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 158 const int block_index = mi_row * cm->mi_cols + mi_col; 213 int mi_row, int mi_col, 219 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 221 const int block_index = mi_row * cm->mi_cols + mi_col; 256 int mi_row, mi_col; local 260 for (mi_col = 0; mi_col < cm->mi_cols; mi_col++) 370 int mi_col = sb_col_index * MI_BLOCK_SIZE; local [all...] |
vp9_bitstream.c | 373 int mi_row, int mi_col, unsigned int *const max_mv_magnitude, 377 cpi->td.mb.mbmi_ext_base + (mi_row * cm->mi_cols + mi_col); 380 xd->mi = cm->mi_grid_visible + (mi_row * cm->mi_stride + mi_col); 384 mi_col, num_8x8_blocks_wide_lookup[m->sb_type], cm->mi_rows, 399 int mi_col, PARTITION_TYPE p, BLOCK_SIZE bsize, 401 const int ctx = partition_plane_context(xd, mi_row, mi_col, bsize); 404 const int has_cols = (mi_col + hbs) < cm->mi_cols; 422 int mi_row, int mi_col, BLOCK_SIZE bsize, 432 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) return; 434 m = cm->mi_grid_visible[mi_row * cm->mi_stride + mi_col]; 488 int mi_row, mi_col, tile_sb_row; local [all...] |
vp9_ratectrl.c | 1343 int mi_row, mi_col; local 1363 int mi_row, mi_col; local [all...] |
vp9_encodeframe.c | 52 int output_enabled, int mi_row, int mi_col, 181 int mi_row, int mi_col, 189 &last->y_buffer[mi_row * MI_SIZE * last->y_stride + mi_col * MI_SIZE]; 195 int mi_row, int mi_col) { 197 cpi, &x->plane[0].src, mi_row, mi_col, BLOCK_64X64); 213 int mi_col) { 214 const int idx_str = xd->mi_stride * mi_row + mi_col; 217 x->mbmi_ext = x->mbmi_ext_base + (mi_row * cm->mi_cols + mi_col); 221 MACROBLOCK *const x, int mi_row, int mi_col, 231 set_skip_context(xd, mi_row, mi_col); 3548 int mi_col; local 3661 int mi_row, mi_col; local 4333 int mi_col; local 4864 int mi_row, mi_col; local [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decodeframe.c | 632 int mi_col) { 634 const int mi_x = mi_col * MI_SIZE; 656 vp9_setup_pre_planes(xd, ref, ref_buf->buf, mi_row, mi_col, 719 BLOCK_SIZE bsize, int mi_row, int mi_col, int bw, 721 const int offset = mi_row * cm->mi_stride + mi_col; 737 set_skip_context(xd, mi_row, mi_col); 741 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); 743 vp9_setup_dst_planes(xd->plane, get_frame_new_buffer(cm), mi_row, mi_col); 748 int mi_col, BLOCK_SIZE bsize, int bwl, int bhl) { 753 const int x_mis = VPXMIN(bw, cm->mi_cols - mi_col); 1360 int mi_row, mi_col; local 1497 int mi_row, mi_col; local [all...] |