Home
last modified time | relevance | path

Searched refs:mb_index (Results 1 – 8 of 8) sorted by relevance

/third_party/openh264/codec/processing/src/vaacalc/
Dvaacalcfuncs.cpp44 int32_t mb_index = 0; in VAACalcSadSsd_c() local
56 pSum16x16[mb_index] = 0; in VAACalcSadSsd_c()
57 psqsum16x16[mb_index] = 0; in VAACalcSadSsd_c()
58 psqdiff16x16[mb_index] = 0; in VAACalcSadSsd_c()
75 pSad8x8[ (mb_index << 2) + 0] = l_sad; in VAACalcSadSsd_c()
76 pSum16x16[mb_index] += l_sum; in VAACalcSadSsd_c()
77 psqsum16x16[mb_index] += l_sqsum; in VAACalcSadSsd_c()
78 psqdiff16x16[mb_index] += l_sqdiff; in VAACalcSadSsd_c()
95 pSad8x8[ (mb_index << 2) + 1] = l_sad; in VAACalcSadSsd_c()
96 pSum16x16[mb_index] += l_sum; in VAACalcSadSsd_c()
[all …]
/third_party/openh264/test/processing/
DProcessUT_VaaCalc.cpp18 int32_t mb_index = 0; in VAACalcSadSsd_ref() local
30 pSum16x16[mb_index] = 0; in VAACalcSadSsd_ref()
31 psqsum16x16[mb_index] = 0; in VAACalcSadSsd_ref()
32 psqdiff16x16[mb_index] = 0; in VAACalcSadSsd_ref()
49 pSad8x8[ (mb_index << 2) + 0] = l_sad; in VAACalcSadSsd_ref()
50 pSum16x16[mb_index] += l_sum; in VAACalcSadSsd_ref()
51 psqsum16x16[mb_index] += l_sqsum; in VAACalcSadSsd_ref()
52 psqdiff16x16[mb_index] += l_sqdiff; in VAACalcSadSsd_ref()
69 pSad8x8[ (mb_index << 2) + 1] = l_sad; in VAACalcSadSsd_ref()
70 pSum16x16[mb_index] += l_sum; in VAACalcSadSsd_ref()
[all …]
/third_party/ffmpeg/libavcodec/
Ddvdec.c321 int mb_index, mb_x, mb_y, last_index; in dv_decode_video_segment() local
352 for (mb_index = 0; mb_index < 5; mb_index++, mb1 += s->sys->bpm, block1 += s->sys->bpm * 64) { in dv_decode_video_segment()
358 if (!mb_index) { in dv_decode_video_segment()
367 is_field_mode[mb_index] = 0; in dv_decode_video_segment()
382 is_field_mode[mb_index] |= !j && dct_mode; in dv_decode_video_segment()
400 ff_dlog(avctx, "MB block: %d, %d ", mb_index, j); in dv_decode_video_segment()
408 vs_bit_buffer_damaged = mb_bit_buffer_damaged[mb_index] = 1; in dv_decode_video_segment()
414 if (mb_bit_buffer_damaged[mb_index] > 0) in dv_decode_video_segment()
418 ff_dlog(avctx, "***pass 2 size=%d MB#=%d\n", put_bits_count(&pb), mb_index); in dv_decode_video_segment()
431 vs_bit_buffer_damaged = mb_bit_buffer_damaged[mb_index] = 1; in dv_decode_video_segment()
[all …]
Dmpeg4video.c119 const int mb_index = s->mb_x + s->mb_y * s->mb_stride; in ff_mpeg4_set_direct_mv() local
120 const int colocated_mb_type = s->next_picture.mb_type[mb_index]; in ff_mpeg4_set_direct_mv()
136 int field_select = s->next_picture.ref_index[0][4 * mb_index + 2 * i]; in ff_mpeg4_set_direct_mv()
146 s->mv[0][i][0] = s->p_field_mv_table[i][0][mb_index][0] * in ff_mpeg4_set_direct_mv()
148 s->mv[0][i][1] = s->p_field_mv_table[i][0][mb_index][1] * in ff_mpeg4_set_direct_mv()
151 s->p_field_mv_table[i][0][mb_index][0] in ff_mpeg4_set_direct_mv()
152 : s->p_field_mv_table[i][0][mb_index][0] * in ff_mpeg4_set_direct_mv()
155 s->p_field_mv_table[i][0][mb_index][1] in ff_mpeg4_set_direct_mv()
156 : s->p_field_mv_table[i][0][mb_index][1] * in ff_mpeg4_set_direct_mv()
Ddvenc.c823 int mb_index, i; in dv_revise_cnos() local
825 for (mb_index = 0; mb_index < 5; mb_index++) { in dv_revise_cnos()
826 data = dif + mb_index*80 + 4; in dv_revise_cnos()
831 data[1] |= blk[profile->bpm*mb_index+i].cno << 4; in dv_revise_cnos()
842 int mb_index, i, j; in dv_encode_video_segment() local
858 for (mb_index = 0; mb_index < 5; mb_index++) { in dv_encode_video_segment()
859 dv_calculate_mb_xy(s, work_chunk, mb_index, &mb_x, &mb_y); in dv_encode_video_segment()
861 qnos[mb_index] = DV_PROFILE_IS_HD(s->sys) ? 1 : 15; in dv_encode_video_segment()
Derror_resilience.c209 int mb_index, error, j; in guess_dc() local
211 mb_index = (b_x >> is_luma) + (b_y >> is_luma) * s->mb_stride; in guess_dc()
212 error = s->error_status_table[mb_index]; in guess_dc()
214 if (IS_INTER(s->cur_pic.mb_type[mb_index])) in guess_dc()
1169 int mb_index = mb_x * 2 + mb_y * 2 * s->b8_stride; in ff_er_frame_end() local
1173 … s->mv[0][j][0] = s->cur_pic.motion_val[dir][mb_index + (j & 1) + (j >> 1) * s->b8_stride][0]; in ff_er_frame_end()
1174 … s->mv[0][j][1] = s->cur_pic.motion_val[dir][mb_index + (j & 1) + (j >> 1) * s->b8_stride][1]; in ff_er_frame_end()
Dituh263dec.c661 const int mb_index = s->mb_x + s->mb_y * s->mb_stride; in set_direct_mv() local
663 int colocated_mb_type = p->mb_type[mb_index]; in set_direct_mv()
668 colocated_mb_type = p->mb_type[mb_index]; in set_direct_mv()
/third_party/openh264/codec/processing/src/loongarch/
Dvaa_lsx.c54 int32_t mb_index = 0; in VAACalcSadBgd_lsx() local
65 int32_t tmp_mb_index = mb_index << 2; in VAACalcSadBgd_lsx()
229 ++mb_index; in VAACalcSadBgd_lsx()