Home
last modified time | relevance | path

Searched refs:FF_THREAD_SLICE (Results 1 – 19 of 19) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dpthread.c57 avctx->thread_type & FF_THREAD_SLICE) { in validate_thread_parameters()
58 avctx->active_thread_type = FF_THREAD_SLICE; in validate_thread_parameters()
74 if (avctx->active_thread_type&FF_THREAD_SLICE) in ff_thread_init()
Dpthread_slice.c99 if (!(avctx->active_thread_type&FF_THREAD_SLICE) || avctx->thread_count <= 1) in thread_execute()
205 if (avctx->active_thread_type & FF_THREAD_SLICE) { in ff_alloc_entries()
Dvp9.c45 if (avctx->active_thread_type & FF_THREAD_SLICE) { in vp9_free_entries()
56 if (avctx->active_thread_type & FF_THREAD_SLICE) { in vp9_alloc_entries()
265 lflvl_len = avctx->active_thread_type == FF_THREAD_SLICE ? s->sb_rows : 1; in update_size()
800 s->active_tile_cols = avctx->active_thread_type == FF_THREAD_SLICE ? in decode_frame_header()
803 if (avctx->active_thread_type == FF_THREAD_SLICE) { in decode_frame_header()
1685 if (avctx->active_thread_type & FF_THREAD_SLICE) { in vp9_decode_frame()
1704 if (avctx->active_thread_type == FF_THREAD_SLICE) { in vp9_decode_frame()
1745 if (avctx->active_thread_type == FF_THREAD_SLICE) in vp9_decode_frame()
Dh264dec.c303 h->nb_slice_ctx = (avctx->active_thread_type & FF_THREAD_SLICE) ? avctx->thread_count : 1; in h264_init_context()
411 if (h->enable_er < 0 && (avctx->active_thread_type & FF_THREAD_SLICE)) in h264_decode_init()
414 if (h->enable_er && (avctx->active_thread_type & FF_THREAD_SLICE)) { in h264_decode_init()
Dmjpegenc_common.c98 if(avctx->active_thread_type & FF_THREAD_SLICE){ in jpeg_table_header()
Ddnxhdenc.c509 if (avctx->active_thread_type == FF_THREAD_SLICE) { in dnxhd_encode_init()
522 if (avctx->active_thread_type == FF_THREAD_SLICE) { in dnxhd_encode_init()
1356 if (avctx->active_thread_type == FF_THREAD_SLICE) { in dnxhd_encode_end()
Dmjpegenc.c219 if ((s->avctx->active_thread_type & FF_THREAD_SLICE) && mb_y < s->mb_height - 1) in ff_mjpeg_encode_stuffing()
Doptions_table.h414 …ultithreading type", OFFSET(thread_type), AV_OPT_TYPE_FLAGS, {.i64 = FF_THREAD_SLICE|FF_THREAD_FRA…
415 {"slice", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_THREAD_SLICE }, INT_MIN, INT_MAX, V|E|D, "thread_t…
Davcodec.h1785 #define FF_THREAD_SLICE 2 ///< Decode more than one part of a single frame at once macro
Dmpeg12dec.c2483 (avctx->active_thread_type & FF_THREAD_SLICE) && in decode_chunks()
2552 if (HAVE_THREADS && (avctx->active_thread_type & FF_THREAD_SLICE) && in decode_chunks()
2747 (avctx->active_thread_type & FF_THREAD_SLICE) && in decode_chunks()
Dlibx264.c883 x4->params.b_sliced_threads = avctx->thread_type == FF_THREAD_SLICE; in X264_init()
Dh264_slice.c977 if (!HAVE_THREADS || !(h->avctx->active_thread_type & FF_THREAD_SLICE)) { in h264_slice_header_init()
2613 …if (!(h->avctx->active_thread_type & FF_THREAD_SLICE) && h->picture_structure == PICT_FRAME && h->… in decode_slice()
Dvp8.c215 s->mb_layout = is_vp7 || avctx->active_thread_type == FF_THREAD_SLICE && in update_dimensions()
2347 int sliced_threading = (avctx->active_thread_type == FF_THREAD_SLICE) && \
Derror_resilience.c888 if (start_xy > 0 && !(s->avctx->active_thread_type & FF_THREAD_SLICE) && in ff_er_add_slice()
Dhevcdec.c3611 if(avctx->active_thread_type & FF_THREAD_SLICE) in hevc_decode_init()
3619 s->threads_type = FF_THREAD_SLICE; in hevc_decode_init()
Dmpegvideo.c917 s->avctx->active_thread_type & FF_THREAD_SLICE) ? in ff_mpv_common_init()
Dmpegvideo_enc.c419 if (avctx->codec_id == AV_CODEC_ID_AMV || (avctx->active_thread_type & FF_THREAD_SLICE)) in ff_mpv_encode_init()
/third_party/ffmpeg/tests/api/
Dapi-h264-slice-test.c160 c->thread_type = FF_THREAD_SLICE; in main()
169 if (c->active_thread_type != FF_THREAD_SLICE) { in main()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavviddec.c603 ffmpegdec->context->thread_type = FF_THREAD_SLICE; in gst_ffmpegviddec_set_format()
605 ffmpegdec->context->thread_type = FF_THREAD_SLICE | FF_THREAD_FRAME; in gst_ffmpegviddec_set_format()
630 ffmpegdec->context->thread_type = FF_THREAD_SLICE; in gst_ffmpegviddec_set_format()