Home
last modified time | relevance | path

Searched refs:FF_THREAD_FRAME (Results 1 – 25 of 26) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dpthread.c54 } else if (frame_threading_supported && (avctx->thread_type & FF_THREAD_FRAME)) { in validate_thread_parameters()
55 avctx->active_thread_type = FF_THREAD_FRAME; in validate_thread_parameters()
76 else if (avctx->active_thread_type&FF_THREAD_FRAME) in ff_thread_init()
84 if (avctx->active_thread_type&FF_THREAD_FRAME) in ff_thread_free()
Dframe_thread_encoder.c129 if( !(avctx->thread_type & FF_THREAD_FRAME) in ff_frame_thread_encoder_init()
227 thread_avctx->active_thread_type &= ~FF_THREAD_FRAME; in ff_frame_thread_encoder_init()
243 avctx->active_thread_type = FF_THREAD_FRAME; in ff_frame_thread_encoder_init()
Dpthread_frame.c653 if (!(avctx->active_thread_type&FF_THREAD_FRAME)) return; in ff_thread_finish_setup()
1010 if ((avctx->active_thread_type&FF_THREAD_FRAME) && atomic_load(&p->state) != STATE_SETTING_UP && in ff_thread_can_start_frame()
1029 if (!(avctx->active_thread_type & FF_THREAD_FRAME)) in thread_get_buffer_internal()
1096 if (!(avctx->active_thread_type & FF_THREAD_FRAME) || avctx->thread_safe_callbacks || in ff_thread_get_format()
1136 int can_direct_free = !(avctx->active_thread_type & FF_THREAD_FRAME) || in ff_thread_release_buffer()
Dh264_picture.c165 if (in_setup || !(avctx->active_thread_type & FF_THREAD_FRAME)) { in ff_h264_field_end()
Davcodec.c340 && !(avci->frame_thread_encoder && (avctx->active_thread_type&FF_THREAD_FRAME))) { in avcodec_open2()
349 if ( avctx->codec->init && (!(avctx->active_thread_type&FF_THREAD_FRAME) in avcodec_open2()
532 if (HAVE_THREADS && avctx->active_thread_type & FF_THREAD_FRAME) in avcodec_flush_buffers()
Dh264_mc_template.c79 if (HAVE_THREADS && (h->avctx->active_thread_type & FF_THREAD_FRAME)) in MCFUNC()
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()
Drv34.c701 if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME)) { in rv34_mc()
883 if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME)) in rv34_decode_mv()
1467 if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME)) in rv34_decode_slice()
1576 if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME)) in finish_frame()
1753 (s->avctx->active_thread_type & FF_THREAD_FRAME)) { in ff_rv34_decode_frame()
1801 (s->avctx->active_thread_type & FF_THREAD_FRAME)) { in ff_rv34_decode_frame()
Ddecode.c321 avctx->active_thread_type & FF_THREAD_FRAME)) in decode_simple_internal()
326 if (HAVE_THREADS && avctx->active_thread_type & FF_THREAD_FRAME) { in decode_simple_internal()
481 int nb_errors_max = 20 + (HAVE_THREADS && avctx->active_thread_type & FF_THREAD_FRAME ? in decode_simple_internal()
1266 if (avctx->active_thread_type & FF_THREAD_FRAME) in avcodec_get_hw_frames_parameters()
2025 if ((avctx->thread_type & FF_THREAD_FRAME) && in ff_decode_preinit()
Dhevc_mvs.c249 if (s->threads_type == FF_THREAD_FRAME) in temporal_luma_motion_vector()
263 if (s->threads_type == FF_THREAD_FRAME) in temporal_luma_motion_vector()
Dmimic.c421 if (!(avctx->active_thread_type & FF_THREAD_FRAME)) in mimic_decode_frame()
Dhevc_filter.c866 if (s->threads_type & FF_THREAD_FRAME ) in ff_hevc_hls_filter()
871 if (s->threads_type & FF_THREAD_FRAME ) in ff_hevc_hls_filter()
874 } else if (s->threads_type & FF_THREAD_FRAME && x_end) in ff_hevc_hls_filter()
Dh264dec.c588 if (avctx->active_thread_type & FF_THREAD_FRAME) in decode_nal_units()
629 if (avctx->active_thread_type & FF_THREAD_FRAME && in decode_nal_units()
Dvp3.c1909 if (HAVE_THREADS && s->avctx->active_thread_type & FF_THREAD_FRAME) { in vp3_draw_horiz_band()
2102 (s->avctx->active_thread_type & FF_THREAD_FRAME); in render_slice()
2610 if (s->avctx->active_thread_type&FF_THREAD_FRAME) { in vp3_decode_frame()
2825 if (!HAVE_THREADS || !(s->avctx->active_thread_type & FF_THREAD_FRAME)) { in vp3_decode_frame()
2836 if (!HAVE_THREADS || !(s->avctx->active_thread_type & FF_THREAD_FRAME)) in vp3_decode_frame()
Dhevc_refs.c414 if (s->threads_type == FF_THREAD_FRAME) in generate_missing_ref()
Doptions_table.h414 …pe", OFFSET(thread_type), AV_OPT_TYPE_FLAGS, {.i64 = FF_THREAD_SLICE|FF_THREAD_FRAME }, 0, INT_MAX…
416 {"frame", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_THREAD_FRAME }, INT_MIN, INT_MAX, V|E|D, "thread_t…
Davcodec.h1784 #define FF_THREAD_FRAME 1 ///< Decode more than one frame at once macro
Dh264_direct.c188 if (!HAVE_THREADS || !(h->avctx->active_thread_type & FF_THREAD_FRAME)) in await_reference_mb_row()
Dpngdec.c1581 if (!(avctx->active_thread_type & FF_THREAD_FRAME)) { in decode_frame_png()
1644 if (!(avctx->active_thread_type & FF_THREAD_FRAME)) { in decode_frame_apng()
Dhevcdec.c1790 if (s->threads_type == FF_THREAD_FRAME ) { in hevc_await_progress()
3196 if (s->ref && s->threads_type == FF_THREAD_FRAME) in decode_nal_units()
3616 if((avctx->active_thread_type & FF_THREAD_FRAME) && avctx->thread_count > 1) in hevc_decode_init()
3617 s->threads_type = FF_THREAD_FRAME; in hevc_decode_init()
Dmpeg12dec.c1660 if (HAVE_THREADS && (avctx->active_thread_type & FF_THREAD_FRAME)) in mpeg_field_start()
2065 if (avctx->active_thread_type & FF_THREAD_FRAME) in slice_end()
Dvp8.c2604 if (avctx->active_thread_type == FF_THREAD_FRAME) in vp78_decode_mb_row_sliced()
2767 if (avctx->active_thread_type == FF_THREAD_FRAME) in vp78_decode_frame()
Dvp9.c1659 avctx->active_thread_type == FF_THREAD_FRAME && s->s.h.refreshctx && !s->s.h.parallelmode; in vp9_decode_frame()
Dmpegvideo.c2031 if(HAVE_THREADS && s->avctx->active_thread_type&FF_THREAD_FRAME) { in mpv_reconstruct_mb_internal()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavviddec.c605 ffmpegdec->context->thread_type = FF_THREAD_SLICE | FF_THREAD_FRAME; in gst_ffmpegviddec_set_format()
612 (ffmpegdec->context->thread_type & FF_THREAD_FRAME)) in gst_ffmpegviddec_set_format()
628 if (ffmpegdec->context->thread_type == FF_THREAD_FRAME) in gst_ffmpegviddec_set_format()
654 if (ffmpegdec->context->thread_type & FF_THREAD_FRAME) { in gst_ffmpegviddec_set_format()
1520 if (ffmpegdec->context->thread_type & FF_THREAD_FRAME) { in gst_ffmpegviddec_negotiate()

12