Home
last modified time | relevance | path

Searched refs:FF_THREAD_FRAME (Results 1 - 24 of 24) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dpthread.c58 } else if (frame_threading_supported && (avctx->thread_type & FF_THREAD_FRAME)) { in validate_thread_parameters()
59 avctx->active_thread_type = FF_THREAD_FRAME; in validate_thread_parameters()
80 else if (avctx->active_thread_type&FF_THREAD_FRAME) in ff_thread_init()
88 if (avctx->active_thread_type&FF_THREAD_FRAME) in ff_thread_free()
H A Dframe_thread_encoder.c141 if( !(avctx->thread_type & FF_THREAD_FRAME) in ff_frame_thread_encoder_init()
233 thread_avctx->active_thread_type &= ~FF_THREAD_FRAME; in ff_frame_thread_encoder_init()
245 avctx->active_thread_type = FF_THREAD_FRAME; in ff_frame_thread_encoder_init()
H A Dpthread_frame.c657 if (!(avctx->active_thread_type&FF_THREAD_FRAME)) return; in ff_thread_finish_setup()
961 if ((avctx->active_thread_type&FF_THREAD_FRAME) && atomic_load(&p->state) != STATE_SETTING_UP && in ff_thread_can_start_frame()
978 if (!(avctx->active_thread_type & FF_THREAD_FRAME)) in thread_get_buffer_internal()
1032 if (!(avctx->active_thread_type & FF_THREAD_FRAME) || avctx->thread_safe_callbacks || in ff_thread_get_format()
1076 if (!(avctx->active_thread_type & FF_THREAD_FRAME)) in ff_thread_get_ext_buffer()
1105 int can_direct_free = !(avctx->active_thread_type & FF_THREAD_FRAME) || in ff_thread_release_buffer()
H A Davcodec.c295 && !(avci->frame_thread_encoder && (avctx->active_thread_type&FF_THREAD_FRAME))) { in avcodec_open2()
307 if (!(avctx->active_thread_type & FF_THREAD_FRAME) || in avcodec_open2()
412 if (HAVE_THREADS && avctx->active_thread_type & FF_THREAD_FRAME) in avcodec_flush_buffers()
H A Dh264_mc_template.c79 if (HAVE_THREADS && (h->avctx->active_thread_type & FF_THREAD_FRAME)) in hl_motion()
H A Dencode.c195 (avci->frame_thread_encoder && avctx->active_thread_type & FF_THREAD_FRAME))) in encode_simple_internal()
207 avci->frame_thread_encoder && (avctx->active_thread_type & FF_THREAD_FRAME)) in encode_simple_internal()
H A Ddecode.c299 avctx->active_thread_type & FF_THREAD_FRAME)) in decode_simple_internal()
304 if (HAVE_THREADS && avctx->active_thread_type & FF_THREAD_FRAME) { in decode_simple_internal()
470 int nb_errors_max = 20 + (HAVE_THREADS && avctx->active_thread_type & FF_THREAD_FRAME ? in decode_simple_internal()
1040 if (avctx->active_thread_type & FF_THREAD_FRAME) in avcodec_get_hw_frames_parameters()
1540 if ((avctx->thread_type & FF_THREAD_FRAME) && in ff_decode_preinit()
H A Drv34.c703 if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME)) { in rv34_mc()
885 if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME)) in rv34_decode_mv()
1469 if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME)) in rv34_decode_slice()
1569 if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME)) in finish_frame()
1744 (s->avctx->active_thread_type & FF_THREAD_FRAME)) { in ff_rv34_decode_frame()
1792 (s->avctx->active_thread_type & FF_THREAD_FRAME)) { in ff_rv34_decode_frame()
H A Dh264_picture.c226 if (in_setup || !(avctx->active_thread_type & FF_THREAD_FRAME)) { in ff_h264_field_end()
H A Dhevc_mvs.c250 if (s->threads_type == FF_THREAD_FRAME) in temporal_luma_motion_vector()
264 if (s->threads_type == FF_THREAD_FRAME) in temporal_luma_motion_vector()
H A Davcodec.h1467 * Use of FF_THREAD_FRAME will increase decoding delay by one frame per thread,
1474 #define FF_THREAD_FRAME 1 ///< Decode more than one frame at once macro
H A Dmimic.c423 if (!(avctx->active_thread_type & FF_THREAD_FRAME)) in mimic_decode_frame()
H A Dh264dec.c606 if (avctx->active_thread_type & FF_THREAD_FRAME) in decode_nal_units()
647 if (avctx->active_thread_type & FF_THREAD_FRAME && in decode_nal_units()
H A Dhevc_filter.c875 if (s->threads_type & FF_THREAD_FRAME ) in ff_hevc_hls_filter()
880 if (s->threads_type & FF_THREAD_FRAME ) in ff_hevc_hls_filter()
883 } else if (s->threads_type & FF_THREAD_FRAME && x_end) in ff_hevc_hls_filter()
H A Dvp3.c1913 if (HAVE_THREADS && s->avctx->active_thread_type & FF_THREAD_FRAME) { in vp3_draw_horiz_band()
2106 (s->avctx->active_thread_type & FF_THREAD_FRAME); in render_slice()
2608 if (s->avctx->active_thread_type&FF_THREAD_FRAME) { in vp3_decode_frame()
2831 if (!HAVE_THREADS || !(s->avctx->active_thread_type & FF_THREAD_FRAME)) { in vp3_decode_frame()
2842 if (!HAVE_THREADS || !(s->avctx->active_thread_type & FF_THREAD_FRAME)) in vp3_decode_frame()
H A Dhevc_refs.c422 if (s->threads_type == FF_THREAD_FRAME) in generate_missing_ref()
H A Dh264_direct.c187 if (!HAVE_THREADS || !(h->avctx->active_thread_type & FF_THREAD_FRAME)) in await_reference_mb_row()
H A Dpngdec.c1574 if (!(avctx->active_thread_type & FF_THREAD_FRAME)) { in decode_frame_png()
1626 if (!(avctx->active_thread_type & FF_THREAD_FRAME)) { in decode_frame_apng()
H A Doptions_table.h357 {"thread_type", "select multithreading type", OFFSET(thread_type), AV_OPT_TYPE_FLAGS, {.i64 = FF_THREAD_SLICE|FF_THREAD_FRAME }, 0, INT_MAX, V|A|E|D, "thread_type"},
359 {"frame", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_THREAD_FRAME }, INT_MIN, INT_MAX, V|E|D, "thread_type"},
H A Dvp8.c2608 if (avctx->active_thread_type == FF_THREAD_FRAME) in vp78_decode_mb_row_sliced()
2771 if (avctx->active_thread_type == FF_THREAD_FRAME) in vp78_decode_frame()
H A Dhevcdec.c1813 if (s->threads_type == FF_THREAD_FRAME ) { in hevc_await_progress()
3378 if (s->ref && s->threads_type == FF_THREAD_FRAME) in decode_nal_units()
3821 if((avctx->active_thread_type & FF_THREAD_FRAME) && avctx->thread_count > 1) in hevc_decode_init()
3822 s->threads_type = FF_THREAD_FRAME; in hevc_decode_init()
H A Dmpegvideo.c1481 if(HAVE_THREADS && s->avctx->active_thread_type&FF_THREAD_FRAME) { in mpv_reconstruct_mb_internal()
H A Dmpeg12dec.c1644 if (HAVE_THREADS && (avctx->active_thread_type & FF_THREAD_FRAME)) in mpeg_field_start()
H A Dvp9.c1653 avctx->active_thread_type == FF_THREAD_FRAME && s->s.h.refreshctx && !s->s.h.parallelmode; in vp9_decode_frame()

Completed in 50 milliseconds