Home
last modified time | relevance | path

Searched refs:mb_cols (Results 1 – 25 of 34) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Derror_concealment.c55 pbi->overlaps = vpx_calloc(pbi->common.mb_rows * pbi->common.mb_cols, in vp8_alloc_overlap_lists()
173 int mb_rows, int mb_cols, in vp8_calculate_overlaps() argument
192 if (new_row >= ((16*mb_rows) << 3) || new_col >= ((16*mb_cols) << 3)) in vp8_calculate_overlaps()
214 end_col = MIN(mb_cols - overlap_mb_col, 2); in vp8_calculate_overlaps()
232 mb_overlap = overlap_ul + (overlap_mb_row + rel_row) * mb_cols + in vp8_calculate_overlaps()
330 int mb_rows, int mb_cols) in calc_prev_mb_overlaps() argument
339 overlaps, mb_rows, mb_cols, in calc_prev_mb_overlaps()
351 int mb_rows, int mb_cols, in estimate_missing_mvs() argument
355 vpx_memset(overlaps, 0, sizeof(MB_OVERLAP) * mb_rows * mb_cols); in estimate_missing_mvs()
359 for (mb_col = 0; mb_col < mb_cols; ++mb_col) in estimate_missing_mvs()
[all …]
Derror_concealment.h37 int mb_rows, int mb_cols,
Dthreading.c303 const int first_row_no_sync_above = pc->mb_cols + nsync; in mt_decode_mb_rows()
405 for (mb_col = 0; mb_col < pc->mb_cols; mb_col++) in mt_decode_mb_rows()
423 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 16) << 3; in mt_decode_mb_rows()
449 pc->mb_rows, pc->mb_cols, in mt_decode_mb_rows()
506 if(mb_col != pc->mb_cols-1) in mt_decode_mb_rows()
Ddecodeframe.c595 for (mb_col = 0; mb_col < pc->mb_cols; mb_col++) in decode_mb_rows()
602 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 16) << 3; in decode_mb_rows()
624 pc->mb_rows, pc->mb_cols, in decode_mb_rows()
698 lf_mic += pc->mb_cols; in decode_mb_rows()
1327 pbi->mvs_corrupt_from_mb < (unsigned int)pc->mb_cols * pc->mb_rows) in vp8_decode_frame()
1335 vpx_memset(pc->above_context, 0, sizeof(ENTROPY_CONTEXT_PLANES) * pc->mb_cols); in vp8_decode_frame()
Ddecodemv.c627 mb_to_right_edge_start = ((pbi->common.mb_cols - 1) * 16) << 3; in vp8_decode_mode_mvs()
636 while (++mb_col < pbi->common.mb_cols) in vp8_decode_mode_mvs()
639 int mb_num = mb_row * pbi->common.mb_cols + mb_col; in vp8_decode_mode_mvs()
Donyxd_if.c394 for (col = 0; col < pbi->common.mb_cols; ++col) in vp8dx_receive_compressed_data()
469 for (mb_col = 0; mb_col < oci->mb_cols; mb_col++,mi++) in vp8dx_references_buffer()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dset_roi.cc54 cpi.common.mb_cols = 320 >> 4; in TEST()
55 const int mbs = (cpi.common.mb_rows * cpi.common.mb_cols); in TEST()
70 cpi.common.mb_cols, delta_q, delta_lf, in TEST()
138 cpi.common.mb_cols, rand_deltas, in TEST()
148 cpi.common.mb_cols, delta_q, in TEST()
160 cpi.common.mb_cols, delta_q, in TEST()
167 cpi.common.mb_cols, delta_q, in TEST()
172 cpi.common.mb_cols - 1, delta_q, in TEST()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dalloccommon.c83 oci->mb_cols = width >> 4; in vp8_alloc_frame_buffers()
84 oci->MBs = oci->mb_rows * oci->mb_cols; in vp8_alloc_frame_buffers()
85 oci->mode_info_stride = oci->mb_cols + 1; in vp8_alloc_frame_buffers()
86 oci->mip = vpx_calloc((oci->mb_cols + 1) * (oci->mb_rows + 1), sizeof(MODE_INFO)); in vp8_alloc_frame_buffers()
96 oci->above_context = vpx_calloc(sizeof(ENTROPY_CONTEXT_PLANES) * oci->mb_cols, 1); in vp8_alloc_frame_buffers()
114 oci->pp_limits_buffer = vpx_memalign(16, 24 * ((oci->mb_cols + 1) & ~1)); in vp8_alloc_frame_buffers()
Dloopfilter.c210 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in vp8_loop_filter_row_normal()
267 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in vp8_loop_filter_row_simple()
318 int mb_cols = cm->mb_cols; in vp8_loop_filter_frame() local
342 for (mb_col = 0; mb_col < mb_cols; mb_col++) in vp8_loop_filter_frame()
398 for (mb_col = 0; mb_col < mb_cols; mb_col++) in vp8_loop_filter_frame()
484 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in vp8_loop_filter_frame_yonly()
567 int mb_cols = post->y_width >> 4; in vp8_loop_filter_partial_frame() local
594 mode_info_context = cm->mi + (post->y_height >> 5) * (mb_cols + 1); in vp8_loop_filter_partial_frame()
599 for (mb_col = 0; mb_col < mb_cols; mb_col++) in vp8_loop_filter_partial_frame()
Dmfqe.c304 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in vp8_multiframe_quality_enhance()
376 y_ptr += show->y_stride * 16 - 16 * cm->mb_cols; in vp8_multiframe_quality_enhance()
377 u_ptr += show->uv_stride * 8 - 8 * cm->mb_cols; in vp8_multiframe_quality_enhance()
378 v_ptr += show->uv_stride * 8 - 8 * cm->mb_cols; in vp8_multiframe_quality_enhance()
379 yd_ptr += dest->y_stride * 16 - 16 * cm->mb_cols; in vp8_multiframe_quality_enhance()
380 ud_ptr += dest->uv_stride * 8 - 8 * cm->mb_cols; in vp8_multiframe_quality_enhance()
381 vd_ptr += dest->uv_stride * 8 - 8 * cm->mb_cols; in vp8_multiframe_quality_enhance()
Dpostproc.c338 unsigned char *uvlimits = cm->pp_limits_buffer + 16 * cm->mb_cols; in vp8_deblock()
348 for (mbc = 0; mbc < cm->mb_cols; mbc++) in vp8_deblock()
397 int mb_cols = source->y_height >> 4; in vp8_de_noise() local
404 vpx_memset(limits, (unsigned char)ppl, 16 * mb_cols); in vp8_de_noise()
844 oci->mb_cols, oci->mb_rows); in vp8_post_proc_frame()
854 int mb_cols = post->y_width >> 4; in vp8_post_proc_frame() local
863 for (j = 0; j < mb_cols; j++) in vp8_post_proc_frame()
886 int mb_cols = post->y_width >> 4; in vp8_post_proc_frame() local
895 for (j = 0; j < mb_cols; j++) in vp8_post_proc_frame()
Donyxc_int.h104 int mb_cols; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dsegmentation.c26 vpx_memset(cpi->gf_active_flags, 1, (cm->mb_rows * cm->mb_cols)); in vp8_update_gf_useage_maps()
27 cpi->gf_active_count = cm->mb_rows * cm->mb_cols; in vp8_update_gf_useage_maps()
35 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in vp8_update_gf_useage_maps()
Dlookahead.c114 int mb_cols = (src->y_width + 15) >> 4; in vp8_lookahead_push() local
135 for (; col < mb_cols; ++col) in vp8_lookahead_push()
142 if (col == mb_cols) in vp8_lookahead_push()
148 for (; active_end < mb_cols; ++active_end) in vp8_lookahead_push()
164 active_map += mb_cols; in vp8_lookahead_push()
Dmr_dissim.c92 for (mb_col = 0; mb_col < cm->mb_cols; mb_col ++) in vp8_cal_dissimilarity()
122 if(mb_col < (cm->mb_cols-1)) in vp8_cal_dissimilarity()
138 if(mb_col < (cm->mb_cols-1) in vp8_cal_dissimilarity()
151 if(mb_col < (cm->mb_cols-1)) in vp8_cal_dissimilarity()
167 if(mb_col < (cm->mb_cols-1) in vp8_cal_dissimilarity()
Dethreading.c89 int map_index = (mb_row * cm->mb_cols); in thread_encoding_proc()
96 tp = cpi->tok + (mb_row * (cm->mb_cols * 16 * 24)); in thread_encoding_proc()
116 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in thread_encoding_proc()
138 xd->mb_to_right_edge = ((cm->mb_cols - 1 - mb_col) * 16) << 3; in thread_encoding_proc()
146 x->mv_col_max = ((cm->mb_cols - 1 - mb_col) * 16) + (VP8BORDERINPIXELS - 16); in thread_encoding_proc()
288 … x->src.y_buffer += 16 * x->src.y_stride * (cpi->encoding_thread_count + 1) - 16 * cm->mb_cols; in thread_encoding_proc()
289 … x->src.u_buffer += 8 * x->src.uv_stride * (cpi->encoding_thread_count + 1) - 8 * cm->mb_cols; in thread_encoding_proc()
290 … x->src.v_buffer += 8 * x->src.uv_stride * (cpi->encoding_thread_count + 1) - 8 * cm->mb_cols; in thread_encoding_proc()
294 x->gf_active_ptr += cm->mb_cols * cpi->encoding_thread_count; in thread_encoding_proc()
517 if(th_count > ((cm->mb_cols / cpi->mt_sync_range) - 1)) in vp8cx_create_encoder_threads()
[all …]
Dencodeframe.c226 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in calc_activity_index()
288 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in build_activity_map()
316 x->src.y_buffer += 16 * x->src.y_stride - 16 * cm->mb_cols; in build_activity_map()
377 int map_index = (mb_row * cpi->common.mb_cols); in encode_mb_row()
387 const int rightmost_col = cm->mb_cols + nsync; in encode_mb_row()
431 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in encode_mb_row()
442 xd->mb_to_right_edge = ((cm->mb_cols - 1 - mb_col) * 16) << 3; in encode_mb_row()
448 x->mv_col_max = ((cm->mb_cols - 1 - mb_col) * 16) in encode_mb_row()
650 sizeof(ENTROPY_CONTEXT_PLANES) * cm->mb_cols); in init_encode_frame_mb_context()
827 tp = cpi->tok + mb_row * (cm->mb_cols * 16 * 24); in vp8_encode_frame()
[all …]
Dtemporal_filter.c234 int mb_cols = cpi->common.mb_cols; in vp8_temporal_filter_iterate_c() local
269 for (mb_col = 0; mb_col < mb_cols; mb_col++) in vp8_temporal_filter_iterate_c()
279 cpi->mb.mv_col_max = ((cpi->common.mb_cols - 1 - mb_col) * 16) in vp8_temporal_filter_iterate_c()
417 mb_y_offset += 16*(f->y_stride-mb_cols); in vp8_temporal_filter_iterate_c()
418 mb_uv_offset += 8*(f->uv_stride-mb_cols); in vp8_temporal_filter_iterate_c()
Donyx_if.c507 … vpx_memcpy(cpi->segmentation_map, segmentation_map, (cpi->common.mb_rows * cpi->common.mb_cols)); in set_segmentation_map()
539 CHECK_MEM_ERROR(seg_map, vpx_calloc(cpi->common.mb_rows * cpi->common.mb_cols, 1)); in segmentation_test_function()
575 int mbs_in_frame = cpi->common.mb_rows * cpi->common.mb_cols; in cyclic_background_refresh()
1142 cpi->mb.pip = vpx_calloc((cpi->common.mb_cols + 1) * in vp8_alloc_partition_data()
1192 unsigned int tokens = cm->mb_rows * cm->mb_cols * 24 * 16; in vp8_alloc_compressor_data()
1205 cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data()
1206 cpi->gf_active_count = cm->mb_rows * cm->mb_cols; in vp8_alloc_compressor_data()
1211 cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data()
1215 CHECK_MEM_ERROR(cpi->lfmv, vpx_calloc((cm->mb_rows+2) * (cm->mb_cols+2), in vp8_alloc_compressor_data()
1219 vpx_calloc((cm->mb_rows+2) * (cm->mb_cols+2), in vp8_alloc_compressor_data()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_lookahead.c99 int mb_cols = (src->y_width + 15) >> 4; in vp9_lookahead_push() local
121 for (; col < mb_cols; ++col) { in vp9_lookahead_push()
127 if (col == mb_cols) in vp9_lookahead_push()
133 for (; active_end < mb_cols; ++active_end) { in vp9_lookahead_push()
148 active_map += mb_cols; in vp9_lookahead_push()
Dvp9_mbgraph.c271 x->mv_col_max = (cm->mb_cols - 1) * 8 + BORDER_MV_PIXELS_B16; in update_mbgraph_frame_stats()
274 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) { in update_mbgraph_frame_stats()
300 offset += cm->mb_cols; in update_mbgraph_frame_stats()
315 vpx_calloc(cm->mb_rows * cm->mb_cols * sizeof(*arf_not_zz), in separate_arf_mbs()
327 offset += cm->mb_cols, mb_row++) { in separate_arf_mbs()
328 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) { in separate_arf_mbs()
351 if (arf_not_zz[mi_row / 2 * cm->mb_cols + mi_col / 2]) { in separate_arf_mbs()
401 cm->mb_rows * cm->mb_cols * in vp9_update_mbgraph_stats()
Dvp9_temporal_filter.c199 int mb_cols = cpi->common.mb_cols; in temporal_filter_iterate_c() local
239 for (mb_col = 0; mb_col < mb_cols; mb_col++) { in temporal_filter_iterate_c()
248 cpi->mb.mv_col_max = ((cpi->common.mb_cols - 1 - mb_col) * 16) in temporal_filter_iterate_c()
362 mb_y_offset += 16 * (f->y_stride - mb_cols); in temporal_filter_iterate_c()
363 mb_uv_offset += mb_uv_height * (f->uv_stride - mb_cols); in temporal_filter_iterate_c()
Dvp9_onyx_int.h599 static INLINE int get_token_alloc(int mb_rows, int mb_cols) { in get_token_alloc() argument
606 return mb_rows * mb_cols * (16 * 16 * 3 + 4); in get_token_alloc()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_alloccommon.c36 cm->mb_cols = (cm->mi_cols + 1) >> 1; in set_mb_mi()
38 cm->MBs = cm->mb_rows * cm->mb_cols; in set_mb_mi()
Dvp9_postproc.c656 cm->mb_cols, cm->mb_rows); in vp9_post_proc_frame()
664 int mb_cols = ppbuf->y_width >> 4; in vp9_post_proc_frame()
672 for (j = 0; j < mb_cols; j++) { in vp9_post_proc_frame()
691 int mb_cols = ppbuf->y_width >> 4; in vp9_post_proc_frame()
699 for (j = 0; j < mb_cols; j++) { in vp9_post_proc_frame()

12