/external/libvpx/vp8/common/ |
D | debugmodes.c | 16 int mb_row; in vp8_print_modes_and_motion_vectors() local 25 for (mb_row = 0; mb_row < rows; ++mb_row) { in vp8_print_modes_and_motion_vectors() 41 for (mb_row = 0; mb_row < rows; ++mb_row) { in vp8_print_modes_and_motion_vectors() 58 for (mb_row = 0; mb_row < rows; ++mb_row) { in vp8_print_modes_and_motion_vectors() 99 for (mb_row = 0; mb_row < rows; ++mb_row) { in vp8_print_modes_and_motion_vectors()
|
D | vp8_loopfilter.c | 168 int mb_row, int post_ystride, int post_uvstride, in vp8_loop_filter_row_normal() argument 204 if (mb_row > 0) in vp8_loop_filter_row_normal() 222 int mb_row, int post_ystride, in vp8_loop_filter_row_simple() argument 249 if (mb_row > 0) in vp8_loop_filter_row_simple() 268 int mb_row; in vp8_loop_filter_frame() local 292 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_loop_filter_frame() 320 if (mb_row > 0) in vp8_loop_filter_frame() 342 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_loop_filter_frame() 363 if (mb_row > 0) in vp8_loop_filter_frame() 389 int mb_row; in vp8_loop_filter_frame_yonly() local [all …]
|
D | vp8_skin_detection.c | 72 int i, j, mb_row, mb_col, num_bl; in vp8_compute_skin_map() local 90 for (mb_row = 0; mb_row < cm->mb_rows; mb_row += 1) { in vp8_compute_skin_map()
|
D | loopfilter.h | 89 struct modeinfo *mode_info_context, int mb_row, 95 struct modeinfo *mode_info_context, int mb_row,
|
D | mfqe.c | 239 int mb_row; in vp8_multiframe_quality_enhance() local 257 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp8_multiframe_quality_enhance()
|
/external/libvpx/vp8/decoder/ |
D | error_concealment.c | 102 int new_row, int new_col, int mb_row, in calculate_overlaps_mb() argument 110 const int rel_ol_blk_row = first_blk_row - mb_row * 4; in calculate_overlaps_mb() 123 int end_row = VPXMIN(4 + mb_row * 4 - first_blk_row, 2); in calculate_overlaps_mb() 136 if (new_row < (mb_row * 16) << 3) end_row = 1; in calculate_overlaps_mb() 277 int mb_row, int mb_col, int mb_rows, in calc_prev_mb_overlaps() argument 285 4 * mb_row + sub_row, 4 * mb_col + sub_col); in calc_prev_mb_overlaps() 295 int mb_row, mb_col; in estimate_missing_mvs() local 298 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in estimate_missing_mvs() 304 calc_prev_mb_overlaps(overlaps, prev_mi, mb_row, mb_col, mb_rows, in estimate_missing_mvs() 312 mb_row = first_corrupt / mb_cols; in estimate_missing_mvs() [all …]
|
D | threading.c | 253 int mb_row; in mt_decode_mb_rows() local 293 for (mb_row = start_mb_row; mb_row < pc->mb_rows; in mt_decode_mb_rows() 294 mb_row += (pbi->decoding_thread_count + 1)) { in mt_decode_mb_rows() 301 last_mb_row = mb_row; in mt_decode_mb_rows() 303 xd->current_bc = &pbi->mbc[mb_row % num_part]; in mt_decode_mb_rows() 305 if (mb_row > 0) { in mt_decode_mb_rows() 306 last_row_current_mb_col = &pbi->mt_current_mb_col[mb_row - 1]; in mt_decode_mb_rows() 311 current_mb_col = &pbi->mt_current_mb_col[mb_row]; in mt_decode_mb_rows() 313 recon_yoffset = mb_row * recon_y_stride * 16; in mt_decode_mb_rows() 314 recon_uvoffset = mb_row * recon_uv_stride * 8; in mt_decode_mb_rows() [all …]
|
D | decodeframe.c | 446 int mb_row, mb_col; in decode_mb_rows() local 486 for (mb_row = 0; mb_row < pc->mb_rows; ++mb_row) { in decode_mb_rows() 494 recon_yoffset = mb_row * recon_y_stride * 16; in decode_mb_rows() 495 recon_uvoffset = mb_row * recon_uv_stride * 8; in decode_mb_rows() 503 xd->mb_to_top_edge = -((mb_row * 16) << 3); in decode_mb_rows() 504 xd->mb_to_bottom_edge = ((pc->mb_rows - 1 - mb_row) * 16) << 3; in decode_mb_rows() 551 vp8_interpolate_motion(xd, mb_row, mb_col, pc->mb_rows, pc->mb_cols); in decode_mb_rows() 606 if (mb_row > 0) { in decode_mb_rows() 608 vp8_loop_filter_row_normal(pc, lf_mic, mb_row - 1, recon_y_stride, in decode_mb_rows() 612 vp8_loop_filter_row_simple(pc, lf_mic, mb_row - 1, recon_y_stride, in decode_mb_rows() [all …]
|
D | onyxd_if.c | 417 int mb_row, mb_col; in vp8dx_references_buffer() local 419 for (mb_row = 0; mb_row < oci->mb_rows; ++mb_row) { in vp8dx_references_buffer()
|
D | error_concealment.h | 34 void vp8_interpolate_motion(MACROBLOCKD *mb, int mb_row, int mb_col,
|
/external/libvpx/vp8/encoder/ |
D | encodeframe.c | 96 static unsigned int mb_activity_measure(MACROBLOCK *x, int mb_row, int mb_col) { in mb_activity_measure() argument 100 int use_dc_pred = (mb_col || mb_row) && (!mb_col || !mb_row); in mb_activity_measure() 175 int mb_row, mb_col; in calc_activity_index() local 190 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in calc_activity_index() 237 int mb_row, mb_col; in build_activity_map() local 242 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in build_activity_map() 245 xd->up_available = (mb_row != 0); in build_activity_map() 246 recon_yoffset = (mb_row * recon_y_stride * 16); in build_activity_map() 259 mb_activity = mb_activity_measure(x, mb_row, mb_col); in build_activity_map() 317 static void encode_mb_row(VP8_COMP *cpi, VP8_COMMON *cm, int mb_row, in encode_mb_row() argument [all …]
|
D | ethreading.c | 56 int mb_row; in thread_encoding_proc() local 74 for (mb_row = ithread + 1; mb_row < cm->mb_rows; in thread_encoding_proc() 75 mb_row += (cpi->encoding_thread_count + 1)) { in thread_encoding_proc() 82 int map_index = (mb_row * cm->mb_cols); in thread_encoding_proc() 84 vpx_atomic_int *current_mb_col = &cpi->mt_current_mb_col[mb_row]; in thread_encoding_proc() 87 vp8_writer *w = &cpi->bc[1 + (mb_row % num_part)]; in thread_encoding_proc() 89 tp = cpi->tok + (mb_row * (cm->mb_cols * 16 * 24)); in thread_encoding_proc() 90 cpi->tplist[mb_row].start = tp; in thread_encoding_proc() 93 last_row_current_mb_col = &cpi->mt_current_mb_col[mb_row - 1]; in thread_encoding_proc() 101 xd->up_available = (mb_row != 0); in thread_encoding_proc() [all …]
|
D | mr_dissim.c | 76 int mb_row; in vp8_cal_dissimilarity() local 82 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp8_cal_dissimilarity() 118 if (mb_row < (cm->mb_rows - 1)) { in vp8_cal_dissimilarity() 125 if (mb_col < (cm->mb_cols - 1) && mb_row < (cm->mb_rows - 1)) { in vp8_cal_dissimilarity() 142 if (mb_row < (cm->mb_rows - 1)) { in vp8_cal_dissimilarity() 149 if (mb_col < (cm->mb_cols - 1) && mb_row < (cm->mb_rows - 1)) { in vp8_cal_dissimilarity()
|
D | segmentation.c | 15 int mb_row, mb_col; in vp8_update_gf_useage_maps() local 27 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp8_update_gf_useage_maps()
|
D | bitstream.c | 301 int mb_row; in pack_tokens_into_partitions() local 307 for (mb_row = i; mb_row < cpi->common.mb_rows; mb_row += num_part) { in pack_tokens_into_partitions() 308 const TOKENEXTRA *p = cpi->tplist[mb_row].start; in pack_tokens_into_partitions() 309 const TOKENEXTRA *stop = cpi->tplist[mb_row].stop; in pack_tokens_into_partitions() 322 int mb_row; in pack_mb_row_tokens() local 324 for (mb_row = 0; mb_row < cpi->common.mb_rows; ++mb_row) { in pack_mb_row_tokens() 325 const TOKENEXTRA *p = cpi->tplist[mb_row].start; in pack_mb_row_tokens() 326 const TOKENEXTRA *stop = cpi->tplist[mb_row].stop; in pack_mb_row_tokens() 417 int mb_row = -1; in pack_inter_mode_mvs() local 446 while (++mb_row < pc->mb_rows) { in pack_inter_mode_mvs() [all …]
|
D | temporal_filter.c | 192 int mb_col, mb_row; in vp8_temporal_filter_iterate_c() local 210 for (mb_row = 0; mb_row < mb_rows; ++mb_row) { in vp8_temporal_filter_iterate_c() 223 cpi->mb.mv_row_min = -((mb_row * 16) + (16 - 5)); in vp8_temporal_filter_iterate_c() 224 cpi->mb.mv_row_max = ((cpi->common.mb_rows - 1 - mb_row) * 16) + (16 - 5); in vp8_temporal_filter_iterate_c()
|
D | pickinter.c | 55 unsigned char *last_ref, int mb_row, in check_dot_artifact_candidate() argument 62 int index = mb_row * cpi->common.mb_cols + mb_col; in check_dot_artifact_candidate() 396 int_mv *parent_ref_mv, int mb_row, in get_lower_res_motion_info() argument 410 parent_mb_row = mb_row * cpi->oxcf.mr_down_sampling_factor.den / in get_lower_res_motion_info() 559 int *returndistortion, int *returnintra, int mb_row, in vp8_pick_inter_mode() argument 635 cpi, x, target_y, stride, plane[LAST_FRAME][0], mb_row, mb_col, 0); in vp8_pick_inter_mode() 640 cpi, x, target_u, stride_uv, plane[LAST_FRAME][1], mb_row, mb_col, 1); in vp8_pick_inter_mode() 644 cpi, x, target_v, stride_uv, plane[LAST_FRAME][2], mb_row, mb_col, in vp8_pick_inter_mode() 660 &parent_ref_mv, mb_row, mb_col); in vp8_pick_inter_mode() 695 int block_index = mb_row * cpi->common.mb_cols + mb_col; in vp8_pick_inter_mode() [all …]
|
D | pickinter.h | 23 int mb_row, int mb_col);
|
/external/libvpx/vp9/encoder/ |
D | vp9_mbgraph.c | 26 MV *dst_mv, int mb_row, in do_16x16_motion_iteration() argument 71 vp9_build_inter_predictors_sby(xd, mb_row, mb_col, BLOCK_16X16); in do_16x16_motion_iteration() 78 int_mv *dst_mv, int mb_row, int mb_col) { in do_16x16_motion_search() argument 92 tmp_err = do_16x16_motion_iteration(cpi, ref_mv, &tmp_mv, mb_row, mb_col); in do_16x16_motion_search() 105 do_16x16_motion_iteration(cpi, &zero_ref_mv, &tmp_mv, mb_row, mb_col); in do_16x16_motion_search() 163 YV12_BUFFER_CONFIG *alt_ref, int mb_row, in update_mbgraph_mb_stats() argument 189 &stats->ref[GOLDEN_FRAME].m.mv, mb_row, mb_col); in update_mbgraph_mb_stats() 221 int mb_col, mb_row, offset = 0; in update_mbgraph_frame_stats() local 243 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) { in update_mbgraph_frame_stats() 258 &gld_left_mv, alt_ref, mb_row, mb_col); in update_mbgraph_frame_stats() [all …]
|
D | vp9_firstpass.c | 498 static BLOCK_SIZE get_bsize(const VP9_COMMON *cm, int mb_row, int mb_col) { in get_bsize() argument 500 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_16X16 : BLOCK_16X8; in get_bsize() 502 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_8X16 : BLOCK_8X8; in get_bsize() 724 int mb_row, mb_col; in accumulate_floating_point_stats() local 728 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in accumulate_floating_point_stats() 730 const int mb_index = mb_row * cm->mb_cols + mb_col; in accumulate_floating_point_stats() 857 const int mb_row, const int mb_col, in store_fp_motion_vector() argument 861 const int mb_index = mb_row * cm->mb_cols + mb_col; in store_fp_motion_vector() 876 int mb_row) { in vp9_first_pass_encode_tile_mb_row() argument 911 xd->mi = cm->mi_grid_visible + xd->mi_stride * (mb_row << 1) + mb_col_start; in vp9_first_pass_encode_tile_mb_row() [all …]
|
D | vp9_temporal_filter.c | 646 int mb_row, int mb_col_start, in vp9_temporal_filter_iterate_row_c() argument 674 int mb_y_offset = mb_row * BH * (f->y_stride) + BW * mb_col_start; in vp9_temporal_filter_iterate_row_c() 676 mb_row * mb_uv_height * f->uv_stride + mb_uv_width * mb_col_start; in vp9_temporal_filter_iterate_row_c() 697 td->mb.mv_limits.row_min = -((mb_row * BH) + (17 - 2 * VP9_INTERP_EXTEND)); in vp9_temporal_filter_iterate_row_c() 699 ((mb_rows - 1 - mb_row) * BH) + (17 - 2 * VP9_INTERP_EXTEND); in vp9_temporal_filter_iterate_row_c() 809 mb_col * BW, mb_row * BH, blk_mvs, use_32x32); in vp9_temporal_filter_iterate_row_c() 1008 int mb_row; in temporal_filter_iterate_tile_c() local 1010 for (mb_row = mb_row_start; mb_row < mb_row_end; mb_row++) { in temporal_filter_iterate_tile_c() 1011 vp9_temporal_filter_iterate_row_c(cpi, &cpi->td, mb_row, mb_col_start, in temporal_filter_iterate_tile_c()
|
D | vp9_ethread.c | 430 int mb_row; in first_pass_worker_hook() local 447 mb_row = proc_job->vert_unit_row_num; in first_pass_worker_hook() 453 this_tile, &best_ref_mv, mb_row); in first_pass_worker_hook() 519 int mb_row; in temporal_filter_worker_hook() local 537 mb_row = proc_job->vert_unit_row_num; in temporal_filter_worker_hook() 539 vp9_temporal_filter_iterate_row_c(cpi, thread_data->td, mb_row, in temporal_filter_worker_hook()
|
/external/libaom/av1/encoder/ |
D | temporal_filter.c | 90 const BLOCK_SIZE block_size, const int mb_row, in tf_motion_search() argument 102 const int y_offset = mb_row * mb_height * y_stride + mb_col * mb_width; in tf_motion_search() 332 const BLOCK_SIZE block_size, const int mb_row, in tf_build_predictor() argument 339 const int mb_y = mb_height * mb_row; // Y-coord (Top-left). in tf_build_predictor() 411 const int mb_row, const int mb_col, in tf_apply_temporal_filter_self() argument 429 const int frame_offset = mb_row * h * frame_stride + mb_col * w; in tf_apply_temporal_filter_self() 561 const BLOCK_SIZE block_size, const int mb_row, const int mb_col, in av1_apply_temporal_filter_c() argument 644 const int frame_offset = mb_row * h * frame_stride + mb_col * w; in av1_apply_temporal_filter_c() 714 const BLOCK_SIZE block_size, const int mb_row, const int mb_col, in av1_highbd_apply_temporal_filter_c() argument 718 av1_apply_temporal_filter_c(frame_to_filter, mbd, block_size, mb_row, mb_col, in av1_highbd_apply_temporal_filter_c() [all …]
|
D | tune_vmaf.c | 28 const BLOCK_SIZE block_size, const int mb_row, in motion_search() argument 35 const int y_offset = mb_row * mb_height * y_stride + mb_col * mb_width; in motion_search() 81 const int mb_row, const int mb_col, in residual_variance() argument 87 const int y_offset = mb_row * mb_height * y_stride + mb_col * mb_width; in residual_variance() 162 for (int mb_row = 0; mb_row < mb_rows; mb_row++) { in residual_frame_average_variance() local 164 (mb_row << mi_h), (mb_height >> MI_SIZE_LOG2), in residual_frame_average_variance() 170 FULLPEL_MV *ref_mv = &mvs[mb_col + mb_row * mb_cols]; in residual_frame_average_variance() 172 motion_search(cpi, src, ref, block_size, mb_row, mb_col, ref_mv); in residual_frame_average_variance() 176 cpi, src, ref, block_size, mb_row, mb_col, *ref_mv, &mv_sse); in residual_frame_average_variance()
|
/external/libaom/test/ |
D | temporal_filter_test.cc | 51 const BLOCK_SIZE block_size, const int mb_row, const int mb_col, 181 const int mb_row = 0; in RunTest() local 209 params_.ref_func(ref_frame.get(), mbd.get(), block_size, mb_row, mb_col, in RunTest() 212 params_.tst_func(ref_frame.get(), mbd.get(), block_size, mb_row, mb_col, in RunTest() 219 params_.ref_func(ref_frame.get(), mbd.get(), block_size, mb_row, mb_col, in RunTest() 230 params_.tst_func(ref_frame.get(), mbd.get(), block_size, mb_row, mb_col, in RunTest() 312 const BLOCK_SIZE block_size, const int mb_row, const int mb_col, 446 const int mb_row = 0; in RunTest() local 474 params_.ref_func(ref_frame.get(), mbd.get(), block_size, mb_row, mb_col, in RunTest() 478 params_.tst_func(ref_frame.get(), mbd.get(), block_size, mb_row, mb_col, in RunTest() [all …]
|