Home
last modified time | relevance | path

Searched refs:scan8 (Results 1 – 21 of 21) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh264_direct.c226 int left_ref = sl->ref_cache[list][scan8[0] - 1]; in pred_spatial_direct_motion()
227 int top_ref = sl->ref_cache[list][scan8[0] - 8]; in pred_spatial_direct_motion()
228 int refc = sl->ref_cache[list][scan8[0] - 8 + 4]; in pred_spatial_direct_motion()
229 const int16_t *C = sl->mv_cache[list][scan8[0] - 8 + 4]; in pred_spatial_direct_motion()
231 refc = sl->ref_cache[list][scan8[0] - 8 - 1]; in pred_spatial_direct_motion()
232 C = sl->mv_cache[list][scan8[0] - 8 - 1]; in pred_spatial_direct_motion()
240 const int16_t *const A = sl->mv_cache[list][scan8[0] - 1]; in pred_spatial_direct_motion()
241 const int16_t *const B = sl->mv_cache[list][scan8[0] - 8]; in pred_spatial_direct_motion()
277 fill_rectangle(&sl->ref_cache[0][scan8[0]], 4, 4, 8, (uint8_t)ref[0], 1); in pred_spatial_direct_motion()
278 fill_rectangle(&sl->ref_cache[1][scan8[0]], 4, 4, 8, (uint8_t)ref[1], 1); in pred_spatial_direct_motion()
[all …]
Dh264_cabac.c1470 int refa = sl->ref_cache[list][scan8[n] - 1]; in decode_cabac_mb_ref()
1471 int refb = sl->ref_cache[list][scan8[n] - 8]; in decode_cabac_mb_ref()
1476 if( refa > 0 && !(sl->direct_cache[scan8[n] - 1]&(MB_TYPE_DIRECT2>>1)) ) in decode_cabac_mb_ref()
1478 if( refb > 0 && !(sl->direct_cache[scan8[n] - 8]&(MB_TYPE_DIRECT2>>1)) ) in decode_cabac_mb_ref()
1536 int amvd0 = sl->mvd_cache[list][scan8[n] - 1][0] +\
1537 sl->mvd_cache[list][scan8[n] - 8][0];\
1538 int amvd1 = sl->mvd_cache[list][scan8[n] - 1][1] +\
1539 sl->mvd_cache[list][scan8[n] - 8][1];\
1568 nza = sl->non_zero_count_cache[scan8[idx] - 1]; in get_cabac_cbf_ctx()
1569 nzb = sl->non_zero_count_cache[scan8[idx] - 8]; in get_cabac_cbf_ctx()
[all …]
Dh264_cavlc.c289 const int index8= scan8[n]; in pred_non_zero_count()
296 ff_tlog(h->avctx, "pred_nnz L%X T%X n%d s%d P%X\n", left, top, n, scan8[n], i&31); in pred_non_zero_count()
462 sl->non_zero_count_cache[scan8[n]] = total_coeff; in decode_residual()
657 fill_rectangle(&sl->non_zero_count_cache[scan8[p*16]], 4, 4, 8, 0, 1); in decode_luma_residual()
675 nnz = &sl->non_zero_count_cache[scan8[4 * i8x8 + p * 16]]; in decode_luma_residual()
685 new_cbp |= sl->non_zero_count_cache[scan8[index]] << i8x8; in decode_luma_residual()
689 uint8_t * const nnz = &sl->non_zero_count_cache[scan8[4 * i8x8 + p * 16]]; in decode_luma_residual()
820 fill_rectangle(&sl->intra4x4_pred_mode_cache[ scan8[i] ], 2, 2, 8, mode, 1); in ff_h264_decode_mb_cavlc()
822 sl->intra4x4_pred_mode_cache[scan8[i]] = mode; in ff_h264_decode_mb_cavlc()
858 sl->ref_cache[0][scan8[4]] = in ff_h264_decode_mb_cavlc()
[all …]
Dh264_mvpred.h54 sl->mv_cache[list][scan8[0] - 2][0] = mv[0]; \ in fetch_diagonal_mv()
55 sl->mv_cache[list][scan8[0] - 2][1] = mv[1] MV_OP; \ in fetch_diagonal_mv()
59 && i >= scan8[0] + 8 && (i & 7) == 4 in fetch_diagonal_mv()
60 && sl->ref_cache[list][scan8[0] - 1] != PART_NOT_AVAILABLE) { in fetch_diagonal_mv()
63 AV_ZERO32(sl->mv_cache[list][scan8[0] - 2]); in fetch_diagonal_mv()
64 *C = sl->mv_cache[list][scan8[0] - 2]; in fetch_diagonal_mv()
102 const int index8 = scan8[n]; in pred_motion()
167 const int top_ref = sl->ref_cache[list][scan8[0] - 8]; in pred_16x8_motion()
168 const int16_t *const B = sl->mv_cache[list][scan8[0] - 8]; in pred_16x8_motion()
179 const int left_ref = sl->ref_cache[list][scan8[8] - 1]; in pred_16x8_motion()
[all …]
Dsvq3.c381 const int index8 = scan8[n]; in svq3_pred_motion()
594 AV_WN32A(s->mv_cache[dir][scan8[k] + 1 * 8], mv); in svq3_mc_dir()
597 AV_WN32A(s->mv_cache[dir][scan8[k] + 1 + 1 * 8], mv); in svq3_mc_dir()
600 AV_WN32A(s->mv_cache[dir][scan8[k] + 1], mv); in svq3_mc_dir()
602 AV_WN32A(s->mv_cache[dir][scan8[k]], mv); in svq3_mc_dir()
621 if (s->non_zero_count_cache[scan8[i]] || s->mb[i * 16]) { in hl_decode_mb_idct_luma()
641 const int dir = s->intra4x4_pred_mode_cache[scan8[i]]; in hl_decode_mb_predict_luma()
657 nnz = s->non_zero_count_cache[scan8[i]]; in hl_decode_mb_predict_luma()
707 if (s->non_zero_count_cache[scan8[i]] || s->mb[i * 16]) { in hl_decode_mb()
770 AV_COPY32(s->mv_cache[m][scan8[0] - 1 + i * 8], in svq3_decode_mb()
[all …]
Dh264_mb.c42 int raw_my = sl->mv_cache[list][scan8[n]][1]; in get_lowest_part_list_y()
62 int ref_n = sl->ref_cache[0][scan8[n]]; in get_lowest_part_y()
78 int ref_n = sl->ref_cache[1][scan8[n]]; in get_lowest_part_y()
216 const int mx = sl->mv_cache[list][scan8[n]][0] + src_x_offset * 8; in mc_dir_part()
217 int my = sl->mv_cache[list][scan8[n]][1] + src_y_offset * 8; in mc_dir_part()
352 H264Ref *ref = &sl->ref_list[0][sl->ref_cache[0][scan8[n]]]; in mc_part_std()
362 H264Ref *ref = &sl->ref_list[1][sl->ref_cache[1][scan8[n]]]; in mc_part_std()
411 int refn0 = sl->ref_cache[0][scan8[n]]; in mc_part_weighted()
412 int refn1 = sl->ref_cache[1][scan8[n]]; in mc_part_weighted()
458 int refn = sl->ref_cache[list][scan8[n]]; in mc_part_weighted()
[all …]
Dh264_mb_template.c80 int8_t *ref = &sl->ref_cache[list][scan8[0]]; in FUNC()
84 int ref = sl->ref_cache[list][scan8[i]]; in FUNC()
86 fill_rectangle(&sl->ref_cache[list][scan8[i]], 2, 2, in FUNC()
212 if (sl->non_zero_count_cache[scan8[i]] || in FUNC()
219 if (sl->non_zero_count_cache[scan8[i + 4]] || in FUNC()
236 if (sl->non_zero_count_cache[scan8[CHROMA_DC_BLOCK_INDEX + 0]]) in FUNC()
239 if (sl->non_zero_count_cache[scan8[CHROMA_DC_BLOCK_INDEX + 1]]) in FUNC()
290 int8_t *ref = &sl->ref_cache[list][scan8[0]]; in FUNC()
294 int ref = sl->ref_cache[list][scan8[i]]; in FUNC()
296 fill_rectangle(&sl->ref_cache[list][scan8[i]], 2, 2, in FUNC()
Dh264dec.h651 static const uint8_t scan8[16 * 3 + 3] = { variable
699 const int index8 = scan8[n]; in pred_intra_mode()
755 int16_t(*mv_src)[2] = &sl->mv_cache[list][scan8[0]]; in write_back_motion_list()
763 uint8_t(*mvd_src)[2] = &sl->mvd_cache[list][scan8[0]]; in write_back_motion_list()
777 ref_index[0 + 0 * 2] = ref_cache[scan8[0]]; in write_back_motion_list()
778 ref_index[1 + 0 * 2] = ref_cache[scan8[4]]; in write_back_motion_list()
779 ref_index[0 + 1 * 2] = ref_cache[scan8[8]]; in write_back_motion_list()
780 ref_index[1 + 1 * 2] = ref_cache[scan8[12]]; in write_back_motion_list()
Dh264_slice.c534 …ck_offset[i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 4 * pic->f->linesize[0… in h264_frame_start()
535 …ck_offset[48 + i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 8 * pic->f->linesize[0… in h264_frame_start()
539 …ck_offset[32 + i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 4 * pic->f->linesize[1… in h264_frame_start()
541 …ck_offset[48 + 32 + i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 8 * pic->f->linesize[1… in h264_frame_start()
2243 int16_t(*mv_dst)[2] = &sl->mv_cache[list][scan8[0]]; in fill_filter_caches_inter()
2244 int8_t *ref_cache = &sl->ref_cache[list][scan8[0]]; in fill_filter_caches_inter()
2435 nnz_cache[scan8[0]] = in fill_filter_caches()
2436 nnz_cache[scan8[1]] = in fill_filter_caches()
2437 nnz_cache[scan8[2]] = in fill_filter_caches()
2438 nnz_cache[scan8[3]] = (sl->cbp & 0x1000) >> 12; in fill_filter_caches()
[all …]
Dh264idct_template.c177 int nnz = nnzc[ scan8[i] ]; in FUNCC()
188 …if(nnzc[ scan8[i] ]) FUNCC(ff_h264_idct_add )(dst + block_offset[i], block + i*16*si… in FUNCC()
196 int nnz = nnzc[ scan8[i] ]; in FUNCC()
208 if(nnzc[ scan8[i] ]) in FUNCC()
221 if(nnzc[ scan8[i] ]) in FUNCC()
230 if(nnzc[ scan8[i+4] ]) in FUNCC()
Dh264dec.c95 fill_rectangle(&sl->ref_cache[0][scan8[0]], 4, 4, 8, ref, 1); in h264_er_decode_mb()
96 fill_rectangle(sl->mv_cache[0][scan8[0]], 4, 4, 8, in h264_er_decode_mb()
231 sl->ref_cache[0][scan8[5] + 1] = in ff_h264_slice_context_init()
232 sl->ref_cache[0][scan8[7] + 1] = in ff_h264_slice_context_init()
233 sl->ref_cache[0][scan8[13] + 1] = in ff_h264_slice_context_init()
234 sl->ref_cache[1][scan8[5] + 1] = in ff_h264_slice_context_init()
235 sl->ref_cache[1][scan8[7] + 1] = in ff_h264_slice_context_init()
236 sl->ref_cache[1][scan8[13] + 1] = PART_NOT_AVAILABLE; in ff_h264_slice_context_init()
Dh264_parse.c144 int status = top[pred_mode_cache[scan8[0] + i]]; in ff_h264_check_intra4x4_pred_mode()
151 pred_mode_cache[scan8[0] + i] = status; in ff_h264_check_intra4x4_pred_mode()
160 int status = left[pred_mode_cache[scan8[0] + 8 * i]]; in ff_h264_check_intra4x4_pred_mode()
167 pred_mode_cache[scan8[0] + 8 * i] = status; in ff_h264_check_intra4x4_pred_mode()
Dh264_mc_template.c52 …(sl->pwt.implicit_weight[sl->ref_cache[0][scan8[n]]][sl->ref_cache[1][scan8[n]]][sl->mb_y & 1] != … in mc_part()
Dh264_loopfilter.c516 … bS[0]= 1+((h->cbp_table[mbn_xy] & 0x4000) || sl->non_zero_count_cache[scan8[0]+0]); in filter_mb_dir()
517 … bS[1]= 1+((h->cbp_table[mbn_xy] & 0x4000) || sl->non_zero_count_cache[scan8[0]+1]); in filter_mb_dir()
518 … bS[2]= 1+((h->cbp_table[mbn_xy] & 0x8000) || sl->non_zero_count_cache[scan8[0]+2]); in filter_mb_dir()
519 … bS[3]= 1+((h->cbp_table[mbn_xy] & 0x8000) || sl->non_zero_count_cache[scan8[0]+3]); in filter_mb_dir()
524 bS[i] = 1 + !!(sl->non_zero_count_cache[scan8[0]+i] | mbn_nnz[i]); in filter_mb_dir()
/third_party/ffmpeg/libavcodec/x86/
Dh264_idct.asm47 %define scan8 picregq
50 %define scan8 scan8_mem
371 movzx r6, byte [scan8+r5]
398 movzx r6, byte [scan8+r5]
430 movzx r6, byte [scan8+r5]
478 movzx r6, byte [scan8+r5]
504 movzx r6, byte [scan8+r5]
552 movzx r6, byte [scan8+r5]
612 movzx r6, byte [scan8+r5]
660 movzx r6, byte [scan8+r5]
[all …]
/third_party/ffmpeg/libavcodec/mips/
Dh264idct_msa.c355 int32_t nnz = nzc[scan8[i]]; in ff_h264_idct_add16_msa()
377 int32_t nnz = nzc[scan8[cnt]]; in ff_h264_idct8_add4_msa()
401 if (nzc[scan8[i]]) in ff_h264_idct_add8_msa()
422 if (nzc[scan8[i]]) in ff_h264_idct_add8_422_msa()
435 if (nzc[scan8[i + 4]]) in ff_h264_idct_add8_422_msa()
456 if (nzc[scan8[i]]) in ff_h264_idct_add16_intra_msa()
Dh264dsp_mmi.c773 int nnz = nnzc[ scan8[i] ]; in ff_h264_idct_add16_8_mmi()
790 if(nnzc[ scan8[i] ]) in ff_h264_idct_add16intra_8_mmi()
803 int nnz = nnzc[ scan8[i] ]; in ff_h264_idct8_add4_8_mmi()
821 if(nnzc[ scan8[i] ]) in ff_h264_idct_add8_8_mmi()
838 if(nnzc[ scan8[i] ]) in ff_h264_idct_add8_422_8_mmi()
849 if(nnzc[ scan8[i+4] ]) in ff_h264_idct_add8_422_8_mmi()
/third_party/ffmpeg/libavcodec/arm/
Dh264idct_neon.S105 movrel r7, scan8
134 movrel r7, scan8
161 movrel r7, scan8+16
382 movrel r7, scan8
404 const scan8
/third_party/ffmpeg/libavcodec/aarch64/
Dh264idct_neon.S109 movrel x7, scan8
136 movrel x7, scan8
167 movrel x7, scan8, 16
380 movrel x7, scan8
400 const scan8
/third_party/ffmpeg/libavcodec/ppc/
Dh264dsp.c335 int nnz = nnzc[ scan8[i] ]; in h264_idct_add16_altivec()
349 if(nnzc[ scan8[i] ]) h264_idct_add_altivec(dst + block_offset[i], block + i*16, stride); in h264_idct_add16intra_altivec()
360 int nnz = nnzc[ scan8[i] ]; in h264_idct8_add4_altivec()
375 if(nnzc[ scan8[i] ]) in h264_idct_add8_altivec()
/third_party/ffmpeg/tests/checkasm/
Dh264dsp.c297 nnzc[scan8[i / 16]] = nnz; in check_idct_multiple()