Home
last modified time | relevance | path

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

/third_party/ffmpeg/tests/api/
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/
Dffv1.h76 #define MAX_SLICES 1024 macro
127 struct FFV1Context *slice_context[MAX_SLICES];
Ddxva2_mpeg2.c29 #define MAX_SLICES 1024 macro
34 DXVA_SliceInfo slice[MAX_SLICES];
283 if (ctx_pic->slice_count >= MAX_SLICES) { in dxva2_mpeg2_decode_slice()
Ddxva2_vc1.c28 #define MAX_SLICES 1024 macro
33 DXVA_SliceInfo slice[MAX_SLICES];
338 if (ctx_pic->slice_count >= MAX_SLICES) { in dxva2_vc1_decode_slice()
Ddxva2_hevc.c29 #define MAX_SLICES 256 macro
35 DXVA_Slice_HEVC_Short slice_short[MAX_SLICES];
389 if (ctx_pic->slice_count >= MAX_SLICES) in dxva2_hevc_decode_slice()
Dh264dec.h69 #define MAX_SLICES 32 macro
545 int16_t slice_row[MAX_SLICES]; ///< to detect when MAX_SLICES is too low
560 …int ref2frm[MAX_SLICES][2][64]; ///< reference to frame number lists, used in the loop filter,…
Ddxva2_h264.c35 DXVA_Slice_H264_Short slice_short[MAX_SLICES];
36 DXVA_Slice_H264_Long slice_long[MAX_SLICES];
476 if (ctx_pic->slice_count >= MAX_SLICES) in dxva2_h264_decode_slice()
Dlibzvbi-teletextdec.c44 #define MAX_SLICES 64 macro
75 vbi_sliced sliced[MAX_SLICES];
586 while (size >= 2 && lines < MAX_SLICES) { in slice_to_vbi_lines()
Dh264_slice.c2026 h->slice_row[(sl->slice_num-1)&(MAX_SLICES-1)]= sl->resync_mb_y; in h264_slice_init()
2027 if ( h->slice_row[sl->slice_num&(MAX_SLICES-1)] + 3 >= sl->resync_mb_y in h264_slice_init()
2028 && h->slice_row[sl->slice_num&(MAX_SLICES-1)] <= sl->resync_mb_y in h264_slice_init()
2029 && sl->slice_num >= MAX_SLICES) { in h264_slice_init()
2031 …%d >= %d), increase MAX_SLICES and recompile if there are artifacts\n", sl->slice_num, MAX_SLICES); in h264_slice_init()
2036 int *ref2frm = h->ref2frm[sl->slice_num & (MAX_SLICES - 1)][j]; in h264_slice_init()
2249 …const int *ref2frm = &h->ref2frm[h->slice_table[top_xy] & (MAX_SLICES - 1)][list][(MB_MBAFF(sl) ? … in fill_filter_caches_inter()
2264 …const int *ref2frm = &h->ref2frm[h->slice_table[left_xy[LTOP]] & (MAX_SLICES - 1)][list][(MB_MBAFF… in fill_filter_caches_inter()
2297 … const int *ref2frm = &h->ref2frm[sl->slice_num & (MAX_SLICES - 1)][list][(MB_MBAFF(sl) ? 20 : 2)]; in fill_filter_caches_inter()
Dffv1dec.c745 f->slice_count < MAX_SLICES && 3 + 5*!!f->ec < p - c->bytestream_start; in read_header()
754 …if (f->slice_count > (unsigned)MAX_SLICES || f->slice_count <= 0 || f->slice_count > f->max_slice_… in read_header()
1023 struct FFV1Context *slice_context[MAX_SLICES]; in update_thread_context()
Dffv1enc.c888 …avctx->slices == s->num_h_slices * s->num_v_slices && avctx->slices <= MAX_SLICES || !avctx->slice… in encode_init()
/third_party/gstreamer/gstplugins_bad/ext/teletextdec/
Dgstteletextdec.c53 #define MAX_SLICES 32 macro
507 teletext->frame->sliced_begin = g_new (vbi_sliced, MAX_SLICES); in gst_teletextdec_reset_frame()
509 teletext->frame->sliced_end = teletext->frame->sliced_begin + MAX_SLICES; in gst_teletextdec_reset_frame()