/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
H A D | vp9_reconinter.h | 21 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, 24 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, 27 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, 30 void vp9_dec_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, 62 int mi_row, int mi_col, 66 const int y = (MI_SIZE * mi_row) >> subsampling_y; 73 int mi_row, int mi_col); 76 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, 60 setup_pred_plane(struct buf_2d *dst, uint8_t *src, int stride, int mi_row, int mi_col, const struct scale_factors *scale, int subsampling_x, int subsampling_y) argument
|
H A D | vp9_debugmodes.c | 27 int mi_row, mi_col; local 37 for (mi_row = 0; mi_row < rows; mi_row++) { 51 int mi_row; local 68 for (mi_row = 0; mi_row < rows; mi_row++) {
|
H A D | vp9_mvref_common.c | 20 int block, int mi_row, int mi_col) { 24 ? cm->prev_mi[mi_row * xd->mi_stride + mi_col].src_mi 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)) { 115 int mi_row, int mi_col) { 117 mi_row, mi_col); 145 int block, int ref, int mi_row, int mi_col, 155 mi_row, mi_col); 16 find_mv_refs_idx(const VP9_COMMON *cm, const MACROBLOCKD *xd, const TileInfo *const tile, MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, int_mv *mv_ref_list, int block, int mi_row, int mi_col) argument 111 vp9_find_mv_refs(const VP9_COMMON *cm, const MACROBLOCKD *xd, const TileInfo *const tile, MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, int_mv *mv_ref_list, int mi_row, int mi_col) argument 143 vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *const tile, int block, int ref, int mi_row, int mi_col, int_mv *nearest, int_mv *near) argument
|
H A D | vp9_mvref_common.h | 188 // Checks that the given mi_row, mi_col and search point 191 int mi_col, int mi_row, int mi_rows, 193 return !(mi_row + mi_pos->row < 0 || 195 mi_row + mi_pos->row >= mi_rows || 210 int_mv *mv_ref_list, int mi_row, int mi_col); 220 int block, int ref, int mi_row, int mi_col, 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_pred_common.c | 370 BLOCK_SIZE bsize, int mi_row, int mi_col) { 371 const int mi_offset = mi_row * cm->mi_cols + mi_col; 375 const int ymis = MIN(cm->mi_rows - mi_row, bh); 369 vp9_get_segment_id(const VP9_COMMON *cm, const uint8_t *segment_ids, BLOCK_SIZE bsize, int mi_row, int mi_col) argument
|
H A D | vp9_reconinter.c | 325 int mi_row, int mi_col, 329 const int mi_y = mi_row * MI_SIZE; 352 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, argument 354 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, 0); 356 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, argument 358 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 1, 361 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, argument 363 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, 551 void vp9_dec_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, argument 555 const int mi_y = mi_row * MI_SIZ 324 build_inter_predictors_for_planes(MACROBLOCKD *xd, BLOCK_SIZE bsize, int mi_row, int mi_col, int plane_from, int plane_to) argument 578 vp9_setup_dst_planes(struct macroblockd_plane planes[MAX_MB_PLANE], const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col) argument 594 vp9_setup_pre_planes(MACROBLOCKD *xd, int idx, const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, const struct scale_factors *sf) argument [all...] |
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_reconinter.h | 21 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, 24 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, 27 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, 30 void vp9_dec_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, 51 int mi_row, int mi_col, 55 const int y = (MI_SIZE * mi_row) >> subsampling_y; 61 int mi_row, int mi_col); 64 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, 49 setup_pred_plane(struct buf_2d *dst, uint8_t *src, int stride, int mi_row, int mi_col, const struct scale_factors *scale, int subsampling_x, int subsampling_y) argument
|
H A D | vp9_debugmodes.c | 27 int mi_row; local 37 for (mi_row = 0; mi_row < rows; mi_row++) { 51 int mi_row; local 67 for (mi_row = 0; mi_row < rows; mi_row++) {
|
H A D | vp9_pred_common.c | 370 BLOCK_SIZE bsize, int mi_row, int mi_col) { 371 const int mi_offset = mi_row * cm->mi_cols + mi_col; 375 const int ymis = MIN(cm->mi_rows - mi_row, bh); 369 vp9_get_segment_id(VP9_COMMON *cm, const uint8_t *segment_ids, BLOCK_SIZE bsize, int mi_row, int mi_col) argument
|
H A D | vp9_mvref_common.c | 178 // Checks that the given mi_row, mi_col and search point 181 int mi_col, int mi_row, int mi_rows, 183 return !(mi_row + mi_pos->row < 0 || 185 mi_row + mi_pos->row >= mi_rows || 195 int block, int mi_row, int mi_col) { 199 ? cm->prev_mi_grid_visible[mi_row * xd->mi_stride + mi_col] 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)) { 290 int mi_row, in 180 is_inside(const TileInfo *const tile, int mi_col, int mi_row, int mi_rows, const POSITION *mi_pos) argument 191 find_mv_refs_idx(const VP9_COMMON *cm, const MACROBLOCKD *xd, const TileInfo *const tile, MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, int_mv *mv_ref_list, int block, int mi_row, int mi_col) argument 286 vp9_find_mv_refs(const VP9_COMMON *cm, const MACROBLOCKD *xd, const TileInfo *const tile, MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, int_mv *mv_ref_list, int mi_row, int mi_col) argument 318 vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *const tile, int block, int ref, int mi_row, int mi_col, int_mv *nearest, int_mv *near) argument [all...] |
H A D | vp9_reconinter.c | 202 int mi_row, int mi_col, 206 const int mi_y = mi_row * MI_SIZE; 229 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, argument 231 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, 0); 233 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, argument 235 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 1, 238 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, argument 240 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, 385 void vp9_dec_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, argument 389 const int mi_y = mi_row * MI_SIZ 201 build_inter_predictors_for_planes(MACROBLOCKD *xd, BLOCK_SIZE bsize, int mi_row, int mi_col, int plane_from, int plane_to) argument 412 vp9_setup_dst_planes(MACROBLOCKD *xd, const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col) argument 428 vp9_setup_pre_planes(MACROBLOCKD *xd, int idx, const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, const struct scale_factors *sf) argument [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_aq_complexity.c | 61 int mi_row, int mi_col, 65 const int mi_offset = mi_row * cm->mi_cols + mi_col; 69 const int ymis = MIN(cm->mi_rows - mi_row, bh); 60 vp9_select_in_frame_q_segment(VP9_COMP *cpi, int mi_row, int mi_col, int output_enabled, int projected_rate) argument
|
H A D | vp9_aq_cyclicrefresh.c | 125 // Prior to coding a given prediction block, of size bsize at (mi_row, mi_col), 130 int mi_row, int mi_col, 137 const int ymis = MIN(cm->mi_rows - mi_row, bh); 138 const int block_index = mi_row * cm->mi_cols + mi_col; 270 // Get the mi_row/mi_col corresponding to superblock index i. 273 int mi_row = sb_row_index * MI_BLOCK_SIZE; local 275 assert(mi_row >= 0 && mi_row < cm->mi_rows); 277 bl_index = mi_row * cm->mi_cols + mi_col; 281 ymis = MIN(cm->mi_rows - mi_row, 128 vp9_cyclic_refresh_update_segment(VP9_COMP *const cpi, MB_MODE_INFO *const mbmi, int mi_row, int mi_col, BLOCK_SIZE bsize, int use_rd) argument [all...] |
H A D | vp9_pickmode.c | 31 BLOCK_SIZE bsize, int mi_row, int mi_col, 58 vp9_setup_pre_planes(xd, 0, scaled_ref_frame, mi_row, mi_col, NULL); 141 BLOCK_SIZE bsize, int mi_row, int mi_col, 160 vp9_setup_pre_planes(xd, 0, scaled_ref_frame, mi_row, mi_col, NULL); 207 int mi_row, int mi_col, 265 ref_frame, bsize, mi_row, mi_col, 314 full_pixel_motion_search(cpi, x, tile, bsize, mi_row, mi_col, 325 sub_pixel_motion_search(cpi, x, tile, bsize, mi_row, mi_col, 350 vp9_build_inter_predictors_sby(xd, mi_row, mi_col, bsize); 358 vp9_build_inter_predictors_sby(xd, mi_row, mi_co 29 full_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x, const TileInfo *const tile, BLOCK_SIZE bsize, int mi_row, int mi_col, int_mv *tmp_mv, int *rate_mv) argument 139 sub_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x, const TileInfo *const tile, BLOCK_SIZE bsize, int mi_row, int mi_col, MV *tmp_mv) argument 205 vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, const TileInfo *const tile, int mi_row, int mi_col, int *returnrate, int64_t *returndistortion, BLOCK_SIZE bsize) argument [all...] |
H A D | vp9_segmentation.c | 128 int bw, int bh, int mi_row, int mi_col) { 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); 149 bsize, mi_row, mi_col); 169 int mi_row, int mi_col, 176 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) 184 t_unpred_seg_counts, bs, bs, mi_row, mi_col); 187 t_unpred_seg_counts, bs, hbs, mi_row, mi_col); 190 mi_row + hbs, mi_col); 193 t_unpred_seg_counts, hbs, bs, mi_row, mi_co 123 count_segs(VP9_COMP *cpi, const TileInfo *const tile, MODE_INFO **mi_8x8, int *no_pred_segcounts, int (*temporal_predictor_count)[2], int *t_unpred_seg_counts, int bw, int bh, int mi_row, int mi_col) argument 164 count_segs_sb(VP9_COMP *cpi, const TileInfo *const tile, MODE_INFO **mi_8x8, int *no_pred_segcounts, int (*temporal_predictor_count)[2], int *t_unpred_seg_counts, int mi_row, int mi_col, BLOCK_SIZE bsize) argument 222 int i, tile_col, mi_row, mi_col; local [all...] |
H A D | vp9_mbgraph.c | 308 int mi_row, mi_col; local 347 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) { 351 if (arf_not_zz[mi_row / 2 * cm->mb_cols + mi_col / 2]) { 353 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0; 355 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1;
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_aq_complexity.c | 98 int mi_row, int mi_col, 102 const int mi_offset = mi_row * cm->mi_cols + mi_col; 106 const int ymis = MIN(cm->mi_rows - mi_row, bh); 97 vp9_select_in_frame_q_segment(VP9_COMP *cpi, int mi_row, int mi_col, int output_enabled, int projected_rate) argument
|
H A D | vp9_aq_cyclicrefresh.c | 124 // Prior to coding a given prediction block, of size bsize at (mi_row, mi_col), 129 int mi_row, int mi_col, 136 const int ymis = MIN(cm->mi_rows - mi_row, bh); 137 const int block_index = mi_row * cm->mi_cols + mi_col; 270 // Get the mi_row/mi_col corresponding to superblock index i. 273 int mi_row = sb_row_index * MI_BLOCK_SIZE; local 275 assert(mi_row >= 0 && mi_row < cm->mi_rows); 277 bl_index = mi_row * cm->mi_cols + mi_col; 281 ymis = MIN(cm->mi_rows - mi_row, 127 vp9_cyclic_refresh_update_segment(VP9_COMP *const cpi, MB_MODE_INFO *const mbmi, int mi_row, int mi_col, BLOCK_SIZE bsize, int use_rd) argument [all...] |
H A D | vp9_segmentation.c | 118 int bw, int bh, int mi_row, int mi_col) { 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); 137 bsize, mi_row, mi_col); 157 int mi_row, int mi_col, 163 if (mi_row >= cm->mi_rows || mi_col >= cm->mi_cols) 171 t_unpred_seg_counts, bs, bs, mi_row, mi_col); 174 t_unpred_seg_counts, bs, hbs, mi_row, mi_col); 177 mi_row + hbs, mi_col); 180 t_unpred_seg_counts, hbs, bs, mi_row, mi_co 113 count_segs(const VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *tile, MODE_INFO *mi, int *no_pred_segcounts, int (*temporal_predictor_count)[2], int *t_unpred_seg_counts, int bw, int bh, int mi_row, int mi_col) argument 152 count_segs_sb(const VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *tile, MODE_INFO *mi, int *no_pred_segcounts, int (*temporal_predictor_count)[2], int *t_unpred_seg_counts, int mi_row, int mi_col, BLOCK_SIZE bsize) argument 208 int i, tile_col, mi_row, mi_col; local [all...] |
H A D | vp9_denoiser.c | 189 int mi_row, int mi_col) { 190 return framebuf + (stride * mi_row * 8) + (mi_col * 8); 207 int mi_row, 265 mi_row, mi_col); 271 mi_row, mi_col); 277 mi_row, mi_col); 284 mi_row, mi_col); 289 mi_row, mi_col); 294 mi_row, mi_col); 322 int mi_row, in 188 block_start(uint8_t *framebuf, int stride, int mi_row, int mi_col) argument 203 perform_motion_compensation(VP9_DENOISER *denoiser, MACROBLOCK *mb, BLOCK_SIZE bs, int increase_denoising, int mi_row, int mi_col, PICK_MODE_CONTEXT *ctx, int *motion_magnitude ) argument 321 vp9_denoiser_denoise(VP9_DENOISER *denoiser, MACROBLOCK *mb, int mi_row, int mi_col, BLOCK_SIZE bs, PICK_MODE_CONTEXT *ctx) argument [all...] |
H A D | vp9_mbgraph.c | 299 int mi_row, mi_col; local 338 for (mi_row = 0; mi_row < cm->mi_rows; mi_row++) { 342 if (arf_not_zz[mi_row / 2 * cm->mb_cols + mi_col / 2]) { 344 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0; 346 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1;
|
H A D | vp9_rd.c | 489 int mi_row, int mi_col, 501 setup_pred_plane(dst + i, dst[i].buf, dst[i].stride, mi_row, mi_col, 486 vp9_setup_pred_block(const MACROBLOCKD *xd, struct buf_2d dst[MAX_MB_PLANE], const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, const struct scale_factors *scale, const struct scale_factors *scale_uv) argument
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/ |
H A D | vp9_dthread.c | 101 const int mi_row = r << MI_BLOCK_SIZE_LOG2; local 102 MODE_INFO *const mi = cm->mi + mi_row * cm->mi_stride; 111 vp9_setup_dst_planes(planes, frame_buffer, mi_row, mi_col); 112 vp9_setup_mask(cm, mi_row, mi_col, mi + mi_col, cm->mi_stride, &lfm); 115 vp9_filter_block_plane(cm, &planes[plane], mi_row, &lfm);
|
H A D | vp9_decodemv.c | 87 int mi_row, int mi_col, int segment_id) { 88 const int mi_offset = mi_row * cm->mi_cols + mi_col; 92 const int ymis = MIN(cm->mi_rows - mi_row, bh); 103 int mi_row, int mi_col, 116 set_segment_id(cm, bsize, mi_row, mi_col, segment_id); 121 int mi_row, int mi_col, vp9_reader *r) { 131 bsize, mi_row, mi_col); 143 set_segment_id(cm, bsize, mi_row, mi_col, segment_id); 162 int mi_row, int mi_col, vp9_reader *r) { 170 mbmi->segment_id = read_intra_segment_id(cm, xd, mi_row, mi_co 86 set_segment_id(VP9_COMMON *cm, BLOCK_SIZE bsize, int mi_row, int mi_col, int segment_id) argument 102 read_intra_segment_id(VP9_COMMON *const cm, MACROBLOCKD *const xd, int mi_row, int mi_col, vp9_reader *r) argument 120 read_inter_segment_id(VP9_COMMON *const cm, MACROBLOCKD *const xd, int mi_row, int mi_col, vp9_reader *r) argument 160 read_intra_frame_mode_info(VP9_COMMON *const cm, MACROBLOCKD *const xd, int mi_row, int mi_col, vp9_reader *r) argument 421 read_inter_block_mode_info(VP9_COMMON *const cm, MACROBLOCKD *const xd, const TileInfo *const tile, MODE_INFO *const mi, int mi_row, int mi_col, vp9_reader *r) argument 518 read_inter_frame_mode_info(VP9_COMMON *const cm, MACROBLOCKD *const xd, const TileInfo *const tile, int mi_row, int mi_col, vp9_reader *r) argument 540 vp9_read_mode_info(VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *const tile, int mi_row, int mi_col, vp9_reader *r) argument [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
H A D | vp9_dthread.c | 101 const int mi_row = r << MI_BLOCK_SIZE_LOG2; local 102 MODE_INFO **mi_8x8 = cm->mi_grid_visible + mi_row * cm->mi_stride; 110 vp9_setup_dst_planes(xd, frame_buffer, mi_row, mi_col); 111 vp9_setup_mask(cm, mi_row, mi_col, mi_8x8 + mi_col, cm->mi_stride, &lfm); 114 vp9_filter_block_plane(cm, &xd->plane[plane], mi_row, &lfm);
|