Home
last modified time | relevance | path

Searched refs:ref_cache (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh264_mvpred.h43 const int topright_ref = sl->ref_cache[list][i - 8 + part_width]; in fetch_diagonal_mv()
60 && sl->ref_cache[list][scan8[0] - 1] != PART_NOT_AVAILABLE) { in fetch_diagonal_mv()
85 return sl->ref_cache[list][i - 8 - 1]; in fetch_diagonal_mv()
103 const int top_ref = sl->ref_cache[list][index8 - 8]; in pred_motion()
104 const int left_ref = sl->ref_cache[list][index8 - 1]; in pred_motion()
167 const int top_ref = sl->ref_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()
208 const int left_ref = sl->ref_cache[list][scan8[0] - 1]; in pred_8x16_motion()
269 fill_rectangle(&sl->ref_cache[0][scan8[0]], 4, 4, 8, 0, 1); in pred_pskip_motion()
611 int8_t *ref_cache = &sl->ref_cache[list][scan8[0]]; in fill_decode_caches() local
[all …]
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()
231 refc = sl->ref_cache[list][scan8[0] - 8 - 1]; 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()
371 fill_rectangle(&sl->ref_cache[0][scan8[i8 * 4]], 2, 2, 8, in pred_spatial_direct_motion()
373 fill_rectangle(&sl->ref_cache[1][scan8[i8 * 4]], 2, 2, 8, in pred_spatial_direct_motion()
404 fill_rectangle(&sl->ref_cache[0][scan8[0]], 4, 4, 8, (uint8_t)ref[0], 1); in pred_spatial_direct_motion()
405 fill_rectangle(&sl->ref_cache[1][scan8[0]], 4, 4, 8, (uint8_t)ref[1], 1); in pred_spatial_direct_motion()
[all …]
Dh264_cavlc.c858 sl->ref_cache[0][scan8[4]] = in ff_h264_decode_mb_cavlc()
859 sl->ref_cache[1][scan8[4]] = in ff_h264_decode_mb_cavlc()
860 sl->ref_cache[0][scan8[12]] = in ff_h264_decode_mb_cavlc()
861 sl->ref_cache[1][scan8[12]] = PART_NOT_AVAILABLE; in ff_h264_decode_mb_cavlc()
907 sl->ref_cache[list][ scan8[4*i] ] = sl->ref_cache[list][ scan8[4*i]+1 ]; in ff_h264_decode_mb_cavlc()
910 sl->ref_cache[list][ scan8[4*i] ]=sl->ref_cache[list][ scan8[4*i]+1 ]= in ff_h264_decode_mb_cavlc()
911 … sl->ref_cache[list][ scan8[4*i]+8 ]=sl->ref_cache[list][ scan8[4*i]+9 ]= ref[list][i]; in ff_h264_decode_mb_cavlc()
920 … pred_motion(h, sl, index, block_width, list, sl->ref_cache[list][ scan8[index] ], &mx, &my); in ff_h264_decode_mb_cavlc()
969 fill_rectangle(&sl->ref_cache[list][ scan8[0] ], 4, 4, 8, val, 1); in ff_h264_decode_mb_cavlc()
974 pred_motion(h, sl, 0, 4, list, sl->ref_cache[list][ scan8[0] ], &mx, &my); in ff_h264_decode_mb_cavlc()
[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()
2116 sl->ref_cache[0][scan8[4]] = in ff_h264_decode_mb_cabac()
2117 sl->ref_cache[1][scan8[4]] = in ff_h264_decode_mb_cabac()
2118 sl->ref_cache[0][scan8[12]] = in ff_h264_decode_mb_cabac()
2119 sl->ref_cache[1][scan8[12]] = PART_NOT_AVAILABLE; in ff_h264_decode_mb_cabac()
2147 sl->ref_cache[list][scan8[4 * i] + 1] = in ff_h264_decode_mb_cabac()
2148 … 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()
2157 sl->ref_cache[list][scan8[4 * i]] = sl->ref_cache[list][scan8[4 * i] + 1]; in ff_h264_decode_mb_cabac()
2172 … pred_motion(h, sl, index, block_width, list, sl->ref_cache[list][ scan8[index] ], &mx, &my); in ff_h264_decode_mb_cabac()
[all …]
Dh264dec.h307 DECLARE_ALIGNED(8, int8_t, ref_cache)[2][5 * 8];
776 int8_t *ref_cache = sl->ref_cache[list]; in write_back_motion_list() local
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_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()
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()
Dh264_loopfilter.c374 … h->h264dsp.h264_loop_filter_strength(bS, sl->non_zero_count_cache, sl->ref_cache, sl->mv_cache, in h264_filter_mb_fast_internal()
445 v = sl->ref_cache[0][b_idx] != sl->ref_cache[0][bn_idx]; in check_mv()
446 if (!v && sl->ref_cache[0][b_idx] != -1) in check_mv()
452 v = sl->ref_cache[1][b_idx] != sl->ref_cache[1][bn_idx] | in check_mv()
457 if (sl->ref_cache[0][b_idx] != sl->ref_cache[1][bn_idx] | in check_mv()
458 sl->ref_cache[1][b_idx] != sl->ref_cache[0][bn_idx]) in check_mv()
Dh264_mb.c62 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()
Dsvq3.c140 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()
780 memset(&s->ref_cache[m][scan8[0] - 1 * 8], in svq3_decode_mb()
786 s->ref_cache[m][scan8[0] + 4 - 1 * 8] = in svq3_decode_mb()
790 s->ref_cache[m][scan8[0] + 4 - 1 * 8] = PART_NOT_AVAILABLE; in svq3_decode_mb()
794 s->ref_cache[m][scan8[0] - 1 - 1 * 8] = in svq3_decode_mb()
797 s->ref_cache[m][scan8[0] - 1 - 1 * 8] = PART_NOT_AVAILABLE; in svq3_decode_mb()
[all …]
Dh264_slice.c2244 int8_t *ref_cache = &sl->ref_cache[list][scan8[0]]; in fill_filter_caches_inter() local
2251 ref_cache[0 - 1 * 8] = in fill_filter_caches_inter()
2252 ref_cache[1 - 1 * 8] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 0]]; in fill_filter_caches_inter()
2253 ref_cache[2 - 1 * 8] = in fill_filter_caches_inter()
2254 ref_cache[3 - 1 * 8] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 1]]; in fill_filter_caches_inter()
2257 AV_WN32A(&ref_cache[0 - 1 * 8], ((LIST_NOT_USED) & 0xFF) * 0x01010101u); in fill_filter_caches_inter()
2269 ref_cache[-1 + 0] = in fill_filter_caches_inter()
2270 ref_cache[-1 + 8] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 2 * 0]]; in fill_filter_caches_inter()
2271 ref_cache[-1 + 16] = in fill_filter_caches_inter()
2272 ref_cache[-1 + 24] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 2 * 1]]; in fill_filter_caches_inter()
[all …]
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()
Dh264dec.c95 fill_rectangle(&sl->ref_cache[0][scan8[0]], 4, 4, 8, ref, 1); 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()