From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 1/3] avcodec/amrwbdec, lsp: Include mips headers only #if ARCH_MIPS
Date: Wed, 28 Sep 2022 03:07:57 +0200
Message-ID: <GV1P250MB0737136035F8F186EB40A2318F549@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <AS8P250MB074473DA76F7C7EFA8225DFE8F539@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM>
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
> libavcodec/amrwbdec.c | 4 ++++
> libavcodec/lsp.c | 4 ++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c
> index ea3812cd9a..b59066adcf 100644
> --- a/libavcodec/amrwbdec.c
> +++ b/libavcodec/amrwbdec.c
> @@ -24,6 +24,8 @@
> * AMR wideband decoder
> */
>
> +#include "config.h"
> +
> #include "libavutil/channel_layout.h"
> #include "libavutil/common.h"
> #include "libavutil/lfg.h"
> @@ -42,7 +44,9 @@
> #include "amr.h"
>
> #include "amrwbdata.h"
> +#if ARCH_MIPS
> #include "mips/amrwbdec_mips.h"
> +#endif /* ARCH_MIPS */
>
> typedef struct AMRWBContext {
> AMRWBFrame frame; ///< AMRWB parameters decoded from bitstream
> diff --git a/libavcodec/lsp.c b/libavcodec/lsp.c
> index 90f2efaafe..9e7bc5f87a 100644
> --- a/libavcodec/lsp.c
> +++ b/libavcodec/lsp.c
> @@ -23,11 +23,15 @@
>
> #include <math.h>
>
> +#include "config.h"
> +
> #define FRAC_BITS 14
> #include "libavutil/macros.h"
> #include "mathops.h"
> #include "lsp.h"
> +#if ARCH_MIPS
> #include "libavcodec/mips/lsp_mips.h"
> +#endif /* ARCH_MIPS */
> #include "libavutil/avassert.h"
>
> void ff_acelp_reorder_lsf(int16_t* lsfq, int lsfq_min_distance, int lsfq_min, int lsfq_max, int lp_order)
Will apply tonight unless there are objections.
- Andreas
_______________________________________________
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".
prev parent reply other threads:[~2022-09-28 1:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-25 15:05 Andreas Rheinhardt
2022-09-25 15:06 ` [FFmpeg-devel] [PATCH 2/3] avcodec/lsp: Move ff_lsp2polyf() upwards in lsp.c Andreas Rheinhardt
2022-09-25 15:06 ` [FFmpeg-devel] [PATCH 3/3] avcodec/lsp: Make ff_lsp2polyf() static Andreas Rheinhardt
2022-09-28 1:07 ` Andreas Rheinhardt [this message]
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=GV1P250MB0737136035F8F186EB40A2318F549@GV1P250MB0737.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