Home
last modified time | relevance | path

Searched refs:mb_row (Results 1 – 25 of 26) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Ddebugmodes.c19 int mb_row; in vp8_print_modes_and_motion_vectors() local
28 for (mb_row = 0; mb_row < rows; mb_row++) in vp8_print_modes_and_motion_vectors()
47 for (mb_row = 0; mb_row < rows; mb_row++) in vp8_print_modes_and_motion_vectors()
67 for (mb_row = 0; mb_row < rows; mb_row++) in vp8_print_modes_and_motion_vectors()
115 for (mb_row = 0; mb_row < rows; mb_row++) in vp8_print_modes_and_motion_vectors()
Dloopfilter.c200 int mb_row, int post_ystride, int post_uvstride, in vp8_loop_filter_row_normal() argument
239 if (mb_row > 0) in vp8_loop_filter_row_normal()
258 int mb_row, int post_ystride, int post_uvstride, in vp8_loop_filter_row_simple() argument
290 if (mb_row > 0) in vp8_loop_filter_row_simple()
315 int mb_row; in vp8_loop_filter_frame() local
340 for (mb_row = 0; mb_row < mb_rows; mb_row++) in vp8_loop_filter_frame()
371 if (mb_row > 0) in vp8_loop_filter_frame()
396 for (mb_row = 0; mb_row < mb_rows; mb_row++) in vp8_loop_filter_frame()
423 if (mb_row > 0) in vp8_loop_filter_frame()
458 int mb_row; in vp8_loop_filter_frame_yonly() local
[all …]
Dloopfilter.h100 int mb_row, int post_ystride, int post_uvstride,
106 int mb_row, int post_ystride, int post_uvstride,
Dmfqe.c284 int mb_row; in vp8_multiframe_quality_enhance() local
302 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in vp8_multiframe_quality_enhance()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Derror_concealment.c116 int mb_row, int mb_col, in calculate_overlaps_mb() argument
124 const int rel_ol_blk_row = first_blk_row - mb_row * 4; in calculate_overlaps_mb()
137 int end_row = MIN(4 + mb_row * 4 - first_blk_row, 2); in calculate_overlaps_mb()
152 if (new_row < (mb_row*16)<<3) in calculate_overlaps_mb()
329 int mb_row, int mb_col, in calc_prev_mb_overlaps() argument
341 4 * mb_row + sub_row, in calc_prev_mb_overlaps()
354 int mb_row, mb_col; in estimate_missing_mvs() local
357 for (mb_row = 0; mb_row < mb_rows; ++mb_row) in estimate_missing_mvs()
367 mb_row, mb_col, in estimate_missing_mvs()
375 mb_row = first_corrupt / mb_cols; in estimate_missing_mvs()
[all …]
Dthreading.c300 int mb_row; in mt_decode_mb_rows() local
337 for (mb_row = start_mb_row; mb_row < pc->mb_rows; mb_row += (pbi->decoding_thread_count + 1)) in mt_decode_mb_rows()
345 last_mb_row = mb_row; in mt_decode_mb_rows()
347 xd->current_bc = &pbi->mbc[mb_row%num_part]; in mt_decode_mb_rows()
349 if (mb_row > 0) in mt_decode_mb_rows()
350 last_row_current_mb_col = &pbi->mt_current_mb_col[mb_row -1]; in mt_decode_mb_rows()
354 current_mb_col = &pbi->mt_current_mb_col[mb_row]; in mt_decode_mb_rows()
356 recon_yoffset = mb_row * recon_y_stride * 16; in mt_decode_mb_rows()
357 recon_uvoffset = mb_row * recon_uv_stride * 8; in mt_decode_mb_rows()
365 xd->mb_to_top_edge = -((mb_row * 16)) << 3; in mt_decode_mb_rows()
[all …]
Ddecodeframe.c510 int mb_row, mb_col; in decode_mb_rows() local
552 for (mb_row = 0; mb_row < pc->mb_rows; mb_row++) in decode_mb_rows()
563 recon_yoffset = mb_row * recon_y_stride * 16; in decode_mb_rows()
564 recon_uvoffset = mb_row * recon_uv_stride * 8; in decode_mb_rows()
572 xd->mb_to_top_edge = -((mb_row * 16) << 3); in decode_mb_rows()
573 xd->mb_to_bottom_edge = ((pc->mb_rows - 1 - mb_row) * 16) << 3; in decode_mb_rows()
623 mb_row, mb_col, in decode_mb_rows()
673 if(mb_row > 0) in decode_mb_rows()
676 vp8_loop_filter_row_normal(pc, lf_mic, mb_row-1, in decode_mb_rows()
680 vp8_loop_filter_row_simple(pc, lf_mic, mb_row-1, in decode_mb_rows()
[all …]
Derror_concealment.h36 int mb_row, int mb_col,
Donyxd_if.c465 int mb_row, mb_col; in vp8dx_references_buffer() local
467 for (mb_row = 0; mb_row < oci->mb_rows; mb_row++) in vp8dx_references_buffer()
Ddecodemv.c620 int mb_row = -1; in vp8_decode_mode_mvs() local
629 while (++mb_row < pbi->common.mb_rows) in vp8_decode_mode_mvs()
639 int mb_num = mb_row * pbi->common.mb_cols + mb_col; in vp8_decode_mode_mvs()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dencodeframe.c117 int mb_row, int mb_col) in mb_activity_measure() argument
123 int use_dc_pred = (mb_col || mb_row) && (!mb_col || !mb_row); in mb_activity_measure()
208 int mb_row, mb_col; in calc_activity_index() local
223 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in calc_activity_index()
275 int mb_row, mb_col; in build_activity_map() local
280 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in build_activity_map()
284 xd->up_available = (mb_row != 0); in build_activity_map()
285 recon_yoffset = (mb_row * recon_y_stride * 16); in build_activity_map()
299 mb_activity = mb_activity_measure( cpi, x, mb_row, mb_col ); in build_activity_map()
364 int mb_row, in encode_mb_row() argument
[all …]
Dsegmentation.c17 int mb_row, mb_col; in vp8_update_gf_useage_maps() local
32 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in vp8_update_gf_useage_maps()
Dmr_dissim.c83 int mb_row; in vp8_cal_dissimilarity() local
89 for (mb_row = 0; mb_row < cm->mb_rows; mb_row ++) in vp8_cal_dissimilarity()
130 if(mb_row < (cm->mb_rows-1)) in vp8_cal_dissimilarity()
139 && mb_row < (cm->mb_rows-1)) in vp8_cal_dissimilarity()
159 if(mb_row < (cm->mb_rows-1)) in vp8_cal_dissimilarity()
168 && mb_row < (cm->mb_rows-1)) in vp8_cal_dissimilarity()
Dethreading.c65 int mb_row; in thread_encoding_proc() local
80 … for (mb_row = ithread + 1; mb_row < cm->mb_rows; mb_row += (cpi->encoding_thread_count + 1)) in thread_encoding_proc()
89 int map_index = (mb_row * cm->mb_cols); in thread_encoding_proc()
91 volatile int *current_mb_col = &cpi->mt_current_mb_col[mb_row]; in thread_encoding_proc()
94 vp8_writer *w = &cpi->bc[1 + (mb_row % num_part)]; in thread_encoding_proc()
96 tp = cpi->tok + (mb_row * (cm->mb_cols * 16 * 24)); in thread_encoding_proc()
97 cpi->tplist[mb_row].start = tp; in thread_encoding_proc()
100 last_row_current_mb_col = &cpi->mt_current_mb_col[mb_row - 1]; in thread_encoding_proc()
108 xd->up_available = (mb_row != 0); in thread_encoding_proc()
109 recon_yoffset = (mb_row * recon_y_stride * 16); in thread_encoding_proc()
[all …]
Dtemporal_filter.c232 int mb_col, mb_row; in vp8_temporal_filter_iterate_c() local
250 for (mb_row = 0; mb_row < mb_rows; mb_row++) in vp8_temporal_filter_iterate_c()
264 cpi->mb.mv_row_min = -((mb_row * 16) + (16 - 5)); in vp8_temporal_filter_iterate_c()
265 cpi->mb.mv_row_max = ((cpi->common.mb_rows - 1 - mb_row) * 16) in vp8_temporal_filter_iterate_c()
Dbitstream.c390 int mb_row; in pack_tokens_into_partitions_c() local
396 for (mb_row = i; mb_row < cpi->common.mb_rows; mb_row += num_part) in pack_tokens_into_partitions_c()
398 const TOKENEXTRA *p = cpi->tplist[mb_row].start; in pack_tokens_into_partitions_c()
399 const TOKENEXTRA *stop = cpi->tplist[mb_row].stop; in pack_tokens_into_partitions_c()
413 int mb_row; in pack_mb_row_tokens_c() local
415 for (mb_row = 0; mb_row < cpi->common.mb_rows; mb_row++) in pack_mb_row_tokens_c()
417 const TOKENEXTRA *p = cpi->tplist[mb_row].start; in pack_mb_row_tokens_c()
418 const TOKENEXTRA *stop = cpi->tplist[mb_row].stop; in pack_mb_row_tokens_c()
526 int mb_row = -1; in pack_inter_mode_mvs() local
562 while (++mb_row < pc->mb_rows) in pack_inter_mode_mvs()
[all …]
Dpickinter.h24 int mb_row, int mb_col);
Dencodeframe.h27 int mb_row, int mb_col);
Dfirstpass.c509 int mb_row, mb_col; in vp8_first_pass() local
579 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) in vp8_first_pass()
586 xd->up_available = (mb_row != 0); in vp8_first_pass()
587 recon_yoffset = (mb_row * recon_y_stride * 16); in vp8_first_pass()
588 recon_uvoffset = (mb_row * recon_uv_stride * 8); in vp8_first_pass()
593 x->mv_row_min = -((mb_row * 16) + (VP8BORDERINPIXELS - 16)); in vp8_first_pass()
594 x->mv_row_max = ((cm->mb_rows - 1 - mb_row) * 16) + (VP8BORDERINPIXELS - 16); in vp8_first_pass()
602 int use_dc_pred = (mb_col || mb_row) && (!mb_col || !mb_row); in vp8_first_pass()
740 if (mb_row < cm->mb_rows / 2) in vp8_first_pass()
747 else if (mb_row > cm->mb_rows / 2) in vp8_first_pass()
Dpickinter.c414 int_mv *parent_ref_mv, int mb_row, int mb_col) in get_lower_res_motion_info() argument
428 parent_mb_row = mb_row*cpi->oxcf.mr_down_sampling_factor.den in get_lower_res_motion_info()
570 int *returndistortion, int *returnintra, int mb_row, in vp8_pick_inter_mode() argument
611 (void)mb_row; in vp8_pick_inter_mode()
624 &parent_mode, &parent_ref_mv, mb_row, mb_col); in vp8_pick_inter_mode()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_mbgraph.c27 int mb_row, in do_16x16_motion_iteration() argument
67 vp9_build_inter_predictors_sby(xd, mb_row, mb_col, BLOCK_16X16); in do_16x16_motion_iteration()
81 int_mv *dst_mv, int mb_row, int mb_col) { in do_16x16_motion_search() argument
97 mb_row, mb_col); in do_16x16_motion_search()
111 mb_row, mb_col); in do_16x16_motion_search()
178 int mb_row, in update_mbgraph_mb_stats() argument
208 mb_row, mb_col); in update_mbgraph_mb_stats()
240 int mb_col, mb_row, offset = 0; in update_mbgraph_frame_stats() local
260 for (mb_row = 0; mb_row < cm->mb_rows; mb_row++) { in update_mbgraph_frame_stats()
279 mb_row, mb_col); in update_mbgraph_frame_stats()
[all …]
Dvp9_temporal_filter.c197 int mb_col, mb_row; in temporal_filter_iterate_c() local
221 for (mb_row = 0; mb_row < mb_rows; mb_row++) { in temporal_filter_iterate_c()
234 cpi->mb.mv_row_min = -((mb_row * 16) + (17 - 2 * VP9_INTERP_EXTEND)); in temporal_filter_iterate_c()
235 cpi->mb.mv_row_max = ((cpi->common.mb_rows - 1 - mb_row) * 16) in temporal_filter_iterate_c()
293 mb_col * 16, mb_row * 16); in temporal_filter_iterate_c()
Dvp9_firstpass.c461 static BLOCK_SIZE get_bsize(const VP9_COMMON *cm, int mb_row, int mb_col) { in get_bsize() argument
463 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_16X16 in get_bsize()
466 return 2 * mb_row + 1 < cm->mi_rows ? BLOCK_8X16 in get_bsize()
472 int mb_row, mb_col; in vp9_first_pass() local
564 for (mb_row = 0; mb_row < cm->mb_rows; ++mb_row) { in vp9_first_pass()
570 xd->up_available = (mb_row != 0); in vp9_first_pass()
571 recon_yoffset = (mb_row * recon_y_stride * 16); in vp9_first_pass()
572 recon_uvoffset = (mb_row * recon_uv_stride * uv_mb_height); in vp9_first_pass()
576 x->mv_row_min = -((mb_row * 16) + BORDER_MV_PIXELS_B16); in vp9_first_pass()
577 x->mv_row_max = ((cm->mb_rows - 1 - mb_row) * 16) in vp9_first_pass()
[all …]
Dvp9_encodeframe.c176 const int mb_row = mi_row >> 1; in is_block_in_mb_map() local
182 return cpi->active_map[mb_row * mb_cols + mb_col]; in is_block_in_mb_map()
186 int row = mb_row + r; in is_block_in_mb_map()
215 const int mb_row = mi_row >> 1; in set_offsets() local
217 const int idx_map = mb_row * cm->mb_cols + mb_col; in set_offsets()
266 const int y = mb_row & ~3; in set_offsets()
268 const int p16 = ((mb_row & 1) << 1) + (mb_col & 1); in set_offsets()
269 const int p32 = ((mb_row & 2) << 2) + ((mb_col & 2) << 1); in set_offsets()
626 static unsigned int mb_activity_measure(MACROBLOCK *x, int mb_row, int mb_col) { in mb_activity_measure() argument
630 const int use_dc_pred = (mb_col || mb_row) && (!mb_col || !mb_row); in mb_activity_measure()
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/
Dviddec_mpeg2_metadata.c945 uint32_t mb_row = 0, mb_width = 0, prev_mb_addr = 0; in viddec_mpeg2_get_first_mb_number() local
951 mb_row = ((parser->mpeg2_last_parsed_slice_sc & 0xFF) - 1); in viddec_mpeg2_get_first_mb_number()
953 prev_mb_addr = (mb_row * mb_width) - 1; in viddec_mpeg2_get_first_mb_number()
962 mb_row += (temp << 7); in viddec_mpeg2_get_first_mb_number()

12