From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Subject: [FFmpeg-devel] [PATCH 17/18] avutil/internal: Move avpriv_set_systematic_pal2 decl to imgutils_internal.h Date: Fri, 29 Mar 2024 00:10:46 +0100 Message-ID: <AS8P250MB074495B0FEFCB4B64E5FEA7B8F3B2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> (raw) In-Reply-To: <GV1P250MB07376DB62F134F911FBD81A18F3B2@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/bmpenc.c | 2 +- libavcodec/gif.c | 1 + libavcodec/pcxenc.c | 2 +- libavcodec/xwdenc.c | 1 + libavfilter/framepool.c | 1 + libavfilter/vf_scale.c | 1 + libavformat/av1.c | 1 + libavutil/imgutils.c | 1 - libavutil/imgutils_internal.h | 4 ++++ libavutil/internal.h | 3 --- 10 files changed, 11 insertions(+), 6 deletions(-) diff --git a/libavcodec/bmpenc.c b/libavcodec/bmpenc.c index 3e3ca324ea..48f25170ba 100644 --- a/libavcodec/bmpenc.c +++ b/libavcodec/bmpenc.c @@ -22,8 +22,8 @@ #include "config.h" -#include "libavutil/imgutils.h" #include "libavutil/avassert.h" +#include "libavutil/imgutils_internal.h" #include "avcodec.h" #include "bytestream.h" #include "bmp.h" diff --git a/libavcodec/gif.c b/libavcodec/gif.c index 56042d36a7..c36fa66737 100644 --- a/libavcodec/gif.c +++ b/libavcodec/gif.c @@ -30,6 +30,7 @@ * @see http://www.w3.org/Graphics/GIF/spec-gif89a.txt */ +#include "libavutil/imgutils_internal.h" #include "libavutil/mem.h" #include "libavutil/opt.h" #include "avcodec.h" diff --git a/libavcodec/pcxenc.c b/libavcodec/pcxenc.c index cf9b41b752..b763c7df47 100644 --- a/libavcodec/pcxenc.c +++ b/libavcodec/pcxenc.c @@ -26,9 +26,9 @@ * @see http://bespin.org/~qz/pc-gpe/pcx.txt */ +#include "libavutil/imgutils_internal.h" #include "avcodec.h" #include "bytestream.h" -#include "libavutil/imgutils.h" #include "codec_internal.h" #include "encode.h" diff --git a/libavcodec/xwdenc.c b/libavcodec/xwdenc.c index 08554d8632..40bee20109 100644 --- a/libavcodec/xwdenc.c +++ b/libavcodec/xwdenc.c @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/imgutils_internal.h" #include "libavutil/pixdesc.h" #include "avcodec.h" #include "bytestream.h" diff --git a/libavfilter/framepool.c b/libavfilter/framepool.c index 841caa0460..e8621e07ac 100644 --- a/libavfilter/framepool.c +++ b/libavfilter/framepool.c @@ -24,6 +24,7 @@ #include "libavutil/buffer.h" #include "libavutil/frame.h" #include "libavutil/imgutils.h" +#include "libavutil/imgutils_internal.h" #include "libavutil/mem.h" #include "libavutil/pixfmt.h" diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 00fcb31b1c..fc0e3802db 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -33,6 +33,7 @@ #include "scale_eval.h" #include "video.h" #include "libavutil/eval.h" +#include "libavutil/imgutils_internal.h" #include "libavutil/internal.h" #include "libavutil/mem.h" #include "libavutil/opt.h" diff --git a/libavformat/av1.c b/libavformat/av1.c index cb86e66d09..35c23dd0b0 100644 --- a/libavformat/av1.c +++ b/libavformat/av1.c @@ -21,6 +21,7 @@ #include "libavutil/avassert.h" #include "libavutil/mem.h" +#include "libavutil/pixfmt.h" #include "libavcodec/av1.h" #include "libavcodec/av1_parse.h" #include "libavcodec/defs.h" diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c index 16e3133c33..d246381563 100644 --- a/libavutil/imgutils.c +++ b/libavutil/imgutils.c @@ -25,7 +25,6 @@ #include "common.h" #include "imgutils.h" #include "imgutils_internal.h" -#include "internal.h" #include "intreadwrite.h" #include "log.h" #include "mathematics.h" diff --git a/libavutil/imgutils_internal.h b/libavutil/imgutils_internal.h index d515858413..3e47731a50 100644 --- a/libavutil/imgutils_internal.h +++ b/libavutil/imgutils_internal.h @@ -22,6 +22,10 @@ #include <stddef.h> #include <stdint.h> +#include "pixfmt.h" + +int avpriv_set_systematic_pal2(uint32_t pal[256], enum AVPixelFormat pix_fmt); + int ff_image_copy_plane_uc_from_x86(uint8_t *dst, ptrdiff_t dst_linesize, const uint8_t *src, ptrdiff_t src_linesize, ptrdiff_t bytewidth, int height); diff --git a/libavutil/internal.h b/libavutil/internal.h index fe0b9d7a24..ac1af367e9 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -42,7 +42,6 @@ #include "attributes.h" #include "libm.h" #include "macros.h" -#include "pixfmt.h" #ifndef attribute_align_arg #if ARCH_X86_32 && AV_GCC_VERSION_AT_LEAST(4,2) @@ -152,8 +151,6 @@ void avpriv_request_sample(void *avc, #define SUINT32 uint32_t #endif -int avpriv_set_systematic_pal2(uint32_t pal[256], enum AVPixelFormat pix_fmt); - static av_always_inline av_const int avpriv_mirror(int x, int w) { if (!w) -- 2.40.1 _______________________________________________ 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-28 23:13 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-03-28 22:38 [FFmpeg-devel] [PATCH 01/18] avcodec/mips/ac3dsp_mips: Add missing includes Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 02/18] avcodec/pcm-bluray/dvd: Use correct pointer types on BE Andreas Rheinhardt 2024-07-30 9:18 ` Sebastian Ramacher 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 03/18] swscale/ppc/swscale_altivec: Fix build with -O0 Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 04/18] swscale/ppc/swscale_altivec: Simplify macro Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 05/18] avcodec, avfilter: Don't use "" for system headers Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 06/18] postproc/postprocess: Don't generally include arch-specific headers Andreas Rheinhardt 2024-03-29 14:54 ` Sean McGovern 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 07/18] swscale/swscale_internal: Only include altivec header iff HAVE_ALTIVEC Andreas Rheinhardt 2024-03-29 14:55 ` Sean McGovern 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 08/18] avcodec/msmpeg4: Don't include x86-specific header unconditionally Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 09/18] swscale/swscale_internal: Hoist branch out of loop Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 10/18] swscale/swscale_internal: Don't export internal function Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 11/18] lib*/version: Use static_assert for static asserts Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 12/18] avutil/common: Don't auto-include mem.h Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 13/18] avcodec/arm/mpegvideo_arm: Use static_assert to check offsets Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 14/18] avutil/internal: Move libm inclusion to the beginning Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 15/18] avutil/internal: Move FF_MEMORY_POISON to its only user Andreas Rheinhardt 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 16/18] avutil/hwcontext_vulkan: Include hwcontext.h Andreas Rheinhardt 2024-03-28 23:10 ` Andreas Rheinhardt [this message] 2024-03-28 23:10 ` [FFmpeg-devel] [PATCH 18/18] avcodec/arm/vp8: Don't discard const Andreas Rheinhardt 2024-03-30 13:47 ` [FFmpeg-devel] [PATCH 01/18] avcodec/mips/ac3dsp_mips: Add missing includes Andreas Rheinhardt
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=AS8P250MB074495B0FEFCB4B64E5FEA7B8F3B2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM \ --to=andreas.rheinhardt@outlook.com \ --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