Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dpthread.c61 avctx->thread_type & FF_THREAD_SLICE) { in validate_thread_parameters()
62 avctx->active_thread_type = FF_THREAD_SLICE; in validate_thread_parameters()
78 if (avctx->active_thread_type&FF_THREAD_SLICE) in ff_thread_init()
Dpthread_slice.c104 if (!(avctx->active_thread_type&FF_THREAD_SLICE) || avctx->thread_count <= 1) in thread_execute()
242 if (avctx->active_thread_type & FF_THREAD_SLICE) { in ff_alloc_entries()
Dvp9.c56 if (avctx->active_thread_type & FF_THREAD_SLICE) { in vp9_alloc_entries()
262 lflvl_len = avctx->active_thread_type == FF_THREAD_SLICE ? s->sb_rows : 1; in update_size()
796 s->active_tile_cols = avctx->active_thread_type == FF_THREAD_SLICE ? in decode_frame_header()
799 if (avctx->active_thread_type == FF_THREAD_SLICE) { in decode_frame_header()
1679 if (avctx->active_thread_type & FF_THREAD_SLICE) { in vp9_decode_frame()
1698 if (avctx->active_thread_type == FF_THREAD_SLICE) { in vp9_decode_frame()
1739 if (avctx->active_thread_type == FF_THREAD_SLICE) in vp9_decode_frame()
1801 if (avctx->active_thread_type & FF_THREAD_SLICE) { in vp9_decode_init()
Dh264dec.c308 h->nb_slice_ctx = (avctx->active_thread_type & FF_THREAD_SLICE) ? avctx->thread_count : 1; in h264_init_context()
417 if (h->enable_er < 0 && (avctx->active_thread_type & FF_THREAD_SLICE)) in h264_decode_init()
420 if (h->enable_er && (avctx->active_thread_type & FF_THREAD_SLICE)) { in h264_decode_init()
Davcodec.h1475 #define FF_THREAD_SLICE 2 ///< Decode more than one part of a single frame at once macro
Doptions_table.h357 …ultithreading type", OFFSET(thread_type), AV_OPT_TYPE_FLAGS, {.i64 = FF_THREAD_SLICE|FF_THREAD_FRA…
358 {"slice", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_THREAD_SLICE }, INT_MIN, INT_MAX, V|E|D, "thread_t…
Dmjpegenc.c301 (s->avctx->active_thread_type & FF_THREAD_SLICE) && in ff_mjpeg_encode_init()
Ddnxhdenc.c503 if (avctx->active_thread_type == FF_THREAD_SLICE) { in dnxhd_encode_init()
516 if (avctx->active_thread_type == FF_THREAD_SLICE) { in dnxhd_encode_init()
Dmpeg12dec.c2451 (avctx->active_thread_type & FF_THREAD_SLICE) && in decode_chunks()
2524 if (HAVE_THREADS && (avctx->active_thread_type & FF_THREAD_SLICE) && in decode_chunks()
2723 (avctx->active_thread_type & FF_THREAD_SLICE) && in decode_chunks()
Dlibx264.c904 x4->params.b_sliced_threads = avctx->thread_type == FF_THREAD_SLICE; in X264_init()
Dh264_slice.c1006 if (!HAVE_THREADS || !(h->avctx->active_thread_type & FF_THREAD_SLICE)) { in h264_slice_header_init()
2707 …if (!(h->avctx->active_thread_type & FF_THREAD_SLICE) && h->picture_structure == PICT_FRAME && sl-… in decode_slice()
Dvp8.c219 s->mb_layout = is_vp7 || avctx->active_thread_type == FF_THREAD_SLICE && in update_dimensions()
2351 int sliced_threading = (avctx->active_thread_type == FF_THREAD_SLICE) && \
Derror_resilience.c880 if (start_xy > 0 && !(s->avctx->active_thread_type & FF_THREAD_SLICE) && in ff_er_add_slice()
Dmpegvideo.c742 s->avctx->active_thread_type & FF_THREAD_SLICE) ? in ff_mpv_common_init()
Dhevcdec.c3809 if (avctx->active_thread_type & FF_THREAD_SLICE) { in hevc_decode_init()
3820 s->threads_type = FF_THREAD_SLICE; in hevc_decode_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()