/external/libvpx/vp8/common/ |
D | alloccommon.c | 100 oci->mb_cols = width >> 4; in vp8_alloc_frame_buffers() 101 oci->MBs = oci->mb_rows * oci->mb_cols; in vp8_alloc_frame_buffers() 102 oci->mode_info_stride = oci->mb_cols + 1; in vp8_alloc_frame_buffers() 103 oci->mip = vpx_calloc((oci->mb_cols + 1) * (oci->mb_rows + 1), sizeof(MODE_INFO)); in vp8_alloc_frame_buffers() 114 oci->above_context = vpx_calloc(sizeof(ENTROPY_CONTEXT_PLANES) * oci->mb_cols, 1); in vp8_alloc_frame_buffers() 122 update_mode_info_border(oci->mi, oci->mb_rows, oci->mb_cols); in vp8_alloc_frame_buffers()
|
D | loopfilter.c | 353 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in vp8_loop_filter_frame() 457 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in vp8_loop_filter_frame_yonly() 509 int mb_cols = post->y_width >> 4; in vp8_loop_filter_partial_frame() local 522 …mbd->mode_info_context = cm->mi + (post->y_height >> 5) * (mb_cols + 1); /* Point at base o… in vp8_loop_filter_partial_frame() 565 for (mb_col = 0; mb_col < mb_cols; mb_col++) in vp8_loop_filter_partial_frame()
|
D | postproc.c | 753 oci->mb_cols, oci->mb_rows); in vp8_post_proc_frame() 763 int mb_cols = post->y_width >> 4; in vp8_post_proc_frame() local 772 for (j = 0; j < mb_cols; j++) in vp8_post_proc_frame() 795 int mb_cols = post->y_width >> 4; in vp8_post_proc_frame() local 804 for (j = 0; j < mb_cols; j++) in vp8_post_proc_frame() 837 int mb_cols = width >> 4; in vp8_post_proc_frame() local
|
D | onyxc_int.h | 116 int mb_cols; member
|
/external/libvpx/vp8/encoder/ |
D | segmentation.c | 26 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()
|
D | ethreading.c | 97 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() 118 int seg_map_index = (mb_row * cm->mb_cols); in thread_encoding_proc() 122 … while (mb_col > (*last_row_current_mb_col - nsync) && *last_row_current_mb_col != cm->mb_cols - 1) in thread_encoding_proc() 132 xd->mb_to_right_edge = ((cm->mb_cols - 1 - mb_col) * 16) << 3; in thread_encoding_proc() 138 x->mv_col_max = ((cm->mb_cols - 1 - mb_col) * 16) + (VP8BORDERINPIXELS - 16); in thread_encoding_proc() 261 … x->src.y_buffer += 16 * x->src.y_stride * (cpi->encoding_thread_count + 1) - 16 * cm->mb_cols; in thread_encoding_proc() 262 … x->src.u_buffer += 8 * x->src.uv_stride * (cpi->encoding_thread_count + 1) - 8 * cm->mb_cols; in thread_encoding_proc() 263 … x->src.v_buffer += 8 * x->src.uv_stride * (cpi->encoding_thread_count + 1) - 8 * cm->mb_cols; in thread_encoding_proc() 474 if(th_count > ((cm->mb_cols / cpi->mt_sync_range) - 1)) in vp8cx_create_encoder_threads() [all …]
|
D | temporal_filter.c | 291 int mb_cols = cpi->common.mb_cols; in vp8_temporal_filter_iterate_c() local 317 for (mb_col = 0; mb_col < mb_cols; mb_col++) in vp8_temporal_filter_iterate_c() 329 cpi->mb.mv_col_max = ((cpi->common.mb_cols - 1 - mb_col) * 16) in vp8_temporal_filter_iterate_c() 462 mb_y_offset += 16*(f->y_stride-mb_cols); in vp8_temporal_filter_iterate_c() 463 mb_uv_offset += 8*(f->uv_stride-mb_cols); in vp8_temporal_filter_iterate_c()
|
D | encodeframe.c | 481 int seg_map_index = (mb_row * cpi->common.mb_cols); in encode_mb_row() 485 const int rightmost_col = cm->mb_cols - 1; in encode_mb_row() 516 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in encode_mb_row() 522 xd->mb_to_right_edge = ((cm->mb_cols - 1 - mb_col) * 16) << 3; in encode_mb_row() 527 x->mv_col_max = ((cm->mb_cols - 1 - mb_col) * 16) in encode_mb_row() 544 && (*last_row_current_mb_col) != (cm->mb_cols - 1)) in encode_mb_row() 797 vpx_memset(cm->above_context, 0, sizeof(ENTROPY_CONTEXT_PLANES) * cm->mb_cols); in vp8_encode_frame() 822 tp = cpi->tok + mb_row * (cm->mb_cols * 16 * 24); in vp8_encode_frame() 827 … x->src.y_buffer += 16 * x->src.y_stride * (cpi->encoding_thread_count + 1) - 16 * cm->mb_cols; in vp8_encode_frame() 828 … x->src.u_buffer += 8 * x->src.uv_stride * (cpi->encoding_thread_count + 1) - 8 * cm->mb_cols; in vp8_encode_frame() [all …]
|
D | onyx_if.c | 344 … vpx_memcpy(cpi->segmentation_map, segmentation_map, (cpi->common.mb_rows * cpi->common.mb_cols)); in set_segmentation_map() 376 CHECK_MEM_ERROR(seg_map, vpx_calloc(cpi->common.mb_rows * cpi->common.mb_cols, 1)); in segmentation_test_function() 433 int mbs_in_frame = cpi->common.mb_rows * cpi->common.mb_cols; in cyclic_background_refresh() 436 CHECK_MEM_ERROR(seg_map, vpx_calloc(cpi->common.mb_rows * cpi->common.mb_cols, 1)); in cyclic_background_refresh() 1290 cpi->mb.pip = vpx_calloc((cpi->common.mb_cols + 1) * in vp8_alloc_partition_data() 1337 unsigned int tokens = cm->mb_rows * cm->mb_cols * 24 * 16; in vp8_alloc_compressor_data() 1351 CHECK_MEM_ERROR(cpi->gf_active_flags, vpx_calloc(1, cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data() 1353 cpi->gf_active_count = cm->mb_rows * cm->mb_cols; in vp8_alloc_compressor_data() 1877 …CHECK_MEM_ERROR(cpi->lfmv, vpx_calloc((cpi->common.mb_rows+2) * (cpi->common.mb_cols+2), sizeof(in… in vp8_create_compressor() 1878 …f_ref_frame_sign_bias, vpx_calloc((cpi->common.mb_rows+2) * (cpi->common.mb_cols+2), sizeof(int))); in vp8_create_compressor() [all …]
|
D | firstpass.c | 493 int col_blocks = 4 * cm->mb_cols; in vp8_first_pass() 564 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++) in vp8_first_pass() 590 x->mv_col_max = ((cm->mb_cols - 1 - mb_col) * 16) + (VP8BORDERINPIXELS - 16); in vp8_first_pass() 706 if (mb_col < cm->mb_cols / 2) in vp8_first_pass() 713 else if (mb_col > cm->mb_cols / 2) in vp8_first_pass() 736 x->src.y_buffer += 16 * x->src.y_stride - 16 * cm->mb_cols; in vp8_first_pass() 737 x->src.u_buffer += 8 * x->src.uv_stride - 8 * cm->mb_cols; in vp8_first_pass() 738 x->src.v_buffer += 8 * x->src.uv_stride - 8 * cm->mb_cols; in vp8_first_pass()
|
D | bitstream.c | 913 while (++mb_col < pc->mb_cols) in pack_inter_mode_mvs() 924 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 16) << 3; in pack_inter_mode_mvs() 1083 while (++mb_col < c->mb_cols) in write_kfmodes()
|
D | ratectrl.c | 414 int pct_gf_active = (100 * cpi->gf_active_count) / (cpi->common.mb_rows * cpi->common.mb_cols); in calc_gf_params() 1063 … int pct_gf_active = (100 * cpi->gf_active_count) / (cpi->common.mb_rows * cpi->common.mb_cols); in vp8_calc_pframe_target_size()
|
/external/libvpx/vp8/decoder/ |
D | threading.c | 276 for (mb_col = 0; mb_col < pc->mb_cols; mb_col++) in thread_decoding_proc() 280 … while (mb_col > (*last_row_current_mb_col - nsync) && *last_row_current_mb_col != pc->mb_cols - 1) in thread_decoding_proc() 300 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 16) << 3; in thread_decoding_proc() 334 if(mb_col != pc->mb_cols-1) in thread_decoding_proc() 756 for (mb_col = 0; mb_col < pc->mb_cols; mb_col++) in vp8mt_decode_mb_rows() 759 … while (mb_col > (*last_row_current_mb_col - nsync) && *last_row_current_mb_col != pc->mb_cols - 1) in vp8mt_decode_mb_rows() 779 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 16) << 3; in vp8mt_decode_mb_rows() 822 if(mb_col != pc->mb_cols-1) in vp8mt_decode_mb_rows()
|
D | decodemv.c | 311 mb_to_right_edge = ((pbi->common.mb_cols - 1 - mb_col) * 16) << 3; in read_mb_modes_mv() 537 while (++mb_col < pbi->common.mb_cols) in vp8_decode_mode_mvs()
|
D | decodframe.c | 346 for (mb_col = 0; mb_col < pc->mb_cols; mb_col++) in decode_mb_row() 362 xd->mb_to_right_edge = ((pc->mb_cols - 1 - mb_col) * 16) << 3; in decode_mb_row() 865 vpx_memset(pc->above_context, 0, sizeof(ENTROPY_CONTEXT_PLANES) * pc->mb_cols); in vp8_decode_frame()
|