From: Anton Khirnov <anton@khirnov.net> To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH 3/3] lavc/thread.h: drop unnecessary includes Date: Fri, 8 Mar 2024 09:27:49 +0100 Message-ID: <20240308082749.20028-3-anton@khirnov.net> (raw) In-Reply-To: <20240308082749.20028-1-anton@khirnov.net> --- libavcodec/thread.h | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/libavcodec/thread.h b/libavcodec/thread.h index 5a00b32619..111010b27f 100644 --- a/libavcodec/thread.h +++ b/libavcodec/thread.h @@ -27,11 +27,9 @@ #ifndef AVCODEC_THREAD_H #define AVCODEC_THREAD_H -#include "libavutil/buffer.h" +struct AVCodecContext; -#include "avcodec.h" - -int ff_thread_can_start_frame(AVCodecContext *avctx); +int ff_thread_can_start_frame(struct AVCodecContext *avctx); /** * If the codec defines update_thread_context(), call this @@ -41,14 +39,14 @@ int ff_thread_can_start_frame(AVCodecContext *avctx); * * @param avctx The context. */ -void ff_thread_finish_setup(AVCodecContext *avctx); +void ff_thread_finish_setup(struct AVCodecContext *avctx); -int ff_slice_thread_execute_with_mainfunc(AVCodecContext *avctx, - int (*action_func2)(AVCodecContext *c, void *arg, int jobnr, int threadnr), - int (*main_func)(AVCodecContext *c), void *arg, int *ret, int job_count); -int ff_slice_thread_allocz_entries(AVCodecContext *avctx, int count); -int ff_slice_thread_init_progress(AVCodecContext *avctx); -void ff_thread_report_progress2(AVCodecContext *avctx, int field, int thread, int n); -void ff_thread_await_progress2(AVCodecContext *avctx, int field, int thread, int shift); +int ff_slice_thread_execute_with_mainfunc(struct AVCodecContext *avctx, + int (*action_func2)(struct AVCodecContext *c, void *arg, int jobnr, int threadnr), + int (*main_func)(struct AVCodecContext *c), void *arg, int *ret, int job_count); +int ff_slice_thread_allocz_entries(struct AVCodecContext *avctx, int count); +int ff_slice_thread_init_progress(struct AVCodecContext *avctx); +void ff_thread_report_progress2(struct AVCodecContext *avctx, int field, int thread, int n); +void ff_thread_await_progress2(struct AVCodecContext *avctx, int field, int thread, int shift); #endif /* AVCODEC_THREAD_H */ -- 2.43.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2024-03-08 8:28 UTC|newest] Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-03-08 8:27 [FFmpeg-devel] [PATCH 1/3] lavc/thread: move generic-layer API to avcodec_internal.h Anton Khirnov 2024-03-08 8:27 ` [FFmpeg-devel] [PATCH 2/3] lavc: replace ff_thread_get_buffer() with ff_get_buffer() Anton Khirnov 2024-03-08 10:03 ` Andreas Rheinhardt 2024-03-08 10:14 ` Anton Khirnov 2024-03-08 10:19 ` Andreas Rheinhardt 2024-03-08 10:21 ` Anton Khirnov 2024-03-08 10:44 ` Andreas Rheinhardt 2024-03-08 11:04 ` Anton Khirnov 2024-03-08 11:18 ` Andreas Rheinhardt 2024-03-08 13:19 ` Nicolas George 2024-03-08 13:28 ` Paul B Mahol 2024-03-08 15:09 ` Sean McGovern 2024-03-08 15:18 ` Nicolas George 2024-03-08 15:25 ` Sean McGovern 2024-03-08 15:21 ` Vittorio Giovara 2024-03-08 15:30 ` Paul B Mahol 2024-03-08 15:34 ` Sean McGovern 2024-03-08 15:37 ` Vittorio Giovara 2024-03-08 15:42 ` Sean McGovern 2024-03-08 15:46 ` Nicolas George 2024-03-08 15:55 ` Kieran Kunhya 2024-03-08 16:41 ` Nicolas George 2024-03-08 16:44 ` Kieran Kunhya 2024-03-08 16:49 ` Nicolas George 2024-03-08 17:01 ` Kieran Kunhya 2024-03-08 17:06 ` Vittorio Giovara 2024-03-08 16:11 ` Ronald S. Bultje 2024-03-08 16:39 ` Nicolas George 2024-03-08 14:43 ` Vittorio Giovara 2024-03-08 8:27 ` Anton Khirnov [this message] 2024-03-09 23:26 ` [FFmpeg-devel] [PATCH 1/3] lavc/thread: move generic-layer API to avcodec_internal.h Michael Niedermayer
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20240308082749.20028-3-anton@khirnov.net \ --to=anton@khirnov.net \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git