You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	all: Make header guard names consistent
This commit is contained in:
		| @@ -19,8 +19,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef FFMPEG_COMPAT_AIX_MATH_H | ||||
| #define FFMPEG_COMPAT_AIX_MATH_H | ||||
| #ifndef COMPAT_AIX_MATH_H | ||||
| #define COMPAT_AIX_MATH_H | ||||
|  | ||||
| #define class class_in_math_h_causes_problems | ||||
|  | ||||
| @@ -28,4 +28,4 @@ | ||||
|  | ||||
| #undef class | ||||
|  | ||||
| #endif /* FFMPEG_COMPAT_AIX_MATH_H */ | ||||
| #endif /* COMPAT_AIX_MATH_H */ | ||||
|   | ||||
| @@ -19,8 +19,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef COMPAT_SNPRINTF_H | ||||
| #define COMPAT_SNPRINTF_H | ||||
| #ifndef COMPAT_MSVCRT_SNPRINTF_H | ||||
| #define COMPAT_MSVCRT_SNPRINTF_H | ||||
|  | ||||
| #include <stdarg.h> | ||||
| #include <stdio.h> | ||||
| @@ -35,4 +35,4 @@ int avpriv_vsnprintf(char *s, size_t n, const char *fmt, va_list ap); | ||||
| #define _snprintf avpriv_snprintf | ||||
| #define vsnprintf avpriv_vsnprintf | ||||
|  | ||||
| #endif /* COMPAT_SNPRINTF_H */ | ||||
| #endif /* COMPAT_MSVCRT_SNPRINTF_H */ | ||||
|   | ||||
| @@ -23,8 +23,8 @@ | ||||
|  * os2threads to pthreads wrapper | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_OS2PTHREADS_H | ||||
| #define AVCODEC_OS2PTHREADS_H | ||||
| #ifndef COMPAT_OS2THREADS_H | ||||
| #define COMPAT_OS2THREADS_H | ||||
|  | ||||
| #define INCL_DOS | ||||
| #include <os2.h> | ||||
| @@ -190,4 +190,4 @@ static av_always_inline int pthread_once(pthread_once_t *once_control, void (*in | ||||
|  | ||||
|     return 0; | ||||
| } | ||||
| #endif /* AVCODEC_OS2PTHREADS_H */ | ||||
| #endif /* COMPAT_OS2THREADS_H */ | ||||
|   | ||||
| @@ -16,8 +16,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef FFMPEG_COMPAT_TMS470_MATH_H | ||||
| #define FFMPEG_COMPAT_TMS470_MATH_H | ||||
| #ifndef COMPAT_TMS470_MATH_H | ||||
| #define COMPAT_TMS470_MATH_H | ||||
|  | ||||
| #include_next <math.h> | ||||
|  | ||||
| @@ -27,4 +27,4 @@ | ||||
| #define INFINITY (*(const float*)((const unsigned []){ 0x7f800000 })) | ||||
| #define NAN      (*(const float*)((const unsigned []){ 0x7fc00000 })) | ||||
|  | ||||
| #endif /* FFMPEG_COMPAT_TMS470_MATH_H */ | ||||
| #endif /* COMPAT_TMS470_MATH_H */ | ||||
|   | ||||
| @@ -26,8 +26,8 @@ | ||||
|  * w32threads to pthreads wrapper | ||||
|  */ | ||||
|  | ||||
| #ifndef FFMPEG_COMPAT_W32PTHREADS_H | ||||
| #define FFMPEG_COMPAT_W32PTHREADS_H | ||||
| #ifndef COMPAT_W32PTHREADS_H | ||||
| #define COMPAT_W32PTHREADS_H | ||||
|  | ||||
| /* Build up a pthread-like API using underlying Windows API. Have only static | ||||
|  * methods so as to not conflict with a potentially linked in pthread-win32 | ||||
| @@ -415,4 +415,4 @@ static av_unused void w32thread_init(void) | ||||
|  | ||||
| } | ||||
|  | ||||
| #endif /* FFMPEG_COMPAT_W32PTHREADS_H */ | ||||
| #endif /* COMPAT_W32PTHREADS_H */ | ||||
|   | ||||
| @@ -19,8 +19,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_PS_H | ||||
| #define AVCODEC_PS_H | ||||
| #ifndef AVCODEC_AACPS_H | ||||
| #define AVCODEC_AACPS_H | ||||
|  | ||||
| #include <stdint.h> | ||||
|  | ||||
| @@ -83,4 +83,4 @@ void AAC_RENAME(ff_ps_ctx_init)(PSContext *ps); | ||||
| int AAC_RENAME(ff_ps_read_data)(AVCodecContext *avctx, GetBitContext *gb, PSContext *ps, int bits_left); | ||||
| int AAC_RENAME(ff_ps_apply)(AVCodecContext *avctx, PSContext *ps, INTFLOAT L[2][38][64], INTFLOAT R[2][38][64], int top); | ||||
|  | ||||
| #endif /* AVCODEC_PS_H */ | ||||
| #endif /* AVCODEC_AACPS_H */ | ||||
|   | ||||
| @@ -23,8 +23,8 @@ | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #ifndef AACPS_FIXED_TABLEGEN_H | ||||
| #define AACPS_FIXED_TABLEGEN_H | ||||
| #ifndef AVCODEC_AACPS_FIXED_TABLEGEN_H | ||||
| #define AVCODEC_AACPS_FIXED_TABLEGEN_H | ||||
|  | ||||
| #include <math.h> | ||||
| #include <stdint.h> | ||||
| @@ -400,4 +400,4 @@ static void ps_tableinit(void) | ||||
| } | ||||
| #endif /* CONFIG_HARDCODED_TABLES */ | ||||
|  | ||||
| #endif /* AACPS_FIXED_TABLEGEN_H */ | ||||
| #endif /* AVCODEC_AACPS_FIXED_TABLEGEN_H */ | ||||
|   | ||||
| @@ -20,8 +20,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AACPS_TABLEGEN_H | ||||
| #define AACPS_TABLEGEN_H | ||||
| #ifndef AVCODEC_AACPS_TABLEGEN_H | ||||
| #define AVCODEC_AACPS_TABLEGEN_H | ||||
|  | ||||
| #include <math.h> | ||||
| #include <stdint.h> | ||||
| @@ -214,4 +214,4 @@ static av_cold void ps_tableinit(void) | ||||
| } | ||||
| #endif /* CONFIG_HARDCODED_TABLES */ | ||||
|  | ||||
| #endif /* AACPS_TABLEGEN_H */ | ||||
| #endif /* AVCODEC_AACPS_TABLEGEN_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef LIBAVCODEC_AACPSDSP_H | ||||
| #define LIBAVCODEC_AACPSDSP_H | ||||
| #ifndef AVCODEC_AACPSDSP_H | ||||
| #define AVCODEC_AACPSDSP_H | ||||
|  | ||||
| #include "aac_defines.h" | ||||
|  | ||||
| @@ -54,4 +54,4 @@ void ff_psdsp_init_arm(PSDSPContext *s); | ||||
| void ff_psdsp_init_mips(PSDSPContext *s); | ||||
| void ff_psdsp_init_x86(PSDSPContext *s); | ||||
|  | ||||
| #endif /* LIBAVCODEC_AACPSDSP_H */ | ||||
| #endif /* AVCODEC_AACPSDSP_H */ | ||||
|   | ||||
| @@ -16,8 +16,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_BSWAP_BUF_H | ||||
| #define AVCODEC_BSWAP_BUF_H | ||||
| #ifndef AVCODEC_BSWAPDSP_H | ||||
| #define AVCODEC_BSWAPDSP_H | ||||
|  | ||||
| #include <stdint.h> | ||||
|  | ||||
| @@ -29,4 +29,4 @@ typedef struct BswapDSPContext { | ||||
| void ff_bswapdsp_init(BswapDSPContext *c); | ||||
| void ff_bswapdsp_init_x86(BswapDSPContext *c); | ||||
|  | ||||
| #endif /* AVCODEC_BSWAP_BUF_H */ | ||||
| #endif /* AVCODEC_BSWAPDSP_H */ | ||||
|   | ||||
| @@ -20,8 +20,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_DXVA_H | ||||
| #define AVCODEC_DXVA_H | ||||
| #ifndef AVCODEC_DXVA2_H | ||||
| #define AVCODEC_DXVA2_H | ||||
|  | ||||
| /** | ||||
|  * @file | ||||
| @@ -90,4 +90,4 @@ struct dxva_context { | ||||
|  * @} | ||||
|  */ | ||||
|  | ||||
| #endif /* AVCODEC_DXVA_H */ | ||||
| #endif /* AVCODEC_DXVA2_H */ | ||||
|   | ||||
| @@ -20,8 +20,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_DXVA_INTERNAL_H | ||||
| #define AVCODEC_DXVA_INTERNAL_H | ||||
| #ifndef AVCODEC_DXVA2_INTERNAL_H | ||||
| #define AVCODEC_DXVA2_INTERNAL_H | ||||
|  | ||||
| #define COBJMACROS | ||||
|  | ||||
| @@ -118,4 +118,4 @@ int ff_dxva2_common_end_frame(AVCodecContext *, AVFrame *, | ||||
|                                                   DECODER_BUFFER_DESC *bs, | ||||
|                                                   DECODER_BUFFER_DESC *slice)); | ||||
|  | ||||
| #endif /* AVCODEC_DXVA_INTERNAL_H */ | ||||
| #endif /* AVCODEC_DXVA2_INTERNAL_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * License along with FFmpeg; if not, write to the Free Software | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
| #ifndef FFMPEG_G729POSTFILTER_H | ||||
| #define FFMPEG_G729POSTFILTER_H | ||||
| #ifndef AVCODEC_G729POSTFILTER_H | ||||
| #define AVCODEC_G729POSTFILTER_H | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include "audiodsp.h" | ||||
| @@ -113,4 +113,4 @@ void ff_g729_postfilter(AudioDSPContext *adsp, int16_t* ht_prev_data, int* voici | ||||
| int16_t ff_g729_adaptive_gain_control(int gain_before, int gain_after, int16_t *speech, | ||||
|                                    int subframe_size, int16_t gain_prev); | ||||
|  | ||||
| #endif // FFMPEG_G729POSTFILTER_H | ||||
| #endif // AVCODEC_G729POSTFILTER_H | ||||
|   | ||||
| @@ -26,8 +26,8 @@ | ||||
|  * GIF format definitions. | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_GIFDEFS_H | ||||
| #define AVCODEC_GIFDEFS_H | ||||
| #ifndef AVCODEC_GIF_H | ||||
| #define AVCODEC_GIF_H | ||||
|  | ||||
| #include <stdint.h> | ||||
|  | ||||
| @@ -46,4 +46,4 @@ static const uint8_t gif89a_sig[6] = "GIF89a"; | ||||
| #define GIF_APP_EXT_LABEL           0xff | ||||
| #define NETSCAPE_EXT_STR            "NETSCAPE2.0" | ||||
|  | ||||
| #endif /* AVCODEC_GIFDEFS_H */ | ||||
| #endif /* AVCODEC_GIF_H */ | ||||
|   | ||||
| @@ -20,8 +20,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_LLAUDDSP_H | ||||
| #define AVCODEC_LLAUDDSP_H | ||||
| #ifndef AVCODEC_LOSSLESS_AUDIODSP_H | ||||
| #define AVCODEC_LOSSLESS_AUDIODSP_H | ||||
|  | ||||
| #include <stdint.h> | ||||
|  | ||||
| @@ -43,4 +43,4 @@ void ff_llauddsp_init_arm(LLAudDSPContext *c); | ||||
| void ff_llauddsp_init_ppc(LLAudDSPContext *c); | ||||
| void ff_llauddsp_init_x86(LLAudDSPContext *c); | ||||
|  | ||||
| #endif /* AVCODEC_LLAUDDSP_H */ | ||||
| #endif /* AVCODEC_LOSSLESS_AUDIODSP_H */ | ||||
|   | ||||
| @@ -54,8 +54,8 @@ | ||||
|  * Reference: libavcodec/aacdec.c | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_MIPS_AACDEC_FLOAT_H | ||||
| #define AVCODEC_MIPS_AACDEC_FLOAT_H | ||||
| #ifndef AVCODEC_MIPS_AACDEC_MIPS_H | ||||
| #define AVCODEC_MIPS_AACDEC_MIPS_H | ||||
|  | ||||
| #include "libavcodec/aac.h" | ||||
| #include "libavutil/mips/asmdefs.h" | ||||
| @@ -248,4 +248,4 @@ static inline float *VMUL4S_mips(float *dst, const float *v, unsigned idx, | ||||
| #define VMUL4S VMUL4S_mips | ||||
| #endif /* HAVE_INLINE_ASM && HAVE_MIPSFPU */ | ||||
|  | ||||
| #endif /* AVCODEC_MIPS_AACDEC_FLOAT_H */ | ||||
| #endif /* AVCODEC_MIPS_AACDEC_MIPS_H */ | ||||
|   | ||||
| @@ -51,8 +51,8 @@ | ||||
|  * Reference: libavcodec/aacsbr.c | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_MIPS_AACSBR_FLOAT_H | ||||
| #define AVCODEC_MIPS_AACSBR_FLOAT_H | ||||
| #ifndef AVCODEC_MIPS_AACSBR_MIPS_H | ||||
| #define AVCODEC_MIPS_AACSBR_MIPS_H | ||||
|  | ||||
| #include "libavcodec/aac.h" | ||||
| #include "libavcodec/sbr.h" | ||||
| @@ -491,4 +491,4 @@ static void sbr_qmf_synthesis_mips(FFTContext *mdct, | ||||
| #endif /* HAVE_MIPSFPU */ | ||||
| #endif /* HAVE_INLINE_ASM */ | ||||
|  | ||||
| #endif /* AVCODEC_MIPS_AACSBR_FLOAT_H */ | ||||
| #endif /* AVCODEC_MIPS_AACSBR_MIPS_H */ | ||||
|   | ||||
| @@ -49,8 +49,8 @@ | ||||
|  * @file | ||||
|  * Reference: libavcodec/amrwbdec.c | ||||
|  */ | ||||
| #ifndef AVCODEC_AMRWBDEC_MIPS_H | ||||
| #define AVCODEC_AMRWBDEC_MIPS_H | ||||
| #ifndef AVCODEC_MIPS_AMRWBDEC_MIPS_H | ||||
| #define AVCODEC_MIPS_AMRWBDEC_MIPS_H | ||||
| #include "config.h" | ||||
|  | ||||
| #if HAVE_MIPSFPU && HAVE_INLINE_ASM | ||||
| @@ -59,4 +59,4 @@ void ff_hb_fir_filter_mips(float *out, const float fir_coef[], | ||||
| #define hb_fir_filter ff_hb_fir_filter_mips | ||||
| #endif | ||||
|  | ||||
| #endif /* AVCODEC_AMRWBDEC_MIPS_H  */ | ||||
| #endif /* AVCODEC_MIPS_AMRWBDEC_MIPS_H  */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef H264_CHROMA_MIPS_H | ||||
| #define H264_CHROMA_MIPS_H | ||||
| #ifndef AVCODEC_MIPS_H264CHROMA_MIPS_H | ||||
| #define AVCODEC_MIPS_H264CHROMA_MIPS_H | ||||
|  | ||||
| #include "libavcodec/h264.h" | ||||
| void ff_put_h264_chroma_mc8_msa(uint8_t *dst, uint8_t *src, int stride, | ||||
| @@ -44,4 +44,4 @@ void ff_put_h264_chroma_mc4_mmi(uint8_t *dst, uint8_t *src, int stride, | ||||
| void ff_avg_h264_chroma_mc4_mmi(uint8_t *dst, uint8_t *src, int stride, | ||||
|         int h, int x, int y); | ||||
|  | ||||
| #endif /* H264_CHROMA_MIPS_H */ | ||||
| #endif /* AVCODEC_MIPS_H264CHROMA_MIPS_H */ | ||||
|   | ||||
| @@ -19,8 +19,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef H264_DSP_MIPS_H | ||||
| #define H264_DSP_MIPS_H | ||||
| #ifndef AVCODEC_MIPS_H264DSP_MIPS_H | ||||
| #define AVCODEC_MIPS_H264DSP_MIPS_H | ||||
|  | ||||
| #include "libavcodec/h264.h" | ||||
| #include "constants.h" | ||||
| @@ -574,4 +574,4 @@ void ff_avg_h264_qpel4_mc23_mmi(uint8_t *dst, const uint8_t *src, | ||||
| void ff_avg_h264_qpel4_mc33_mmi(uint8_t *dst, const uint8_t *src, | ||||
|         ptrdiff_t dst_stride); | ||||
|  | ||||
| #endif  // #ifndef H264_DSP_MIPS_H | ||||
| #endif  // #ifndef AVCODEC_MIPS_H264DSP_MIPS_H | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef H264_PRED_MIPS_H | ||||
| #define H264_PRED_MIPS_H | ||||
| #ifndef AVCODEC_MIPS_H264PRED_MIPS_H | ||||
| #define AVCODEC_MIPS_H264PRED_MIPS_H | ||||
|  | ||||
| #include "constants.h" | ||||
| #include "libavcodec/h264pred.h" | ||||
| @@ -45,4 +45,4 @@ void ff_pred8x8_dc_8_mmi(uint8_t *src, ptrdiff_t stride); | ||||
| void ff_pred8x16_vertical_8_mmi(uint8_t *src, ptrdiff_t stride); | ||||
| void ff_pred8x16_horizontal_8_mmi(uint8_t *src, ptrdiff_t stride); | ||||
|  | ||||
| #endif  /* H264_PRED_MIPS_H */ | ||||
| #endif  /* AVCODEC_MIPS_H264PRED_MIPS_H */ | ||||
|   | ||||
| @@ -51,8 +51,8 @@ | ||||
|  * @file | ||||
|  * Reference: libavcodec/lsp.c | ||||
|  */ | ||||
| #ifndef AVCODEC_LSP_MIPS_H | ||||
| #define AVCODEC_LSP_MIPS_H | ||||
| #ifndef AVCODEC_MIPS_LSP_MIPS_H | ||||
| #define AVCODEC_MIPS_LSP_MIPS_H | ||||
|  | ||||
| #if HAVE_MIPSFPU && HAVE_INLINE_ASM | ||||
| #include "libavutil/mips/asmdefs.h" | ||||
| @@ -108,4 +108,4 @@ static av_always_inline void ff_lsp2polyf_mips(const double *lsp, double *f, int | ||||
| } | ||||
| #define ff_lsp2polyf ff_lsp2polyf_mips | ||||
| #endif /* HAVE_MIPSFPU && HAVE_INLINE_ASM */ | ||||
| #endif /* AVCODEC_LSP_MIPS_H */ | ||||
| #endif /* AVCODEC_MIPS_LSP_MIPS_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef MPEGVIDEO_MIPS_H | ||||
| #define MPEGVIDEO_MIPS_H | ||||
| #ifndef AVCODEC_MIPS_MPEGVIDEO_MIPS_H | ||||
| #define AVCODEC_MIPS_MPEGVIDEO_MIPS_H | ||||
|  | ||||
| #include "libavcodec/mpegvideo.h" | ||||
|  | ||||
| @@ -35,4 +35,4 @@ void ff_dct_unquantize_mpeg2_intra_mmi(MpegEncContext *s, int16_t *block, | ||||
|         int n, int qscale); | ||||
| void ff_denoise_dct_mmi(MpegEncContext *s, int16_t *block); | ||||
|  | ||||
| #endif /* MPEGVIDEO_MIPS_H */ | ||||
| #endif /* AVCODEC_MIPS_MPEGVIDEO_MIPS_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_MOTIONEST_H | ||||
| #define AVCODEC_MOTIONEST_H | ||||
| #ifndef AVCODEC_MOTION_EST_H | ||||
| #define AVCODEC_MOTION_EST_H | ||||
|  | ||||
| #include <stdint.h> | ||||
|  | ||||
| @@ -132,4 +132,4 @@ void ff_fix_long_mvs(struct MpegEncContext *s, uint8_t *field_select_table, | ||||
|                      int field_select, int16_t (*mv_table)[2], int f_code, | ||||
|                      int type, int truncate); | ||||
|  | ||||
| #endif /* AVCODEC_MOTIONEST_H */ | ||||
| #endif /* AVCODEC_MOTION_EST_H */ | ||||
|   | ||||
| @@ -20,8 +20,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_ON2AVC_DATA_H | ||||
| #define AVCODEC_ON2AVC_DATA_H | ||||
| #ifndef AVCODEC_ON2AVCDATA_H | ||||
| #define AVCODEC_ON2AVCDATA_H | ||||
|  | ||||
| #include <stdint.h> | ||||
|  | ||||
| @@ -79,4 +79,4 @@ extern const float ff_on2avc_ctab_2[2048]; | ||||
| extern const float ff_on2avc_ctab_3[2048]; | ||||
| extern const float ff_on2avc_ctab_4[2048]; | ||||
|  | ||||
| #endif /* AVCODEC_ON2AVC_DATA_H */ | ||||
| #endif /* AVCODEC_ON2AVCDATA_H */ | ||||
|   | ||||
| @@ -19,8 +19,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_TSCC2_DATA_H | ||||
| #define AVCODEC_TSCC2_DATA_H | ||||
| #ifndef AVCODEC_TSCC2DATA_H | ||||
| #define AVCODEC_TSCC2DATA_H | ||||
|  | ||||
| #include <stdint.h> | ||||
|  | ||||
| @@ -932,4 +932,4 @@ static const uint8_t *tscc2_ac_vlc_bits[NUM_VLC_SETS] = { | ||||
|     ac_vlc_descC_bits, | ||||
| }; | ||||
|  | ||||
| #endif /* AVCODEC_TSCC2_DATA_H */ | ||||
| #endif /* AVCODEC_TSCC2DATA_H */ | ||||
|   | ||||
| @@ -24,8 +24,8 @@ | ||||
|  * Determines the duration for each packet. | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_VORBIS_PARSE_H | ||||
| #define AVCODEC_VORBIS_PARSE_H | ||||
| #ifndef AVCODEC_VORBIS_PARSER_H | ||||
| #define AVCODEC_VORBIS_PARSER_H | ||||
|  | ||||
| #include <stdint.h> | ||||
|  | ||||
| @@ -75,4 +75,4 @@ int av_vorbis_parse_frame(AVVorbisParseContext *s, const uint8_t *buf, | ||||
|  | ||||
| void av_vorbis_parse_reset(AVVorbisParseContext *s); | ||||
|  | ||||
| #endif /* AVCODEC_VORBIS_PARSE_H */ | ||||
| #endif /* AVCODEC_VORBIS_PARSER_H */ | ||||
|   | ||||
| @@ -25,8 +25,8 @@ | ||||
|  * Determines the duration for each packet. | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_VORBIS_PARSER_H | ||||
| #define AVCODEC_VORBIS_PARSER_H | ||||
| #ifndef AVCODEC_VORBIS_PARSER_INTERNAL_H | ||||
| #define AVCODEC_VORBIS_PARSER_INTERNAL_H | ||||
|  | ||||
| #include "avcodec.h" | ||||
| #include "vorbis_parser.h" | ||||
| @@ -43,4 +43,4 @@ struct AVVorbisParseContext { | ||||
|     int prev_mask;              ///< bitmask used to get the previous mode flag in each packet | ||||
| }; | ||||
|  | ||||
| #endif /* AVCODEC_VORBIS_PARSER_H */ | ||||
| #endif /* AVCODEC_VORBIS_PARSER_INTERNAL_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVCODEC_X86_DIRACDSP_H | ||||
| #define AVCODEC_X86_DIRACDSP_H | ||||
| #ifndef AVCODEC_X86_DIRACDSP_MMX_H | ||||
| #define AVCODEC_X86_DIRACDSP_MMX_H | ||||
|  | ||||
| #include "libavcodec/diracdsp.h" | ||||
|  | ||||
|   | ||||
| @@ -19,8 +19,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVDEVICE_DSHOW_H | ||||
| #define AVDEVICE_DSHOW_H | ||||
| #ifndef AVDEVICE_DSHOW_CAPTURE_H | ||||
| #define AVDEVICE_DSHOW_CAPTURE_H | ||||
|  | ||||
| #define DSHOWDEBUG 0 | ||||
|  | ||||
| @@ -349,4 +349,4 @@ HRESULT dshow_try_setup_crossbar_options(ICaptureGraphBuilder2 *graph_builder2, | ||||
|  | ||||
| void dshow_show_filter_properties(IBaseFilter *pFilter, AVFormatContext *avctx); | ||||
|  | ||||
| #endif /* AVDEVICE_DSHOW_H */ | ||||
| #endif /* AVDEVICE_DSHOW_CAPTURE_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVDEVICE_OPENGL_SHADERS_H | ||||
| #define AVDEVICE_OPENGL_SHADERS_H | ||||
| #ifndef AVDEVICE_OPENGL_ENC_SHADERS_H | ||||
| #define AVDEVICE_OPENGL_ENC_SHADERS_H | ||||
|  | ||||
| #include "libavutil/pixfmt.h" | ||||
|  | ||||
| @@ -185,4 +185,4 @@ static const char * const FF_OPENGL_FRAGMENT_SHADER_GRAY = | ||||
|         "gl_FragColor = vec4(c, c, c, 1.0);" | ||||
|     "}"; | ||||
|  | ||||
| #endif /* AVDEVICE_OPENGL_SHADERS_H */ | ||||
| #endif /* AVDEVICE_OPENGL_ENC_SHADERS_H */ | ||||
|   | ||||
| @@ -21,8 +21,8 @@ | ||||
|  * audio volume filter | ||||
|  */ | ||||
|  | ||||
| #ifndef AVFILTER_AF_VOLUME_H | ||||
| #define AVFILTER_AF_VOLUME_H | ||||
| #ifndef AVFILTER_VOLUME_H | ||||
| #define AVFILTER_VOLUME_H | ||||
|  | ||||
| #include "libavutil/common.h" | ||||
| #include "libavutil/eval.h" | ||||
| @@ -90,4 +90,4 @@ typedef struct VolumeContext { | ||||
|  | ||||
| void ff_volume_init_x86(VolumeContext *vol); | ||||
|  | ||||
| #endif /* AVFILTER_AF_VOLUME_H */ | ||||
| #endif /* AVFILTER_VOLUME_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVFILTER_AVF_SHOWCQT_H | ||||
| #define AVFILTER_AVF_SHOWCQT_H | ||||
| #ifndef AVFILTER_SHOWCQT_H | ||||
| #define AVFILTER_SHOWCQT_H | ||||
|  | ||||
| #include "libavcodec/avfft.h" | ||||
| #include "avfilter.h" | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVUTIL_FRAME_POOL_H | ||||
| #define AVUTIL_FRAME_POOL_H | ||||
| #ifndef AVFILTER_FRAMEPOOL_H | ||||
| #define AVFILTER_FRAMEPOOL_H | ||||
|  | ||||
| #include "libavutil/buffer.h" | ||||
| #include "libavutil/frame.h" | ||||
| @@ -81,4 +81,4 @@ int ff_video_frame_pool_get_config(FFVideoFramePool *pool, | ||||
| AVFrame *ff_video_frame_pool_get(FFVideoFramePool *pool); | ||||
|  | ||||
|  | ||||
| #endif /* AVUTIL_FRAME_POOL_H */ | ||||
| #endif /* AVFILTER_FRAMEPOOL_H */ | ||||
|   | ||||
| @@ -18,12 +18,12 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef AVFILTER_OPENCL_ALLKERNEL_H | ||||
| #define AVFILTER_OPENCL_ALLKERNEL_H | ||||
| #ifndef AVFILTER_OPENCL_ALLKERNELS_H | ||||
| #define AVFILTER_OPENCL_ALLKERNELS_H | ||||
|  | ||||
| #include "avfilter.h" | ||||
| #include "config.h" | ||||
|  | ||||
| void ff_opencl_register_filter_kernel_code_all(void); | ||||
|  | ||||
| #endif /* AVFILTER_OPENCL_ALLKERNEL_H */ | ||||
| #endif /* AVFILTER_OPENCL_ALLKERNELS_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef LIBAVFILTER_PSNR_H | ||||
| #define LIBAVFILTER_PSNR_H | ||||
| #ifndef AVFILTER_PSNR_H | ||||
| #define AVFILTER_PSNR_H | ||||
|  | ||||
| #include <stddef.h> | ||||
| #include <stdint.h> | ||||
| @@ -30,4 +30,4 @@ typedef struct PSNRDSPContext { | ||||
|  | ||||
| void ff_psnr_init_x86(PSNRDSPContext *dsp, int bpp); | ||||
|  | ||||
| #endif /* LIBAVFILTER_PSNR_H */ | ||||
| #endif /* AVFILTER_PSNR_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef LIBAVFILTER_SSIM_H | ||||
| #define LIBAVFILTER_SSIM_H | ||||
| #ifndef AVFILTER_SSIM_H | ||||
| #define AVFILTER_SSIM_H | ||||
|  | ||||
| #include <stddef.h> | ||||
| #include <stdint.h> | ||||
| @@ -33,4 +33,4 @@ typedef struct SSIMDSPContext { | ||||
|  | ||||
| void ff_ssim_init_x86(SSIMDSPContext *dsp); | ||||
|  | ||||
| #endif /* LIBAVFILTER_SSIM_H */ | ||||
| #endif /* AVFILTER_SSIM_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef LIBAVFILTER_STEREO3D_H | ||||
| #define LIBAVFILTER_STEREO3D_H | ||||
| #ifndef AVFILTER_STEREO3D_H | ||||
| #define AVFILTER_STEREO3D_H | ||||
|  | ||||
| #include <stddef.h> | ||||
| #include <stdint.h> | ||||
| @@ -33,4 +33,4 @@ typedef struct Stereo3DDSPContext { | ||||
|  | ||||
| void ff_stereo3d_init_x86(Stereo3DDSPContext *dsp); | ||||
|  | ||||
| #endif /* LIBAVFILTER_STEREO3D_H */ | ||||
| #endif /* AVFILTER_STEREO3D_H */ | ||||
|   | ||||
| @@ -20,8 +20,8 @@ | ||||
|  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||||
|  */ | ||||
|  | ||||
| #ifndef AVFILTER_VF_HQDN3D_H | ||||
| #define AVFILTER_VF_HQDN3D_H | ||||
| #ifndef AVFILTER_HQDN3D_H | ||||
| #define AVFILTER_HQDN3D_H | ||||
|  | ||||
| #include <stddef.h> | ||||
| #include <stdint.h> | ||||
| @@ -46,4 +46,4 @@ typedef struct HQDN3DContext { | ||||
|  | ||||
| void ff_hqdn3d_init_x86(HQDN3DContext *hqdn3d); | ||||
|  | ||||
| #endif /* AVFILTER_VF_HQDN3D_H */ | ||||
| #endif /* AVFILTER_HQDN3D_H */ | ||||
|   | ||||
| @@ -50,8 +50,8 @@ | ||||
|  * MIPS optimization for some libm functions | ||||
|  */ | ||||
|  | ||||
| #ifndef AVUTIL_LIBM_MIPS_H | ||||
| #define AVUTIL_LIBM_MIPS_H | ||||
| #ifndef AVUTIL_MIPS_LIBM_MIPS_H | ||||
| #define AVUTIL_MIPS_LIBM_MIPS_H | ||||
|  | ||||
| static av_always_inline av_const long int lrintf_mips(float x) | ||||
| { | ||||
| @@ -70,4 +70,4 @@ static av_always_inline av_const long int lrintf_mips(float x) | ||||
| #define lrintf(x)   lrintf_mips(x) | ||||
|  | ||||
| #define HAVE_LRINTF 1 | ||||
| #endif /* AVUTIL_LIBM_MIPS_H */ | ||||
| #endif /* AVUTIL_MIPS_LIBM_MIPS_H */ | ||||
|   | ||||
| @@ -29,8 +29,8 @@ | ||||
|  * change without prior notice. | ||||
|  */ | ||||
|  | ||||
| #ifndef LIBAVUTIL_OPENCL_H | ||||
| #define LIBAVUTIL_OPENCL_H | ||||
| #ifndef AVUTIL_OPENCL_H | ||||
| #define AVUTIL_OPENCL_H | ||||
|  | ||||
| #define CL_USE_DEPRECATED_OPENCL_1_2_APIS 1 | ||||
| #ifdef __APPLE__ | ||||
| @@ -289,4 +289,4 @@ void av_opencl_uninit(void); | ||||
| int64_t av_opencl_benchmark(AVOpenCLDeviceNode *device, cl_platform_id platform, | ||||
|                             int64_t (*benchmark)(AVOpenCLExternalEnv *ext_opencl_env)); | ||||
|  | ||||
| #endif /* LIBAVUTIL_OPENCL_H */ | ||||
| #endif /* AVUTIL_OPENCL_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef POSTPROC_POSTPROCESS_VERSION_H | ||||
| #define POSTPROC_POSTPROCESS_VERSION_H | ||||
| #ifndef POSTPROC_VERSION_H | ||||
| #define POSTPROC_VERSION_H | ||||
|  | ||||
| /** | ||||
|  * @file | ||||
| @@ -46,4 +46,4 @@ | ||||
| #define FF_API_QP_TYPE     (LIBPOSTPROC_VERSION_MAJOR < 55) | ||||
| #endif | ||||
|  | ||||
| #endif /* POSTPROC_POSTPROCESS_VERSION_H */ | ||||
| #endif /* POSTPROC_VERSION_H */ | ||||
|   | ||||
| @@ -20,8 +20,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef SWR_AUDIOCONVERT_H | ||||
| #define SWR_AUDIOCONVERT_H | ||||
| #ifndef SWRESAMPLE_AUDIOCONVERT_H | ||||
| #define SWRESAMPLE_AUDIOCONVERT_H | ||||
|  | ||||
| /** | ||||
|  * @file | ||||
| @@ -75,4 +75,4 @@ void swri_audio_convert_free(AudioConvert **ctx); | ||||
|  */ | ||||
| int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len); | ||||
|  | ||||
| #endif /* AUDIOCONVERT_H */ | ||||
| #endif /* SWRESAMPLE_AUDIOCONVERT_H */ | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef SWR_INTERNAL_H | ||||
| #define SWR_INTERNAL_H | ||||
| #ifndef SWRESAMPLE_SWRESAMPLE_INTERNAL_H | ||||
| #define SWRESAMPLE_SWRESAMPLE_INTERNAL_H | ||||
|  | ||||
| #include "swresample.h" | ||||
| #include "libavutil/channel_layout.h" | ||||
|   | ||||
| @@ -18,8 +18,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #ifndef SWR_VERSION_H | ||||
| #define SWR_VERSION_H | ||||
| #ifndef SWRESAMPLE_VERSION_H | ||||
| #define SWRESAMPLE_VERSION_H | ||||
|  | ||||
| /** | ||||
|  * @file | ||||
| @@ -42,4 +42,4 @@ | ||||
|  | ||||
| #define LIBSWRESAMPLE_IDENT        "SwR" AV_STRINGIFY(LIBSWRESAMPLE_VERSION) | ||||
|  | ||||
| #endif /* SWR_VERSION_H */ | ||||
| #endif /* SWRESAMPLE_VERSION_H */ | ||||
|   | ||||
| @@ -20,8 +20,8 @@ | ||||
|  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||||
|  */ | ||||
|  | ||||
| #ifndef CHECKASM_H | ||||
| #define CHECKASM_H | ||||
| #ifndef TESTS_CHECKASM_CHECKASM_H | ||||
| #define TESTS_CHECKASM_CHECKASM_H | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include "config.h" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user