/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_aq_cyclicrefresh.h | 26 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols);
|
H A D | vp9_aq_cyclicrefresh.c | 49 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; 136 const int ymis = MIN(cm->mi_rows - mi_row, bh); 191 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols); 224 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols); 259 sb_rows = (cm->mi_rows + MI_BLOCK_SIZE - 1) / MI_BLOCK_SIZE; 275 assert(mi_row >= 0 && mi_row < cm->mi_rows); 281 ymis = MIN(cm->mi_rows [all...] |
H A D | vp9_aq_complexity.c | 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); 106 const int ymis = MIN(cm->mi_rows - mi_row, bh);
|
H A D | vp9_segmentation.c | 121 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) 231 for (mi_row = 0; mi_row < cm->mi_rows;
|
H A D | vp9_encodeframe.c | 160 x->mv_row_max = (cm->mi_rows - mi_row) * 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) { 347 mi_row + block_height / 2 < cm->mi_rows && 354 if (mi_row + block_height / 2 < cm->mi_rows && 470 if (mi_row + y32_idx + y16_idx + 1 < cm->mi_rows && 762 const int is_edge = (mi_row <= 1) || (mi_row >= (cm->mi_rows - 2)) || 933 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) 964 if (mi_row + hbs < cm->mi_rows [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_aq_cyclicrefresh.h | 26 CYCLIC_REFRESH *vp9_cyclic_refresh_alloc(int mi_rows, int mi_cols);
|
H A D | 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); 69 const int ymis = MIN(cm->mi_rows - mi_row, bh);
|
H A D | vp9_aq_cyclicrefresh.c | 50 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; 137 const int ymis = MIN(cm->mi_rows - mi_row, bh); 191 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols); 225 vpx_memset(seg_map, 0, cm->mi_rows * cm->mi_cols); 259 sb_rows = (cm->mi_rows + MI_BLOCK_SIZE - 1) / MI_BLOCK_SIZE; 275 assert(mi_row >= 0 && mi_row < cm->mi_rows); 281 ymis = MIN(cm->mi_rows [all...] |
H A D | 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) 247 for (mi_row = 0; mi_row < cm->mi_rows;
|
H A D | vp9_encodeframe.c | 237 x->mv_row_max = (cm->mi_rows - mi_row) * 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) { 426 mi_row + block_height / 2 < cm->mi_rows && 433 if (mi_row + block_height / 2 < cm->mi_rows && 549 if (mi_row + y32_idx + y16_idx + 1 < cm->mi_rows && 1047 const int is_edge = (mi_row <= 1) || (mi_row >= (cm->mi_rows - 2)) || 1240 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) 1274 if (mi_row + hbs < cm->mi_rows) { [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
H A D | vp9_tile_common.c | 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);
|
H A D | vp9_alloccommon.c | 27 for (i = 1; i < cm->mi_rows + 1; ++i) 36 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; 40 cm->mb_rows = (cm->mi_rows + 1) >> 1; 48 vpx_memset(cm->mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mip)); 119 if (alloc_mi(cm, cm->mi_stride * calc_mi_size(cm->mi_rows))) 122 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1); 198 vpx_memset(cm->last_frame_seg_map, 0, cm->mi_rows * cm->mi_cols);
|
H A D | vp9_debugmodes.c | 31 int rows = cm->mi_rows; 57 int rows = cm->mi_rows;
|
H A D | vp9_loopfilter.c | 649 const int max_rows = (mi_row + MI_BLOCK_SIZE > cm->mi_rows ? 650 cm->mi_rows - mi_row : MI_BLOCK_SIZE); 783 if (mi_row + MI_BLOCK_SIZE > cm->mi_rows) { 784 const uint64_t rows = cm->mi_rows - mi_row; 924 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { 947 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; 1016 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { 1017 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; 1059 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += 2) { 1088 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; [all...] |
H A D | vp9_mvref_common.h | 191 int mi_col, int mi_row, int mi_rows, 195 mi_row + mi_pos->row >= mi_rows || 190 is_inside(const TileInfo *const tile, int mi_col, int mi_row, int mi_rows, const POSITION *mi_pos) argument
|
H A D | vp9_mvref_common.c | 42 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 62 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 88 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) {
|
H A D | vp9_onyxc_int.h | 124 // MBs, mb_rows/cols is in 16-pixel units; mi_rows/cols is in 127 int mb_rows, mi_rows; member in struct:VP9Common 286 int mi_rows, int mi_cols) { 288 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8;
|
H A D | vp9_entropymode.c | 443 vpx_memset(cm->last_frame_seg_map, 0, (cm->mi_rows * cm->mi_cols)); 468 vpx_memset(cm->prev_mip, 0, cm->mi_stride * (cm->mi_rows + 1) * 471 vpx_memset(cm->mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mip));
|
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_tile_common.c | 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);
|
H A D | vp9_alloccommon.c | 27 for (i = 1; i < cm->mi_rows + 1; ++i) 33 cm->mi_rows = aligned_height >> MI_SIZE_LOG2; 37 cm->mb_rows = (cm->mi_rows + 1) >> 1; 47 vpx_memset(cm->mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mip)); 49 vpx_memset(cm->mi_grid_base, 0, cm->mi_stride * (cm->mi_rows + 1) * 129 if (alloc_mi(cm, cm->mi_stride * (cm->mi_rows + MI_BLOCK_SIZE))) 136 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1); 192 if (alloc_mi(cm, cm->mi_stride * (cm->mi_rows + MI_BLOCK_SIZE))) 198 cm->last_frame_seg_map = (uint8_t *)vpx_calloc(cm->mi_rows * cm->mi_cols, 1); 236 vpx_memset(cm->last_frame_seg_map, 0, cm->mi_rows * c [all...] |
H A D | vp9_debugmodes.c | 31 int rows = cm->mi_rows; 56 int rows = cm->mi_rows;
|
H A D | vp9_mvref_common.c | 181 int mi_col, int mi_row, int mi_rows, 185 mi_row + mi_pos->row >= mi_rows || 217 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 237 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 263 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 180 is_inside(const TileInfo *const tile, int mi_col, int mi_row, int mi_rows, const POSITION *mi_pos) argument
|
H A D | vp9_loopfilter.c | 649 const int max_rows = (mi_row + MI_BLOCK_SIZE > cm->mi_rows ? 650 cm->mi_rows - mi_row : MI_BLOCK_SIZE); 782 if (mi_row + MI_BLOCK_SIZE > cm->mi_rows) { 783 const uint64_t rows = cm->mi_rows - mi_row; 922 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { 945 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; 1014 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += row_step) { 1015 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; 1057 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; r += 2) { 1086 for (r = 0; r < MI_BLOCK_SIZE && mi_row + r < cm->mi_rows; [all...] |
H A D | vp9_onyxc_int.h | 124 // MBs, mb_rows/cols is in 16-pixel units; mi_rows/cols is in 127 int mb_rows, mi_rows; member in struct:VP9Common 276 int mi_rows, int mi_cols) { 278 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8;
|
H A D | vp9_entropymode.c | 443 vpx_memset(cm->last_frame_seg_map, 0, (cm->mi_rows * cm->mi_cols)); 468 vpx_memset(cm->prev_mip, 0, cm->mi_stride * (cm->mi_rows + 1) * 471 vpx_memset(cm->mip, 0, cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->mip));
|