/external/libvpx/libvpx/vp9/encoder/ |
vp9_aq_360.h | 20 unsigned int vp9_360aq_segment_id(int mi_row, int mi_rows);
|
vp9_aq_360.c | 30 unsigned int vp9_360aq_segment_id(int mi_row, int mi_rows) { 31 if (mi_row < mi_rows / 8 || mi_row > mi_rows - mi_rows / 8) 33 else if (mi_row < mi_rows / 4 || mi_row > mi_rows - mi_rows / 4)
|
vp9_aq_complexity.h | 25 BLOCK_SIZE bs, int mi_row, int mi_col,
|
vp9_encodeframe.h | 33 const struct yv12_buffer_config *src, int mi_row, 43 int tile_row, int tile_col, int mi_row);
|
vp9_pickmode.h | 24 int mi_row, int mi_col, RD_COST *rd_cost, 27 void vp9_pick_inter_mode_sub8x8(VP9_COMP *cpi, MACROBLOCK *x, int mi_row,
|
vp9_rdopt.h | 34 struct macroblock *x, int mi_row, int mi_col, 44 int vp9_active_h_edge(struct VP9_COMP *cpi, int mi_row, int mi_step); 46 int vp9_active_edge_sb(struct VP9_COMP *cpi, int mi_row, int mi_col); 50 struct macroblock *x, int mi_row, int mi_col,
|
vp9_encodeframe.c | 52 int output_enabled, int mi_row, int mi_col, 167 int mi_row, int mi_col, 175 &last->y_buffer[mi_row * MI_SIZE * last->y_stride + mi_col * MI_SIZE]; 181 int mi_row, int mi_col) { 183 cpi, &x->plane[0].src, mi_row, mi_col, BLOCK_64X64); 198 MACROBLOCKD *const xd, int mi_row, 200 const int idx_str = xd->mi_stride * mi_row + mi_col; 203 x->mbmi_ext = x->mbmi_ext_base + (mi_row * cm->mi_cols + mi_col); 207 MACROBLOCK *const x, int mi_row, int mi_col, 217 set_skip_context(xd, mi_row, mi_col) 3444 int mi_row, mi_col; local 4434 int mi_row; local 4599 int mi_row, mi_col; local [all...] |
vp9_segmentation.c | 108 int *t_unpred_seg_counts, int bw, int bh, int mi_row, 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_noise_estimate.c | 172 int mi_row, mi_col; local 175 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) { 177 int bl_index = mi_row * cm->mi_cols + mi_col; 184 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) { 187 if (mi_row % 4 == 0 && mi_col % 4 == 0 && mi_row < cm->mi_rows - 1 & [all...] |
vp9_aq_cyclicrefresh.h | 91 // Prior to coding a given prediction block, of size bsize at (mi_row, mi_col), 95 MODE_INFO *const mi, int mi_row, 102 int mi_row, int mi_col,
|
vp9_aq_complexity.c | 111 int mi_row, int mi_col, int projected_rate) { 114 const int mi_offset = mi_row * cm->mi_cols + mi_col; 118 const int ymis = VPXMIN(cm->mi_rows - mi_row, num_8x8_blocks_high_lookup[bs]); 139 vp9_setup_src_planes(mb, cpi->Source, mi_row, mi_col);
|
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, 157 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); 158 const int block_index = mi_row * cm->mi_cols + mi_col; 213 int mi_row, int mi_col, 220 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); 221 const int block_index = mi_row * cm->mi_cols + mi_col; 256 int mi_row, mi_col; local 259 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) 369 int mi_row = sb_row_index * MI_BLOCK_SIZE; local [all...] |
vp9_denoiser.c | 184 static uint8_t *block_start(uint8_t *framebuf, int stride, int mi_row, 186 return framebuf + (stride * mi_row << 3) + (mi_col << 3); 191 int increase_denoising, int mi_row, int mi_col, PICK_MODE_CONTEXT *ctx, 271 denoiser->running_avg_y[frame].y_stride, mi_row, mi_col); 275 denoiser->running_avg_y[frame].uv_stride, mi_row, mi_col); 279 denoiser->running_avg_y[frame].uv_stride, mi_row, mi_col); 284 denoiser->mc_running_avg_y.y_stride, mi_row, mi_col); 288 denoiser->mc_running_avg_y.uv_stride, mi_row, mi_col); 292 denoiser->mc_running_avg_y.uv_stride, mi_row, mi_col); 296 vp9_build_inter_predictors_sby(filter_mbd, mi_row, mi_col, bs) [all...] |
vp9_skin_detection.c | 111 int i, j, mi_row, mi_col, num_bl; local 141 for (mi_row = 0; mi_row < cm->mi_rows - 1; mi_row += fac) { 166 int bl_index = mi_row * cm->mi_cols + mi_col;
|
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decodemv.h | 22 void vp9_read_mode_info(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row,
|
vp9_decodemv.c | 147 int mi_row, int mi_col, vpx_reader *r, 152 const int mi_offset = mi_row * cm->mi_cols + mi_col; 193 MACROBLOCKD *const xd, int mi_row, 201 const int mi_offset = mi_row * cm->mi_cols + mi_col; 458 static void fpm_sync(void *const data, int mi_row) { 461 mi_row << MI_BLOCK_SIZE_LOG2); 502 int_mv *mv_ref_list, int mi_row, int mi_col, 510 ? cm->prev_frame->mvs + mi_row * cm->mi_cols + mi_col 526 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 548 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_debugmodes.c | 27 int mi_row, mi_col; local 34 for (mi_row = 0; mi_row < rows; mi_row++) { 47 int mi_row; local 62 for (mi_row = 0; mi_row < rows; mi_row++) { 76 for (mi_row = 0; mi_row < rows; mi_row++) [all...] |
vp9_loopfilter.h | 98 // by mi_row, mi_col. 99 void vp9_setup_mask(struct VP9Common *const cm, const int mi_row, 105 int mi_row, LOOP_FILTER_MASK *lfm); 109 int mi_row, LOOP_FILTER_MASK *lfm); 113 MODE_INFO **mi_8x8, int mi_row, int mi_col); 126 // Get the superblock lfm for a given mi_row, mi_col. 128 const int mi_row, const int mi_col) { 129 return &lf->lfm[(mi_col >> 3) + ((mi_row >> 3) * lf->lfm_stride)]; 132 void vp9_build_mask(struct VP9Common *cm, const MODE_INFO *mi, int mi_row, 134 void vp9_adjust_mask(struct VP9Common *const cm, const int mi_row, [all...] |
vp9_reconinter.h | 51 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, 54 void vp9_build_inter_predictors_sbp(MACROBLOCKD *xd, int mi_row, int mi_col, 57 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, 60 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, 85 int stride, int mi_row, int mi_col, 89 const int y = (MI_SIZE * mi_row) >> subsampling_y; 95 const YV12_BUFFER_CONFIG *src, int mi_row, 99 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col,
|
vp9_mvref_common.h | 276 // Checks that the given mi_row, mi_col and search point 278 static INLINE int is_inside(const TileInfo *const tile, int mi_col, int mi_row, 280 return !(mi_row + mi_pos->row < 0 || 282 mi_row + mi_pos->row >= mi_rows || 302 typedef void (*find_mv_refs_sync)(void *const data, int mi_row); 305 int_mv *mv_ref_list, int mi_row, int mi_col, 315 int ref, int mi_row, int mi_col,
|
vp9_mvref_common.c | 18 int_mv *mv_ref_list, int block, int mi_row, 27 ? cm->prev_frame->mvs + mi_row * cm->mi_cols + mi_col 39 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 60 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 87 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 135 int_mv *mv_ref_list, int mi_row, int mi_col, 137 find_mv_refs_idx(cm, xd, mi, ref_frame, mv_ref_list, -1, mi_row, mi_col, 154 int ref, int mi_row, int mi_col, 164 find_mv_refs_idx(cm, xd, mi, mi->ref_frame[ref], mv_list, block, mi_row,
|
vp9_reconinter.c | 209 int mi_row, int mi_col, 213 const int mi_y = mi_row * MI_SIZE; 235 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, 237 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, 0); 240 void vp9_build_inter_predictors_sbp(MACROBLOCKD *xd, int mi_row, int mi_col, 242 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, plane, plane); 245 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, 247 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 1, 251 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, 253 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0 [all...] |
vp9_onyxc_int.h | 378 static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col) { 380 const int left_idx = (mi_row * 2) & 15; 395 int mi_row, int bh, int mi_col, int bw, 397 xd->mb_to_top_edge = -((mi_row * MI_SIZE) * 8); 398 xd->mb_to_bottom_edge = ((mi_rows - bh - mi_row) * MI_SIZE) * 8; 403 xd->above_mi = (mi_row != 0) ? xd->mi[-xd->mi_stride] : NULL; 407 static INLINE void update_partition_context(MACROBLOCKD *xd, int mi_row, 411 PARTITION_CONTEXT *const left_ctx = xd->left_seg_context + (mi_row & MI_MASK); 423 static INLINE int partition_plane_context(const MACROBLOCKD *xd, int mi_row, 426 const PARTITION_CONTEXT *left_ctx = xd->left_seg_context + (mi_row & MI_MASK) [all...] |
vp9_loopfilter.c | 766 void vp9_adjust_mask(VP9_COMMON *const cm, const int mi_row, const int mi_col, 790 if (mi_row + MI_BLOCK_SIZE > cm->mi_rows) { 791 const uint64_t rows = cm->mi_rows - mi_row; 881 // by mi_row, mi_col 1421 int mi_row, mi_col; local 1485 int mi_col, mi_row; local [all...] |
vp9_thread_common.c | 94 int mi_row, mi_col; local 105 for (mi_row = start; mi_row < stop; 106 mi_row += lf_sync->num_workers * MI_BLOCK_SIZE) { 107 MODE_INFO **const mi = cm->mi_grid_visible + mi_row * cm->mi_stride; 108 LOOP_FILTER_MASK *lfm = get_lfm(&cm->lf, mi_row, 0); 111 const int r = mi_row >> 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); 121 vp9_filter_block_plane_ss00(cm, &planes[0], mi_row, lfm) [all...] |