/third_party/ffmpeg/libavcodec/ |
H A D | h264_mvpred.h | 41 const int topright_ref = sl->ref_cache[list][i - 8 + part_width]; in fetch_diagonal_mv() 58 && sl->ref_cache[list][scan8[0] - 1] != PART_NOT_AVAILABLE) { in fetch_diagonal_mv() 83 return sl->ref_cache[list][i - 8 - 1]; in fetch_diagonal_mv() 101 const int top_ref = sl->ref_cache[list][index8 - 8]; in pred_motion() 102 const int left_ref = sl->ref_cache[list][index8 - 1]; in pred_motion() 165 const int top_ref = sl->ref_cache[list][scan8[0] - 8]; in pred_16x8_motion() 177 const int left_ref = sl->ref_cache[list][scan8[8] - 1]; in pred_16x8_motion() 206 const int left_ref = sl->ref_cache[list][scan8[0] - 1]; in pred_8x16_motion() 267 fill_rectangle(&sl->ref_cache[0][scan8[0]], 4, 4, 8, 0, 1); in pred_pskip_motion() 609 int8_t *ref_cache in fill_decode_caches() local [all...] |
H A D | h264_direct.c | 225 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() 230 refc = sl->ref_cache[list][scan8[0] - 8 - 1]; 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[0]], 4, 4, 8, (uint8_t)ref[1], 1); in pred_spatial_direct_motion() 370 fill_rectangle(&sl->ref_cache[0][scan8[i8 * 4]], 2, 2, 8, in pred_spatial_direct_motion() 372 fill_rectangle(&sl->ref_cache[1][scan8[i8 * 4]], 2, 2, 8, in pred_spatial_direct_motion() 403 fill_rectangle(&sl->ref_cache[0][scan8[0]], 4, 4, 8, (uint8_t)ref[0], 1); in pred_spatial_direct_motion() 404 fill_rectangle(&sl->ref_cache[ in pred_spatial_direct_motion() [all...] |
H A D | h264_cavlc.c | 856 sl->ref_cache[0][scan8[4]] = in ff_h264_decode_mb_cavlc() 857 sl->ref_cache[1][scan8[4]] = in ff_h264_decode_mb_cavlc() 858 sl->ref_cache[0][scan8[12]] = in ff_h264_decode_mb_cavlc() 859 sl->ref_cache[1][scan8[12]] = PART_NOT_AVAILABLE; in ff_h264_decode_mb_cavlc() 905 sl->ref_cache[list][ scan8[4*i] ] = sl->ref_cache[list][ scan8[4*i]+1 ]; in ff_h264_decode_mb_cavlc() 908 sl->ref_cache[list][ scan8[4*i] ]=sl->ref_cache[list][ scan8[4*i]+1 ]= in ff_h264_decode_mb_cavlc() 909 sl->ref_cache[list][ scan8[4*i]+8 ]=sl->ref_cache[lis in ff_h264_decode_mb_cavlc() [all...] |
H A D | h264dec.h | 292 DECLARE_ALIGNED(8, int8_t, ref_cache)[2][5 * 8]; 735 int8_t *ref_cache = sl->ref_cache[list]; in write_back_motion_list() local 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 D | h264_cabac.c | 1479 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() 2125 sl->ref_cache[0][scan8[4]] = in ff_h264_decode_mb_cabac() 2126 sl->ref_cache[1][scan8[4]] = in ff_h264_decode_mb_cabac() 2127 sl->ref_cache[0][scan8[12]] = in ff_h264_decode_mb_cabac() 2128 sl->ref_cache[1][scan8[12]] = PART_NOT_AVAILABLE; in ff_h264_decode_mb_cabac() 2156 sl->ref_cache[list][scan8[4 * i] + 1] = in ff_h264_decode_mb_cabac() 2157 sl->ref_cache[list][scan8[4 * i] + 8] = sl->ref_cache[list][scan8[4 * i] + 9] = ref[list][i]; in ff_h264_decode_mb_cabac() 2166 sl->ref_cache[lis in ff_h264_decode_mb_cabac() [all...] |
H A D | h264_mb_template.c | 80 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() 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[i]], 2, 2, in hl_decode_mb_444()
|
H A D | h264_loopfilter.c | 371 h->h264dsp.h264_loop_filter_strength(bS, sl->non_zero_count_cache, sl->ref_cache, sl->mv_cache, in h264_filter_mb_fast_internal() 442 v = sl->ref_cache[0][b_idx] != sl->ref_cache[0][bn_idx]; in check_mv() 443 if (!v && sl->ref_cache[0][b_idx] != -1) in check_mv() 449 v = sl->ref_cache[1][b_idx] != sl->ref_cache[1][bn_idx] | in check_mv() 454 if (sl->ref_cache[0][b_idx] != sl->ref_cache[1][bn_idx] | in check_mv() 455 sl->ref_cache[1][b_idx] != sl->ref_cache[ in check_mv() [all...] |
H A D | h264_slice.c | 2340 int8_t *ref_cache = &sl->ref_cache[list][scan8[0]]; in fill_filter_caches_inter() local 2347 ref_cache[0 - 1 * 8] = in fill_filter_caches_inter() 2348 ref_cache[1 - 1 * 8] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 0]]; in fill_filter_caches_inter() 2349 ref_cache[2 - 1 * 8] = in fill_filter_caches_inter() 2350 ref_cache[3 - 1 * 8] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 1]]; in fill_filter_caches_inter() 2353 AV_WN32A(&ref_cache[0 - 1 * 8], ((LIST_NOT_USED) & 0xFF) * 0x01010101u); in fill_filter_caches_inter() 2365 ref_cache[-1 + 0] = in fill_filter_caches_inter() 2366 ref_cache[-1 + 8] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 2 * 0]]; in fill_filter_caches_inter() 2367 ref_cache[ in fill_filter_caches_inter() [all...] |
H A D | svq3.c | 140 DECLARE_ALIGNED(8, int8_t, ref_cache)[2][5 * 8]; 359 const int topright_ref = s->ref_cache[list][i - 8 + part_width]; in svq3_fetch_diagonal_mv() 366 return s->ref_cache[list][i - 8 - 1]; in svq3_fetch_diagonal_mv() 382 const int top_ref = s->ref_cache[list][index8 - 8]; in svq3_pred_motion() 383 const int left_ref = s->ref_cache[list][index8 - 1]; in svq3_pred_motion() 753 /* note ref_cache should contain here: in svq3_decode_mb() 774 memset(&s->ref_cache[m][scan8[0] - 1 * 8], in svq3_decode_mb() 780 s->ref_cache[m][scan8[0] + 4 - 1 * 8] = in svq3_decode_mb() 784 s->ref_cache[m][scan8[0] + 4 - 1 * 8] = PART_NOT_AVAILABLE; in svq3_decode_mb() 788 s->ref_cache[ in svq3_decode_mb() [all...] |
H A D | h264_mb.c | 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() 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() 489 const int refn = sl->ref_cache[list][scan8[0]]; in prefetch_motion()
|
H A D | h264_mc_template.c | 52 (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 D | h264dec.c | 91 fill_rectangle(&sl->ref_cache[0][scan8[0]], 4, 4, 8, ref, 1); 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()
|