Home
last modified time | relevance | path

Searched refs:scan8 (Results 1 - 23 of 23) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dh264_direct.c225 int left_ref = sl->ref_cache[list][scan8[0] - 1]; in pred_spatial_direct_motion()
226 int top_ref = sl->ref_cache[list][scan8[0] - 8]; in pred_spatial_direct_motion()
227 int refc = sl->ref_cache[list][scan8[0] - 8 + 4]; in pred_spatial_direct_motion()
228 const int16_t *C = sl->mv_cache[list][scan8[0] - 8 + 4]; in pred_spatial_direct_motion()
230 refc = sl->ref_cache[list][scan8[0] - 8 - 1]; in pred_spatial_direct_motion()
231 C = sl->mv_cache[list][scan8[0] - 8 - 1]; in pred_spatial_direct_motion()
239 const int16_t *const A = sl->mv_cache[list][scan8[0] - 1]; in pred_spatial_direct_motion()
240 const int16_t *const B = sl->mv_cache[list][scan8[0] - 8]; in pred_spatial_direct_motion()
276 fill_rectangle(&sl->ref_cache[0][scan8[0]], 4, 4, 8, (uint8_t)ref[0], 1); in pred_spatial_direct_motion()
277 fill_rectangle(&sl->ref_cache[1][scan8[ in pred_spatial_direct_motion()
[all...]
H A Dh264_cabac.c1479 int refa = sl->ref_cache[list][scan8[n] - 1]; in decode_cabac_mb_ref()
1480 int refb = sl->ref_cache[list][scan8[n] - 8]; in decode_cabac_mb_ref()
1485 if( refa > 0 && !(sl->direct_cache[scan8[n] - 1]&(MB_TYPE_DIRECT2>>1)) ) in decode_cabac_mb_ref()
1487 if( refb > 0 && !(sl->direct_cache[scan8[n] - 8]&(MB_TYPE_DIRECT2>>1)) ) in decode_cabac_mb_ref()
1545 int amvd0 = sl->mvd_cache[list][scan8[n] - 1][0] +\
1546 sl->mvd_cache[list][scan8[n] - 8][0];\
1547 int amvd1 = sl->mvd_cache[list][scan8[n] - 1][1] +\
1548 sl->mvd_cache[list][scan8[n] - 8][1];\
1577 nza = sl->non_zero_count_cache[scan8[idx] - 1]; in get_cabac_cbf_ctx()
1578 nzb = sl->non_zero_count_cache[scan8[id in get_cabac_cbf_ctx()
[all...]
H A Dh264_cavlc.c287 const int index8= scan8[n]; in pred_non_zero_count()
294 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()
460 sl->non_zero_count_cache[scan8[n]] = total_coeff; in decode_residual()
655 fill_rectangle(&sl->non_zero_count_cache[scan8[p*16]], 4, 4, 8, 0, 1); in decode_luma_residual()
673 nnz = &sl->non_zero_count_cache[scan8[4 * i8x8 + p * 16]]; in decode_luma_residual()
683 new_cbp |= sl->non_zero_count_cache[scan8[index]] << i8x8; in decode_luma_residual()
687 uint8_t * const nnz = &sl->non_zero_count_cache[scan8[4 * i8x8 + p * 16]]; in decode_luma_residual()
818 fill_rectangle(&sl->intra4x4_pred_mode_cache[ scan8[i] ], 2, 2, 8, mode, 1); in ff_h264_decode_mb_cavlc()
820 sl->intra4x4_pred_mode_cache[scan8[i]] = mode; in ff_h264_decode_mb_cavlc()
856 sl->ref_cache[0][scan8[ in ff_h264_decode_mb_cavlc()
[all...]
H A Dh264_mvpred.h52 sl->mv_cache[list][scan8[0] - 2][0] = mv[0]; \ in fetch_diagonal_mv()
53 sl->mv_cache[list][scan8[0] - 2][1] = mv[1] MV_OP; \ in fetch_diagonal_mv()
57 && i >= scan8[0] + 8 && (i & 7) == 4 in fetch_diagonal_mv()
58 && sl->ref_cache[list][scan8[0] - 1] != PART_NOT_AVAILABLE) { in fetch_diagonal_mv()
61 AV_ZERO32(sl->mv_cache[list][scan8[0] - 2]); in fetch_diagonal_mv()
62 *C = sl->mv_cache[list][scan8[0] - 2]; in fetch_diagonal_mv()
100 const int index8 = scan8[n]; in pred_motion()
165 const int top_ref = sl->ref_cache[list][scan8[0] - 8]; in pred_16x8_motion()
166 const int16_t *const B = sl->mv_cache[list][scan8[0] - 8]; in pred_16x8_motion()
177 const int left_ref = sl->ref_cache[list][scan8[ in pred_16x8_motion()
[all...]
H A 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()
652 nnz = s->non_zero_count_cache[scan8[i]]; in hl_decode_mb_predict_luma()
702 if (s->non_zero_count_cache[scan8[i]] || s->mb[i * 16]) { in hl_decode_mb()
764 AV_COPY32(s->mv_cache[m][scan8[ in svq3_decode_mb()
[all...]
H A Dh264_mb_template.c80 int8_t *ref = &sl->ref_cache[list][scan8[0]]; in hl_decode_mb()
84 int ref = sl->ref_cache[list][scan8[i]]; in hl_decode_mb()
86 fill_rectangle(&sl->ref_cache[list][scan8[i]], 2, 2, in hl_decode_mb()
212 if (sl->non_zero_count_cache[scan8[i]] || in hl_decode_mb()
219 if (sl->non_zero_count_cache[scan8[i + 4]] || in hl_decode_mb()
236 if (sl->non_zero_count_cache[scan8[CHROMA_DC_BLOCK_INDEX + 0]]) in hl_decode_mb()
239 if (sl->non_zero_count_cache[scan8[CHROMA_DC_BLOCK_INDEX + 1]]) in hl_decode_mb()
290 int8_t *ref = &sl->ref_cache[list][scan8[0]]; in hl_decode_mb_444()
294 int ref = sl->ref_cache[list][scan8[i]]; in hl_decode_mb_444()
296 fill_rectangle(&sl->ref_cache[list][scan8[ in hl_decode_mb_444()
[all...]
H A 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[ in mc_part_weighted()
[all...]
H A Dh264dec.h658 const int index8 = scan8[n]; in pred_intra_mode()
714 int16_t(*mv_src)[2] = &sl->mv_cache[list][scan8[0]]; in write_back_motion_list()
722 uint8_t(*mvd_src)[2] = &sl->mvd_cache[list][scan8[0]]; in write_back_motion_list()
736 ref_index[0 + 0 * 2] = ref_cache[scan8[0]]; in write_back_motion_list()
737 ref_index[1 + 0 * 2] = ref_cache[scan8[4]]; in write_back_motion_list()
738 ref_index[0 + 1 * 2] = ref_cache[scan8[8]]; in write_back_motion_list()
739 ref_index[1 + 1 * 2] = ref_cache[scan8[12]]; in write_back_motion_list()
H A Dh264_slice.c558 h->block_offset[i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 4 * pic->f->linesize[0] * ((scan8[i] - scan8[0]) >> 3); in h264_frame_start()
559 h->block_offset[48 + i] = (4 * ((scan8[i] - scan8[0]) & 7) << pixel_shift) + 8 * pic->f->linesize[0] * ((scan8[i] - scan8[0]) >> 3); in h264_frame_start()
563 h->block_offset[32 + i] = (4 * ((scan8[i] - scan8[ in h264_frame_start()
[all...]
H A Dh264idct_template.c180 int nnz = nnzc[ scan8[i] ]; in ff_h264_idct_add16()
194 if(nnzc[ scan8[i] ]) FUNCC(ff_h264_idct_add )(dst + block_offset[i], block + i*16*sizeof(pixel), stride); in ff_h264_idct_add16intra()
205 int nnz = nnzc[ scan8[i] ]; in ff_h264_idct8_add4()
217 if(nnzc[ scan8[i] ]) in ff_h264_idct_add8()
230 if(nnzc[ scan8[i] ]) in ff_h264_idct_add8_422()
239 if(nnzc[ scan8[i+4] ]) in ff_h264_idct_add8_422()
H A Dh264_parse.c146 int status = top[pred_mode_cache[scan8[0] + i]]; in ff_h264_check_intra4x4_pred_mode()
153 pred_mode_cache[scan8[0] + i] = status; in ff_h264_check_intra4x4_pred_mode()
162 int status = left[pred_mode_cache[scan8[0] + 8 * i]]; in ff_h264_check_intra4x4_pred_mode()
169 pred_mode_cache[scan8[0] + 8 * i] = status; in ff_h264_check_intra4x4_pred_mode()
H A Dh264dec.c91 fill_rectangle(&sl->ref_cache[0][scan8[0]], 4, 4, 8, ref, 1); in h264_er_decode_mb()
92 fill_rectangle(sl->mv_cache[0][scan8[0]], 4, 4, 8, in h264_er_decode_mb()
260 sl->ref_cache[0][scan8[5] + 1] = in ff_h264_slice_context_init()
261 sl->ref_cache[0][scan8[7] + 1] = in ff_h264_slice_context_init()
262 sl->ref_cache[0][scan8[13] + 1] = in ff_h264_slice_context_init()
263 sl->ref_cache[1][scan8[5] + 1] = in ff_h264_slice_context_init()
264 sl->ref_cache[1][scan8[7] + 1] = in ff_h264_slice_context_init()
265 sl->ref_cache[1][scan8[13] + 1] = PART_NOT_AVAILABLE; in ff_h264_slice_context_init()
H A Dh264_mc_template.c52 (sl->pwt.implicit_weight[sl->ref_cache[0][scan8[n]]][sl->ref_cache[1][scan8[n]]][sl->mb_y & 1] != 32)) || in mc_part()
H A Dh264_parse.h39 // This table must be here because scan8[constant] must be known at compiletime
40 static const uint8_t scan8[16 * 3 + 3] = { variable
H A Dh264_loopfilter.c513 bS[0]= 1+((h->cbp_table[mbn_xy] & 0x4000) || sl->non_zero_count_cache[scan8[0]+0]); in filter_mb_dir()
514 bS[1]= 1+((h->cbp_table[mbn_xy] & 0x4000) || sl->non_zero_count_cache[scan8[0]+1]); in filter_mb_dir()
515 bS[2]= 1+((h->cbp_table[mbn_xy] & 0x8000) || sl->non_zero_count_cache[scan8[0]+2]); in filter_mb_dir()
516 bS[3]= 1+((h->cbp_table[mbn_xy] & 0x8000) || sl->non_zero_count_cache[scan8[0]+3]); in filter_mb_dir()
521 bS[i] = 1 + !!(sl->non_zero_count_cache[scan8[0]+i] | mbn_nnz[i]); in filter_mb_dir()
/third_party/ffmpeg/libavcodec/loongarch/
H A Dh264idct_lasx.c312 int32_t nnz = nzc[scan8[i]]; in ff_h264_idct_add16_lasx()
334 int32_t nnz = nzc[scan8[cnt]]; in ff_h264_idct8_add4_lasx()
358 if (nzc[scan8[i]]) in ff_h264_idct_add8_lasx()
368 if (nzc[scan8[i]]) in ff_h264_idct_add8_lasx()
387 if (nzc[scan8[i]]) in ff_h264_idct_add8_422_lasx()
397 if (nzc[scan8[i]]) in ff_h264_idct_add8_422_lasx()
407 if (nzc[scan8[i + 4]]) in ff_h264_idct_add8_422_lasx()
417 if (nzc[scan8[i + 4]]) in ff_h264_idct_add8_422_lasx()
437 if (nzc[scan8[i]]) in ff_h264_idct_add16_intra_lasx()
/third_party/ffmpeg/libavcodec/arm/
H A 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/mips/
H A 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()
H A Dh264dsp_mmi.c774 int nnz = nnzc[ scan8[i] ]; in ff_h264_idct_add16_8_mmi()
791 if(nnzc[ scan8[i] ]) in ff_h264_idct_add16intra_8_mmi()
804 int nnz = nnzc[ scan8[i] ]; in ff_h264_idct8_add4_8_mmi()
822 if(nnzc[ scan8[i] ]) in ff_h264_idct_add8_8_mmi()
839 if(nnzc[ scan8[i] ]) in ff_h264_idct_add8_422_8_mmi()
850 if(nnzc[ scan8[i+4] ]) in ff_h264_idct_add8_422_8_mmi()
/third_party/ffmpeg/libavcodec/aarch64/
H A Dh264idct_neon.S111 movrel x7, scan8
138 movrel x7, scan8
169 movrel x7, scan8, 16
173 ldrb w3, [x7, x10] // scan8[i]
175 ldrb w3, [x4, w3, uxtw] // nnzc[ scan8[i] ]
384 movrel x7, scan8
404 const scan8
/third_party/ffmpeg/libavcodec/ppc/
H A 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/libavcodec/x86/
H A Dh264_idct.asm47 %define scan8 picregq
50 %define scan8 scan8_mem
329 movzx r6, byte [scan8+r5]
377 movzx r6, byte [scan8+r5]
/third_party/ffmpeg/tests/checkasm/
H A Dh264dsp.c298 nnzc[scan8[i / 16]] = nnz; in check_idct_multiple()

Completed in 30 milliseconds