/third_party/ffmpeg/libavcodec/ |
D | pthread.c | 54 } 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()
|
D | frame_thread_encoder.c | 129 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()
|
D | pthread_frame.c | 653 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()
|
D | h264_picture.c | 165 if (in_setup || !(avctx->active_thread_type & FF_THREAD_FRAME)) { in ff_h264_field_end()
|
D | avcodec.c | 340 && !(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()
|
D | h264_mc_template.c | 79 if (HAVE_THREADS && (h->avctx->active_thread_type & FF_THREAD_FRAME)) in MCFUNC()
|
D | encode.c | 195 (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()
|
D | rv34.c | 701 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()
|
D | decode.c | 321 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()
|
D | hevc_mvs.c | 249 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()
|
D | mimic.c | 421 if (!(avctx->active_thread_type & FF_THREAD_FRAME)) in mimic_decode_frame()
|
D | hevc_filter.c | 866 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()
|
D | h264dec.c | 588 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()
|
D | vp3.c | 1909 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()
|
D | hevc_refs.c | 414 if (s->threads_type == FF_THREAD_FRAME) in generate_missing_ref()
|
D | options_table.h | 414 …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…
|
D | avcodec.h | 1784 #define FF_THREAD_FRAME 1 ///< Decode more than one frame at once macro
|
D | h264_direct.c | 188 if (!HAVE_THREADS || !(h->avctx->active_thread_type & FF_THREAD_FRAME)) in await_reference_mb_row()
|
D | pngdec.c | 1581 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()
|
D | hevcdec.c | 1790 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()
|
D | mpeg12dec.c | 1660 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()
|
D | vp8.c | 2604 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()
|
D | vp9.c | 1659 avctx->active_thread_type == FF_THREAD_FRAME && s->s.h.refreshctx && !s->s.h.parallelmode; in vp9_decode_frame()
|
D | mpegvideo.c | 2031 if(HAVE_THREADS && s->avctx->active_thread_type&FF_THREAD_FRAME) { in mpv_reconstruct_mb_internal()
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavviddec.c | 605 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()
|