Home
last modified time | relevance | path

Searched refs:MAX_SLICES (Results 1 - 11 of 11) sorted by relevance

/third_party/ffmpeg/tests/api/
H A Dapi-h264-slice-test.c23 #define MAX_SLICES 8 macro
128 else if (threads > MAX_SLICES) in main()
129 threads = MAX_SLICES; in main()
139 nal = av_malloc(MAX_SLICES * UINT16_MAX + AV_INPUT_BUFFER_PADDING_SIZE); in main()
211 memset(nal, 0, MAX_SLICES * UINT16_MAX + AV_INPUT_BUFFER_PADDING_SIZE); in main()
/third_party/ffmpeg/libavcodec/
H A Dffv1.h71 #define MAX_SLICES 1024 macro
122 struct FFV1Context *slice_context[MAX_SLICES];
H A Ddxva2_hevc.c31 #define MAX_SLICES 256 macro
37 DXVA_Slice_HEVC_Short slice_short[MAX_SLICES];
391 if (ctx_pic->slice_count >= MAX_SLICES) in dxva2_hevc_decode_slice()
H A Ddxva2_vc1.c31 #define MAX_SLICES 1024 macro
36 DXVA_SliceInfo slice[MAX_SLICES];
341 if (ctx_pic->slice_count >= MAX_SLICES) { in dxva2_vc1_decode_slice()
H A Ddxva2_mpeg2.c31 #define MAX_SLICES 1024 macro
36 DXVA_SliceInfo slice[MAX_SLICES];
285 if (ctx_pic->slice_count >= MAX_SLICES) { in dxva2_mpeg2_decode_slice()
H A Dh264dec.h62 #define MAX_SLICES 32 macro
537 int16_t slice_row[MAX_SLICES]; ///< to detect when MAX_SLICES is too low
554 int ref2frm[MAX_SLICES][2][64]; ///< reference to frame number lists, used in the loop filter, the first 2 are for -2,-1
H A Ddxva2_h264.c37 DXVA_Slice_H264_Short slice_short[MAX_SLICES];
38 DXVA_Slice_H264_Long slice_long[MAX_SLICES];
478 if (ctx_pic->slice_count >= MAX_SLICES) in dxva2_h264_decode_slice()
H A Dlibzvbi-teletextdec.c45 #define MAX_SLICES 64 macro
76 vbi_sliced sliced[MAX_SLICES];
587 while (size >= 2 && lines < MAX_SLICES) { in slice_to_vbi_lines()
H A Dh264_slice.c2122 h->slice_row[(sl->slice_num-1)&(MAX_SLICES-1)]= sl->resync_mb_y; in h264_slice_init()
2123 if ( h->slice_row[sl->slice_num&(MAX_SLICES-1)] + 3 >= sl->resync_mb_y in h264_slice_init()
2124 && h->slice_row[sl->slice_num&(MAX_SLICES-1)] <= sl->resync_mb_y in h264_slice_init()
2125 && sl->slice_num >= MAX_SLICES) { in h264_slice_init()
2127 av_log(h->avctx, AV_LOG_WARNING, "Possibly too many slices (%d >= %d), increase MAX_SLICES and recompile if there are artifacts\n", sl->slice_num, MAX_SLICES); in h264_slice_init()
2132 int *ref2frm = h->ref2frm[sl->slice_num & (MAX_SLICES - 1)][j]; in h264_slice_init()
2345 const int *ref2frm = &h->ref2frm[h->slice_table[top_xy] & (MAX_SLICES - 1)][list][(MB_MBAFF(sl) ? 20 : 2)]; in fill_filter_caches_inter()
2360 const int *ref2frm = &h->ref2frm[h->slice_table[left_xy[LTOP]] & (MAX_SLICES - 1)][list][(MB_MBAFF(sl) ? 20 : 2)]; in fill_filter_caches_inter()
2393 const int *ref2frm = &h->ref2frm[sl->slice_num & (MAX_SLICES in fill_filter_caches_inter()
[all...]
H A Dffv1dec.c480 if (f->num_h_slices > MAX_SLICES / f->num_v_slices) { in read_extra_header()
765 f->slice_count < MAX_SLICES && 3 + 5*!!f->ec < p - c->bytestream_start; in read_header()
774 if (f->slice_count > (unsigned)MAX_SLICES || f->slice_count <= 0 || f->slice_count > f->max_slice_count) { in read_header()
1059 struct FFV1Context *slice_context[MAX_SLICES]; in update_thread_context()
H A Dffv1enc.c865 if (avctx->slices == s->num_h_slices * s->num_v_slices && avctx->slices <= MAX_SLICES || !avctx->slices) in encode_init()

Completed in 16 milliseconds