* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef CMDUTILS_H
-#define CMDUTILS_H
+#ifndef FFMPEG_CMDUTILS_H
+#define FFMPEG_CMDUTILS_H
typedef struct {
const char *name;
*/
void show_license(void);
-#endif /* CMDUTILS_H */
+#endif /* FFMPEG_CMDUTILS_H */
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef FFSERVER_H
-#define FFSERVER_H
+#ifndef FFMPEG_FFSERVER_H
+#define FFMPEG_FFSERVER_H
/* interface between ffserver and modules */
void ffserver_module_init(void);
-#endif
+#endif /* FFMPEG_FFSERVER_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AAC_AC3_PARSER_H
-#define AAC_AC3_PARSER_H
+#ifndef FFMPEG_AAC_AC3_PARSER_H
+#define FFMPEG_AAC_AC3_PARSER_H
#include <stdint.h>
#include "avcodec.h"
const uint8_t **poutbuf, int *poutbuf_size,
const uint8_t *buf, int buf_size);
-#endif /* AAC_AC3_PARSER_H */
+#endif /* FFMPEG_AAC_AC3_PARSER_H */
* Common code between AC3 encoder and decoder.
*/
-#ifndef AC3_H
-#define AC3_H
+#ifndef FFMPEG_AC3_H
+#define FFMPEG_AC3_H
#include "ac3tab.h"
int deltbae,int deltnseg,
uint8_t *deltoffst, uint8_t *deltlen, uint8_t *deltba);
-#endif /* AC3_H */
+#endif /* FFMPEG_AC3_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AC3_PARSER_H
-#define AC3_PARSER_H
+#ifndef FFMPEG_AC3_PARSER_H
+#define FFMPEG_AC3_PARSER_H
#include "ac3.h"
*/
int ff_ac3_parse_header(const uint8_t buf[7], AC3HeaderInfo *hdr);
-#endif /* AC3_PARSER_H */
+#endif /* FFMPEG_AC3_PARSER_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AC3TAB_H
-#define AC3TAB_H
+#ifndef FFMPEG_AC3TAB_H
+#define FFMPEG_AC3TAB_H
#include "common.h"
extern const uint16_t ff_fgaintab[8];
extern const uint8_t ff_ac3_bndsz[50];
-#endif /* AC3TAB_H */
+#endif /* FFMPEG_AC3TAB_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef LIBAVCODEC_ALPHA_ASM_H
-#define LIBAVCODEC_ALPHA_ASM_H
+#ifndef FFMPEG_ASM_H
+#define FFMPEG_ASM_H
#include <inttypes.h>
#error "Unknown compiler!"
#endif
-#endif /* LIBAVCODEC_ALPHA_ASM_H */
+#endif /* FFMPEG_ASM_H */
*/
/* Some BSDs don't seem to have regdef.h... sigh */
-#ifndef alpha_regdef_h
-#define alpha_regdef_h
+#ifndef FFMPEG_REGDEF_H
+#define FFMPEG_REGDEF_H
#define v0 $0 /* function return value */
#define sp $30 /* stack pointer */
#define zero $31 /* reads as zero, writes are noops */
-#endif /* alpha_regdef_h */
+#endif /* FFMPEG_REGDEF_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_ARM_MATHOPS_H
-#define AVCODEC_ARM_MATHOPS_H
+#ifndef FFMPEG_ARMV4L_MATHOPS_H
+#define FFMPEG_ARMV4L_MATHOPS_H
#ifdef FRAC_BITS
# define MULL(a, b) \
#endif
-#endif // AVCODEC_ARM_MATHOPS_H
+#endif /* FFMPEG_ARMV4L_MATHOPS_H */
* Atrac 3 AKA RealAudio 8 compatible decoder data
*/
-#ifndef AVCODEC_ATRAC3DATA_H
-#define AVCODEC_ATRAC3DATA_H
+#ifndef FFMPEG_ATRAC3DATA_H
+#define FFMPEG_ATRAC3DATA_H
#include <stdint.h>
/* joint stereo related tables */
static const float matrixCoeffs[8] = {0.0, 2.0, 2.0, 2.0, 0.0, 0.0, 1.0, 1.0};
-#endif // AVCODEC_ATRAC3DATA_H
+#endif /* FFMPEG_ATRAC3DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_H
-#define AVCODEC_H
+#ifndef FFMPEG_AVCODEC_H
+#define FFMPEG_AVCODEC_H
/**
* @file avcodec.h
#define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */
#define AVERROR_PATCHWELCOME -MKTAG('P','A','W','E') /**< Not yet implemented in FFmpeg. Patches welcome. */
-#endif /* AVCODEC_H */
+#endif /* FFMPEG_AVCODEC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_BETHSOFTVIDEO_H
-#define AVCODEC_BETHSOFTVIDEO_H
+#ifndef FFMPEG_BETHSOFTVIDEO_H
+#define FFMPEG_BETHSOFTVIDEO_H
enum BethsoftVidBlockType
{
EOF_BLOCK = 0x14,
};
-#endif // AVCODEC_BETHSOFTVIDEO_H
+#endif /* FFMPEG_BETHSOFTVIDEO_H */
*/
-#ifndef DSPUTIL_BFIN_H
-#define DSPUTIL_BFIN_H
+#ifndef FFMPEG_DSPUTIL_BFIN_H
+#define FFMPEG_DSPUTIL_BFIN_H
#define attribute_l1_text __attribute__ ((l1_text))
#define bfprof()
#endif
-#endif
+#endif /* FFMPEG_DSPUTIL_BFIN_H */
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_BFIN_MATHOPS_H
-#define AVCODEC_BFIN_MATHOPS_H
+#ifndef FFMPEG_BFIN_MATHOPS_H
+#define FFMPEG_BFIN_MATHOPS_H
#ifdef CONFIG_MPEGAUDIO_HP
#define MULH(X,Y) ({ int xxo; \
: "=W" (xxo) : "d" (a), "d" (b) : "A1"); \
xxo; })
-#endif /* AVCODEC_BFIN_MATHOPS_H */
+#endif /* FFMPEG_BFIN_MATHOPS_H */
* bitstream api header.
*/
-#ifndef BITSTREAM_H
-#define BITSTREAM_H
+#ifndef FFMPEG_BITSTREAM_H
+#define FFMPEG_BITSTREAM_H
#include <stdint.h>
#include <stdlib.h>
return get_bits1(gb) + 1;
}
-#endif /* BITSTREAM_H */
+#endif /* FFMPEG_BITSTREAM_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_BMP_H
-#define AVCODEC_BMP_H
+#ifndef FFMPEG_BMP_H
+#define FFMPEG_BMP_H
#include "avcodec.h"
BMP_BITFIELDS =3,
} BiCompression;
-#endif // AVCODEC_BMP_H
+#endif /* FFMPEG_BMP_H */
* Context Adaptive Binary Arithmetic Coder.
*/
-#ifndef CABAC_H
-#define CABAC_H
+#ifndef FFMPEG_CABAC_H
+#define FFMPEG_CABAC_H
#include "bitstream.h"
}
#endif /* 0 */
-#endif /* CABAC_H */
+#endif /* FFMPEG_CABAC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef CAVS_H
-#define CAVS_H
+#ifndef FFMPEG_CAVS_H
+#define FFMPEG_CAVS_H
#include "dsputil.h"
#include "mpegvideo.h"
int ff_cavs_init(AVCodecContext *avctx);
int ff_cavs_end (AVCodecContext *avctx);
-#endif /* CAVS_H */
+#endif /* FFMPEG_CAVS_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_CAVSDATA_H
-#define AVCODEC_CAVSDATA_H
+#ifndef FFMPEG_CAVSDATA_H
+#define FFMPEG_CAVSDATA_H
#include "cavs.h"
const int_fast8_t ff_left_modifier_c[7] = { 5,-1, 2,-1, 6, 5, 6};
const int_fast8_t ff_top_modifier_c[7] = { 4, 1,-1,-1, 4, 6, 6};
-#endif // AVCODEC_CAVSDATA_H
+#endif /* FFMPEG_CAVSDATA_H */
* Cook AKA RealAudio G2 compatible decoderdata
*/
-#ifndef AVCODEC_COOKDATA_H
-#define AVCODEC_COOKDATA_H
+#ifndef FFMPEG_COOKDATA_H
+#define FFMPEG_COOKDATA_H
#include <stdint.h>
cplscale2, cplscale3, cplscale4, cplscale5, cplscale6,
};
-#endif // AVCODEC_COOKDATA_H
+#endif /* FFMPEG_COOKDATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_DCA_H
-#define AVCODEC_DCA_H
+#ifndef FFMPEG_DCA_H
+#define FFMPEG_DCA_H
/** DCA syncwords, also used for bitstream type detection */
#define DCA_MARKER_RAW_BE 0x7FFE8001
#define DCA_MARKER_14B_BE 0x1FFFE800
#define DCA_MARKER_14B_LE 0xFF1F00E8
-#endif // AVCODEC_DCA_H
+#endif /* FFMPEG_DCA_H */
* @file dcadata.c
*/
-#ifndef AVCODEC_DCADATA_H
-#define AVCODEC_DCADATA_H
+#ifndef FFMPEG_DCADATA_H
+#define FFMPEG_DCADATA_H
#include <stdint.h>
*/
-#endif // AVCODEC_DCADATA_H
+#endif /* FFMPEG_DCADATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_DCAHUFF_H
-#define AVCODEC_DCAHUFF_H
+#ifndef FFMPEG_DCAHUFF_H
+#define FFMPEG_DCAHUFF_H
#include <stdint.h>
#include <stdlib.h>
bitalloc_129_bits_e, bitalloc_129_bits_f, bitalloc_129_bits_g, NULL }
};
-#endif // AVCODEC_DCAHUFF_H
+#endif /* FFMPEG_DCAHUFF_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_DNXHDDATA_H
-#define AVCODEC_DNXHDDATA_H
+#ifndef FFMPEG_DNXHDDATA_H
+#define FFMPEG_DNXHDDATA_H
#include <stdint.h>
int ff_dnxhd_get_cid_table(int cid);
-#endif // AVCODEC_DNXHDDATA_H
+#endif /* FFMPEG_DNXHDDATA_H */
* absolutely necessary to call emms_c() between dsp & float/double code
*/
-#ifndef DSPUTIL_H
-#define DSPUTIL_H
+#ifndef FFMPEG_DSPUTIL_H
+#define FFMPEG_DSPUTIL_H
#include "avcodec.h"
}
}
-#endif
+#endif /* FFMPEG_DSPUTIL_H */
* Constants for DV codec.
*/
-#ifndef AVCODEC_DVDATA_H
-#define AVCODEC_DVDATA_H
+#ifndef FFMPEG_DVDATA_H
+#define FFMPEG_DVDATA_H
#include "avcodec.h"
#include "rational.h"
return 3;
}
-#endif // AVCODEC_DVDATA_H
+#endif /* FFMPEG_DVDATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_ELBG_H
-#define AVCODEC_ELBG_H
+#ifndef FFMPEG_ELBG_H
+#define FFMPEG_ELBG_H
#include "random.h"
int numCB, int num_steps, int *closest_cb,
AVRandomState *rand_state);
-#endif // AVCODEC_ELBG_H
+#endif /* FFMPEG_ELBG_H */
* eval header.
*/
-#ifndef AVCODEC_EVAL_H
-#define AVCODEC_EVAL_H
+#ifndef FFMPEG_EVAL_H
+#define FFMPEG_EVAL_H
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
/**
double ff_parse_eval(AVEvalExpr * e, double *const_value, void *opaque);
void ff_eval_free(AVEvalExpr * e);
-#endif /* AVCODEC_EVAL_H */
+#endif /* FFMPEG_EVAL_H */
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef AVCODEC_FAANDCT_H
-#define AVCODEC_FAANDCT_H
+#ifndef FFMPEG_FAANDCT_H
+#define FFMPEG_FAANDCT_H
#include "dsputil.h"
void ff_faandct(DCTELEM * data);
void ff_faandct248(DCTELEM * data);
-#endif // AVCODEC_FAANDCT_H
+#endif /* FFMPEG_FAANDCT_H */
* @author Michael Niedermayer <michaelni@gmx.at> and Alex Beregszaszi
*/
-#ifndef AVCODEC_GOLOMB_H
-#define AVCODEC_GOLOMB_H
+#ifndef FFMPEG_GOLOMB_H
+#define FFMPEG_GOLOMB_H
#include <stdint.h>
#include "bitstream.h"
set_ur_golomb_jpegls(pb, v, k, limit, esc_len);
}
-#endif // AVCODEC_GOLOMB_H
+#endif /* FFMPEG_GOLOMB_H */
* h261codec.
*/
-#ifndef AVCODEC_H261_H
-#define AVCODEC_H261_H
+#ifndef FFMPEG_H261_H
+#define FFMPEG_H261_H
#include "mpegvideo.h"
#define MB_TYPE_H261_FIL 0x800000
-#endif /* AVCODEC_H261_H */
+#endif /* FFMPEG_H261_H */
* H.261 tables.
*/
-#ifndef AVCODEC_H261DATA_H
-#define AVCODEC_H261DATA_H
+#ifndef FFMPEG_H261DATA_H
+#define FFMPEG_H261DATA_H
#include <stdint.h>
#include "h261.h"
h261_tcoeff_level,
};
-#endif // AVCODEC_H261DATA_H
+#endif /* FFMPEG_H261DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_H263_H
-#define AVCODEC_H263_H
+#ifndef FFMPEG_H263_H
+#define FFMPEG_H263_H
#include "config.h"
#include "msmpeg4.h"
ENABLE_WMV_ENCODER)
#define ENABLE_ANY_H263 (ENABLE_ANY_H263_DECODER || ENABLE_ANY_H263_ENCODER)
-#endif /* AVCODEC_H263_H */
+#endif /* FFMPEG_H263_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_H263_PARSER_H
-#define AVCODEC_H263_PARSER_H
+#ifndef FFMPEG_H263_PARSER_H
+#define FFMPEG_H263_PARSER_H
#include "parser.h"
int ff_h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size);
-#endif // AVCODEC_H263_PARSER_H
+#endif /* FFMPEG_H263_PARSER_H */
* H.263 tables.
*/
-#ifndef AVCODEC_H263DATA_H
-#define AVCODEC_H263DATA_H
+#ifndef FFMPEG_H263DATA_H
+#define FFMPEG_H263DATA_H
#include <stdint.h>
#include "mpegvideo.h"
0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9,10,10,10,11,11,11,12,12,12
};
-#endif // AVCODEC_H263DATA_H
+#endif /* FFMPEG_H263DATA_H */
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef H264_H
-#define H264_H
+#ifndef FFMPEG_H264_H
+#define FFMPEG_H264_H
#include "dsputil.h"
#include "cabac.h"
}H264Context;
-#endif /* H264_H */
+#endif /* FFMPEG_H264_H */
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef H264_PARSER_H
-#define H264_PARSER_H
+#ifndef FFMPEG_H264_PARSER_H
+#define FFMPEG_H264_PARSER_H
#include "h264.h"
*/
int ff_h264_find_frame_end(H264Context *h, const uint8_t *buf, int buf_size);
-#endif /* H264_PARSER_H */
+#endif /* FFMPEG_H264_PARSER_H */
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef AVCODEC_H264DATA_H
-#define AVCODEC_H264DATA_H
+#ifndef FFMPEG_H264DATA_H
+#define FFMPEG_H264DATA_H
#include <stdint.h>
#include "mpegvideo.h"
}
};
-#endif // AVCODEC_H264DATA_H
+#endif /* FFMPEG_H264DATA_H */
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef H264PRED_H
-#define H264PRED_H
+#ifndef FFMPEG_H264PRED_H
+#define FFMPEG_H264PRED_H
#include "common.h"
void ff_h264_pred_init(H264PredContext *h, int codec_id);
-#endif /* H264PRED_H */
+#endif /* FFMPEG_H264PRED_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_HUFFMAN_H
-#define AVCODEC_HUFFMAN_H
+#ifndef FFMPEG_HUFFMAN_H
+#define FFMPEG_HUFFMAN_H
#include "avcodec.h"
int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,
Node *nodes, huff_cmp_t cmp, int hnode_first);
-#endif /* AVCODEC_HUFFMAN_H */
+#endif /* FFMPEG_HUFFMAN_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_X86_MATHOPS_H
-#define AVCODEC_X86_MATHOPS_H
+#ifndef FFMPEG_I386_MATHOPS_H
+#define FFMPEG_I386_MATHOPS_H
#ifdef FRAC_BITS
# define MULL(ra, rb) \
asm ("imull %2\n\t" : "=A"(rt) : "a" (ra), "g" (rb));\
rt; })
-#endif // AVCODEC_X86_MATHOPS_H
+#endif /* FFMPEG_I386_MATHOPS_H */
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_I386MMX_H
-#define AVCODEC_I386MMX_H
+#ifndef FFMPEG_MMX_H
+#define FFMPEG_MMX_H
/*
* The type of an value that fits in an MMX register (note that long
#define punpckhqdq_r2r(regs,regd) mmx_r2r (punpckhqdq, regs, regd)
-#endif /* AVCODEC_I386MMX_H */
+#endif /* FFMPEG_MMX_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef VP3DSP_MMX_H
-#define VP3DSP_MMX_H
+#ifndef FFMPEG_VP3DSP_MMX_H
+#define FFMPEG_VP3DSP_MMX_H
#include "dsputil.h"
void ff_vp3_idct_add_mmx(uint8_t *dest, int line_size, DCTELEM *block);
void ff_vp3_dsp_init_mmx(void);
-#endif /* VP3DSP_MMX_H */
+#endif /* FFMPEG_VP3DSP_MMX_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef VP3DSP_SSE2_H
-#define VP3DSP_SSE2_H
+#ifndef FFMPEG_VP3DSP_SSE2_H
+#define FFMPEG_VP3DSP_SSE2_H
#include "dsputil.h"
void ff_vp3_idct_put_sse2(uint8_t *dest, int line_size, DCTELEM *block);
void ff_vp3_idct_add_sse2(uint8_t *dest, int line_size, DCTELEM *block);
-#endif /* VP3DSP_SSE2_H */
+#endif /* FFMPEG_VP3DSP_SSE2_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_IMCDATA_H
-#define AVCODEC_IMCDATA_H
+#ifndef FFMPEG_IMCDATA_H
+#define FFMPEG_IMCDATA_H
#include <stdint.h>
}
};
-#endif // AVCODEC_IMCDATA_H
+#endif /* FFMPEG_IMCDATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_INDEO2DATA_H
-#define AVCODEC_INDEO2DATA_H
+#ifndef FFMPEG_INDEO2DATA_H
+#define FFMPEG_INDEO2DATA_H
#include <stdint.h>
0x3F, 0x94, 0xD9, 0xD9, 0x27, 0x27, 0x80, 0x80
};
-#endif // AVCODEC_INDEO2DATA_H
+#endif /* FFMPEG_INDEO2DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_INDEO3DATA_H
-#define AVCODEC_INDEO3DATA_H
+#ifndef FFMPEG_INDEO3DATA_H
+#define FFMPEG_INDEO3DATA_H
#include <stdint.h>
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
};
-#endif // AVCODEC_INDEO3DATA_H
+#endif /* FFMPEG_INDEO3DATA_H */
* JPEG-LS common code.
*/
-#ifndef JPEGLS_H
-#define JPEGLS_H
+#ifndef FFMPEG_JPEGLS_H
+#define FFMPEG_JPEGLS_H
#include "avcodec.h"
#define R(a, i ) (bits == 8 ? ((uint8_t*)(a))[i] : ((uint16_t*)(a))[i] )
#define W(a, i, v) (bits == 8 ? (((uint8_t*)(a))[i]=v) : (((uint16_t*)(a))[i]=v))
-#endif /* JPEGLS_H */
+#endif /* FFMPEG_JPEGLS_H */
* JPEG-LS decoder.
*/
-#ifndef JPEGLSDEC_H
-#define JPEGLSDEC_H
+#ifndef FFMPEG_JPEGLSDEC_H
+#define FFMPEG_JPEGLSDEC_H
#include "mjpeg.h"
#include "mjpegdec.h"
int ff_jpegls_decode_picture(MJpegDecodeContext *s, int near, int point_transform, int ilv);
-#endif /* JPEGLSDEC_H */
+#endif /* FFMPEG_JPEGLSDEC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_LCL_H
-#define AVCODEC_LCL_H
+#ifndef FFMPEG_LCL_H
+#define FFMPEG_LCL_H
#define BMPTYPE_YUV 1
#define BMPTYPE_RGB 2
#define CODEC_MSZH 1
#define CODEC_ZLIB 3
-#endif /* AVCODEC_LCL_H */
+#endif /* FFMPEG_LCL_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef LIBXVID_INTERNAL_H
-#define LIBXVID_INTERNAL_H
+#ifndef FFMPEG_LIBXVID_INTERNAL_H
+#define FFMPEG_LIBXVID_INTERNAL_H
/**
* @file libxvid_internal.h
int av_tempfile(char *prefix, char **filename);
-#endif /* LIBXVID_INTERNAL_H */
+#endif /* FFMPEG_LIBXVID_INTERNAL_H */
* Modified for use in TIFF by Konstantin Shishkov
*/
-#ifndef LZW_H
-#define LZW_H
+#ifndef FFMPEG_LZW_H
+#define FFMPEG_LZW_H
#include "bitstream.h"
int ff_lzw_encode(struct LZWEncodeState * s, const uint8_t * inbuf, int insize);
int ff_lzw_encode_flush(struct LZWEncodeState * s);
-#endif
+#endif /* FFMPEG_LZW_H */
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MATHOPS_H
-#define MATHOPS_H
+#ifndef FFMPEG_MATHOPS_H
+#define FFMPEG_MATHOPS_H
#include "common.h"
# define MUL16(ra, rb) ((ra) * (rb))
#endif
-#endif //MATHOPS_H
+#endif /* FFMPEG_MATHOPS_H */
* MJPEG encoder and decoder.
*/
-#ifndef MJPEG_H
-#define MJPEG_H
+#ifndef FFMPEG_MJPEG_H
+#define FFMPEG_MJPEG_H
#include "avcodec.h"
#include "bitstream.h"
const uint8_t *bits_table,
const uint8_t *val_table);
-#endif /* MJPEG_H */
+#endif /* FFMPEG_MJPEG_H */
* MJPEG decoder.
*/
-#ifndef MJPEGDEC_H
-#define MJPEGDEC_H
+#ifndef FFMPEG_MJPEGDEC_H
+#define FFMPEG_MJPEGDEC_H
#include "avcodec.h"
#include "bitstream.h"
int ff_mjpeg_decode_sof(MJpegDecodeContext *s);
int ff_mjpeg_decode_sos(MJpegDecodeContext *s);
-#endif /* MJPEGDEC_H */
+#endif /* FFMPEG_MJPEGDEC_H */
* MJPEG encoder.
*/
-#ifndef MJPEGENC_H
-#define MJPEGENC_H
+#ifndef FFMPEG_MJPEGENC_H
+#define FFMPEG_MJPEGENC_H
#include "dsputil.h"
#include "mpegvideo.h"
uint8_t *huff_size, uint16_t *huff_code);
void ff_mjpeg_encode_mb(MpegEncContext *s, DCTELEM block[6][64]);
-#endif /* MJPEGENC_H */
+#endif /* FFMPEG_MJPEGENC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_MPCDATA_H
-#define AVCODEC_MPCDATA_H
+#ifndef FFMPEG_MPCDATA_H
+#define FFMPEG_MPCDATA_H
#include <stdint.h>
0.000000044293003043, 0.000000036895215771, 0.000000030733001921, 0.000000025599996789
};
-#endif // AVCODEC_MPCDATA_H
+#endif /* FFMPEG_MPCDATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_MPEG12_H
-#define AVCODEC_MPEG12_H
+#ifndef FFMPEG_MPEG12_H
+#define FFMPEG_MPEG12_H
#include "mpegvideo.h"
void ff_mpeg12_common_init(MpegEncContext *s);
-#endif /* AVCODEC_MPEG12_H */
+#endif /* FFMPEG_MPEG12_H */
* MPEG1/2 tables.
*/
-#ifndef AVCODEC_MPEG12DATA_H
-#define AVCODEC_MPEG12DATA_H
+#ifndef FFMPEG_MPEG12DATA_H
+#define FFMPEG_MPEG12DATA_H
#include <stdint.h>
#include "mpegvideo.h"
extern const float ff_mpeg1_aspect[16];
extern const AVRational ff_mpeg2_aspect[16];
-#endif // AVCODEC_MPEG12DATA_H
+#endif /* FFMPEG_MPEG12DATA_H */
* MPEG1/2 decoder tables.
*/
-#ifndef AVCODEC_MPEG12DECDATA_H
-#define AVCODEC_MPEG12DECDATA_H
+#ifndef FFMPEG_MPEG12DECDATA_H
+#define FFMPEG_MPEG12DECDATA_H
#include <stdint.h>
#include "mpegvideo.h"
mpeg2_dc_scale_table3,
};
-#endif // AVCODEC_MPEG12DECDATA_H
+#endif /* FFMPEG_MPEG12DECDATA_H */
* mpeg4 tables.
*/
-#ifndef AVCODEC_MPEG4DATA_H
-#define AVCODEC_MPEG4DATA_H
+#ifndef FFMPEG_MPEG4DATA_H
+#define FFMPEG_MPEG4DATA_H
#include <stdint.h>
#include "mpegvideo.h"
99, 13, 15, 17, 19, 21, 23, 0
};
-#endif // AVCODEC_MPEG4DATA_H
+#endif /* FFMPEG_MPEG4DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MPEG4VIDEO_PARSER_H
-#define MPEG4VIDEO_PARSER_H
+#ifndef FFMPEG_MPEG4VIDEO_PARSER_H
+#define FFMPEG_MPEG4VIDEO_PARSER_H
#include "parser.h"
*/
int ff_mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size);
-#endif /* MPEG4VIDEO_PARSER_H */
+#endif /* FFMPEG_MPEG4VIDEO_PARSER_H */
* mpeg audio declarations for both encoder and decoder.
*/
-#ifndef MPEGAUDIO_H
-#define MPEGAUDIO_H
+#ifndef FFMPEG_MPEGAUDIO_H
+#define FFMPEG_MPEGAUDIO_H
#include "avcodec.h"
#include "bitstream.h"
return 0;
}
-#endif /* MPEGAUDIO_H */
+#endif /* FFMPEG_MPEGAUDIO_H */
* mpeg audio layer common tables.
*/
-#ifndef MPEGAUDIODATA_H
-#define MPEGAUDIODATA_H
+#ifndef FFMPEG_MPEGAUDIODATA_H
+#define FFMPEG_MPEGAUDIODATA_H
#include "common.h"
extern const int ff_mpa_quant_bits[17];
extern const unsigned char *ff_mpa_alloc_tables[5];
-#endif /* MPEGAUDIODATA_H */
+#endif /* FFMPEG_MPEGAUDIODATA_H */
* MPEG Audio header decoder.
*/
-#ifndef MPEGAUDIODECHEADER_H
-#define MPEGAUDIODECHEADER_H
+#ifndef FFMPEG_MPEGAUDIODECHEADER_H
+#define FFMPEG_MPEGAUDIODECHEADER_H
#include "common.h"
#include "mpegaudio.h"
that the frame size must be computed externally */
int ff_mpegaudio_decode_header(MPADecodeContext *s, uint32_t header);
-#endif /* MPEGAUDIODECHEADER_H */
+#endif /* FFMPEG_MPEGAUDIODECHEADER_H */
* mpeg audio layer decoder tables.
*/
-#ifndef AVCODEC_MPEGAUDIODECTAB_H
-#define AVCODEC_MPEGAUDIODECTAB_H
+#ifndef FFMPEG_MPEGAUDIODECTAB_H
+#define FFMPEG_MPEGAUDIODECTAB_H
#include <stdint.h>
#include "mpegaudio.h"
-0.6, -0.535, -0.33, -0.185, -0.095, -0.041, -0.0142, -0.0037,
};
-#endif // AVCODEC_MPEGAUDIODECTAB_H
+#endif /* FFMPEG_MPEGAUDIODECTAB_H */
* Most of them come from the mpeg audio specification.
*/
-#ifndef AVCODEC_MPEGAUDIOTAB_H
-#define AVCODEC_MPEGAUDIOTAB_H
+#ifndef FFMPEG_MPEGAUDIOTAB_H
+#define FFMPEG_MPEGAUDIOTAB_H
#include <stdint.h>
#include "mpegaudio.h"
static const unsigned char nb_scale_factors[4] = { 3, 2, 1, 2 };
-#endif // AVCODEC_MPEGAUDIOTAB_H
+#endif /* FFMPEG_MPEGAUDIOTAB_H */
* mpegvideo header.
*/
-#ifndef AVCODEC_MPEGVIDEO_H
-#define AVCODEC_MPEGVIDEO_H
+#ifndef FFMPEG_MPEGVIDEO_H
+#define FFMPEG_MPEGVIDEO_H
#include "dsputil.h"
#include "bitstream.h"
DCTELEM block[6][64],
int motion_x, int motion_y);
-#endif /* AVCODEC_MPEGVIDEO_H */
+#endif /* FFMPEG_MPEGVIDEO_H */
* The simplest mpeg encoder (well, it was the simplest!).
*/
-#ifndef MPEGVIDEO_COMMON_H
-#define MPEGVIDEO_COMMON_H
+#ifndef FFMPEG_MPEGVIDEO_COMMON_H
+#define FFMPEG_MPEGVIDEO_COMMON_H
#include "avcodec.h"
#include "dsputil.h"
}
}
-#endif /* MPEGVIDEO_COMMON_H */
+#endif /* FFMPEG_MPEGVIDEO_COMMON_H */
* @file msmpeg4.h
*/
-#ifndef MSMPEG4_H
-#define MSMPEG4_H
+#ifndef FFMPEG_MSMPEG4_H
+#define FFMPEG_MSMPEG4_H
#include "config.h"
#define ENABLE_WMV_DECODER (ENABLE_WMV1_DECODER || ENABLE_WMV2_DECODER)
#define ENABLE_WMV_ENCODER (ENABLE_WMV1_ENCODER || ENABLE_WMV2_ENCODER)
-#endif /* MSMPEG4_H */
+#endif /* FFMPEG_MSMPEG4_H */
* MSMPEG4 data tables.
*/
-#ifndef MSMPEG4DATA_H
-#define MSMPEG4DATA_H
+#ifndef FFMPEG_MSMPEG4DATA_H
+#define FFMPEG_MSMPEG4DATA_H
#include "common.h"
#include "bitstream.h"
extern const uint8_t wmv2_scantableA[64];
extern const uint8_t wmv2_scantableB[64];
-#endif /* MSMPEG4DATA_H */
+#endif /* FFMPEG_MSMPEG4DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVOPT_H
-#define AVOPT_H
+#ifndef FFMPEG_OPT_H
+#define FFMPEG_OPT_H
/**
* @file opt.h
void av_opt_set_defaults(void *s);
void av_opt_set_defaults2(void *s, int mask, int flags);
-#endif
+#endif /* FFMPEG_OPT_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_PNG_H
-#define AVCODEC_PNG_H
+#ifndef FFMPEG_PNG_H
+#define FFMPEG_PNG_H
#include <stdint.h>
/* compute the row size of an interleaved pass */
extern int ff_png_pass_row_size(int pass, int bits_per_pixel, int width);
-#endif
+#endif /* FFMPEG_PNG_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PNM_H
-#define PNM_H
+#ifndef FFMPEG_PNM_H
+#define FFMPEG_PNM_H
#include "avcodec.h"
int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s);
-#endif /* PNM_H */
+#endif /* FFMPEG_PNM_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef DSPUTIL_ALTIVEC_H
-#define DSPUTIL_ALTIVEC_H
+#ifndef FFMPEG_DSPUTIL_ALTIVEC_H
+#define FFMPEG_DSPUTIL_ALTIVEC_H
#include "dsputil_ppc.h"
void avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h);
-#endif /* DSPUTIL_ALTIVEC_H */
+#endif /* FFMPEG_DSPUTIL_ALTIVEC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef DSPUTIL_PPC_H
-#define DSPUTIL_PPC_H
+#ifndef FFMPEG_DSPUTIL_PPC_H
+#define FFMPEG_DSPUTIL_PPC_H
#ifdef CONFIG_POWERPC_PERF
void powerpc_display_perf_report(void);
#define POWERPC_PERF_STOP_COUNT(a, cond) do {} while (0)
#endif /* CONFIG_POWERPC_PERF */
-#endif /* DSPUTIL_PPC_H */
+#endif /* FFMPEG_DSPUTIL_PPC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef GCC_FIXES_H
-#define GCC_FIXES_H
+#ifndef FFMPEG_GCC_FIXES_H
+#define FFMPEG_GCC_FIXES_H
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
-#endif /* GCC_FIXES_H */
+#endif /* FFMPEG_GCC_FIXES_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef IMGRESAMPLE_ALTIVEC_H
-#define IMGRESAMPLE_ALTIVEC_H
+#ifndef FFMPEG_IMGRESAMPLE_ALTIVEC_H
+#define FFMPEG_IMGRESAMPLE_ALTIVEC_H
void v_resample16_altivec(uint8_t *dst, int dst_width, const uint8_t *src,
int wrap, int16_t *filter);
-#endif /* IMGRESAMPLE_ALTIVEC_H */
+#endif /* FFMPEG_IMGRESAMPLE_ALTIVEC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_PPC_MATHOPS_H
-#define AVCODEC_PPC_MATHOPS_H
+#ifndef FFMPEG_PPC_MATHOPS_H
+#define FFMPEG_PPC_MATHOPS_H
#if defined(ARCH_POWERPC_405)
/* signed 16x16 -> 32 multiply add accumulate */
__rt; })
#endif
-#endif // AVCODEC_PPC_MATHOPS_H
+#endif /* FFMPEG_PPC_MATHOPS_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_TYPES_ALTIVEC_H
-#define AVCODEC_TYPES_ALTIVEC_H
+#ifndef FFMPEG_TYPES_ALTIVEC_H
+#define FFMPEG_TYPES_ALTIVEC_H
/***********************************************************************
* Vector types
#define zero_u32v (vec_u32_t) zerov
#define zero_s32v (vec_s32_t) zerov
-#endif // AVCODEC_TYPES_ALTIVEC_H
+#endif /* FFMPEG_TYPES_ALTIVEC_H */
* Contains misc utility macros and inline functions
*/
-#ifndef UTIL_ALTIVEC_H
-#define UTIL_ALTIVEC_H
+#ifndef FFMPEG_UTIL_ALTIVEC_H
+#define FFMPEG_UTIL_ALTIVEC_H
// used to build registers permutation vectors (vcprm)
// the 's' are for words in the _s_econd vector
return vec_perm(first, second, mask);
}
-#endif /* UTIL_ALTIVEC_H */
+#endif /* FFMPEG_UTIL_ALTIVEC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MMI_H
-#define MMI_H
+#ifndef FFMPEG_MMI_H
+#define FFMPEG_MMI_H
#define align16 __attribute__ ((aligned (16)))
#define pextlb(rs, rt, rd) \
__asm__ __volatile__ ("pextlb " #rd ", " #rs ", " #rt )
-#endif
-
+#endif /* FFMPEG_MMI_H */
* Various QDM2 tables.
*/
-#ifndef QDM2DATA_H
-#define QDM2DATA_H
+#ifndef FFMPEG_QDM2DATA_H
+#define FFMPEG_QDM2DATA_H
#include <stdint.h>
0.138071194291115f,0.333333343267441f,0.60947573184967f,1.0f,0.0f,
};
-#endif /* QDM2DATA_H */
+#endif /* FFMPEG_QDM2DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RA144TABLES_H
-#define RA144TABLES_H
+#ifndef FFMPEG_RA144_H
+#define FFMPEG_RA144_H
/* 14.4 data tables */
static const unsigned short sqrt_table[4096]={
decodetable6,decodetable7,decodetable8,decodetable9,decodetable10,
decodetable11};
-#endif /* RA144TABLES_H */
+#endif /* FFMPEG_RA144_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RA288TABLES_H
-#define RA288TABLES_H
+#ifndef FFMPEG_RA288_H
+#define FFMPEG_RA288_H
static const float amptable[8]={ 0.515625, 0.90234375, 1.57910156, 2.76342773,
-0.515625,-0.90234375,-1.57910156,-2.76342773 };
0.553955078, 0.50201416, 0.454956055, 0.41229248, 0.373657227
};
-#endif /* RA288TABLES_H */
+#endif /* FFMPEG_RA288_H */
* Range coder.
*/
-#ifndef AVCODEC_RANGECODER_H
-#define AVCODEC_RANGECODER_H
+#ifndef FFMPEG_RANGECODER_H
+#define FFMPEG_RANGECODER_H
#include <stdint.h>
#include <assert.h>
#endif
}
-#endif // AVCODEC_RANGECODER_H
+#endif /* FFMPEG_RANGECODER_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_RATECONTROL_H
-#define AVCODEC_RATECONTROL_H
+#ifndef FFMPEG_RATECONTROL_H
+#define FFMPEG_RATECONTROL_H
/**
* @file ratecontrol.h
void ff_xvid_rate_control_uninit(struct MpegEncContext *s);
float ff_xvid_rate_estimate_qscale(struct MpegEncContext *s, int dry_run);
-#endif /* AVCODEC_RATECONTROL_H */
+#endif /* FFMPEG_RATECONTROL_H */
* Raw Video Codec
*/
-#ifndef AVCODEC_RAW_H
-#define AVCODEC_RAW_H
+#ifndef FFMPEG_RAW_H
+#define FFMPEG_RAW_H
#include "avcodec.h"
extern const PixelFormatTag ff_raw_pixelFormatTags[];
-#endif /* AVCODEC_RAW_H */
+#endif /* FFMPEG_RAW_H */
* rl header.
*/
-#ifndef AVCODEC_RL_H
-#define AVCODEC_RL_H
+#ifndef FFMPEG_RL_H
+#define FFMPEG_RL_H
#include <stdint.h>
#include "bitstream.h"
return index + level - 1;
}
-#endif
+#endif /* FFMPEG_RL_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RLE_H
-#define RLE_H
+#ifndef FFMPEG_RLE_H
+#define FFMPEG_RLE_H
#include <stdint.h>
int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *inbuf, int bpp, int w,
int add_rep, int xor_rep, int add_raw, int xor_raw);
-#endif /* RLE_H */
+#endif /* FFMPEG_RLE_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_ROQVIDEO_H
-#define AVCODEC_ROQVIDEO_H
+#ifndef FFMPEG_ROQVIDEO_H
+#define FFMPEG_ROQVIDEO_H
#include "avcodec.h"
#include "dsputil.h"
void ff_apply_motion_8x8(RoqContext *ri, int x, int y, int deltax, int deltay);
-#endif // AVCODEC_ROQVIDEO_H
+#endif /* FFMPEG_ROQVIDEO_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RTJPEG_H
-#define RTJPEG_H
+#ifndef FFMPEG_RTJPEG_H
+#define FFMPEG_RTJPEG_H
#include <stdint.h>
#include <dsputil.h>
int rtjpeg_decode_frame_yuv420(RTJpegContext *c, AVFrame *f,
uint8_t *buf, int buf_size);
-#endif
+#endif /* FFMPEG_RTJPEG_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef FF_S3TC_H
-#define FF_S3TC_H
+#ifndef FFMPEG_S3TC_H
+#define FFMPEG_S3TC_H
#include <stdint.h>
const unsigned int w, const unsigned int h,
const unsigned int stride);
-#endif
+#endif /* FFMPEG_S3TC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SGI_H
-#define SGI_H
+#ifndef FFMPEG_SGI_H
+#define FFMPEG_SGI_H
/**
* SGI image file signature
#define SGI_RGB 3
#define SGI_RGBA 4
-#endif
-
+#endif /* FFMPEG_SGI_H */
* simple idct header.
*/
-#ifndef AVCODEC_SIMPLE_IDCT_H
-#define AVCODEC_SIMPLE_IDCT_H
+#ifndef FFMPEG_SIMPLE_IDCT_H
+#define FFMPEG_SIMPLE_IDCT_H
#include <stdint.h>
#include "dsputil.h"
void simple_idct84_add(uint8_t *dest, int line_size, DCTELEM *block);
void simple_idct48_add(uint8_t *dest, int line_size, DCTELEM *block);
-#endif // AVCODEC_SIMPLE_IDCT_H
+#endif /* FFMPEG_SIMPLE_IDCT_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SNOW_H
-#define SNOW_H
+#ifndef FFMPEG_SNOW_H
+#define FFMPEG_SNOW_H
#include "dsputil.h"
}
}
-#endif
+#endif /* FFMPEG_SNOW_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SP5X_H
-#define SP5X_H
+#ifndef FFMPEG_SP5X_H
+#define FFMPEG_SP5X_H
#include <stdint.h>
};
#endif
-#endif /* SP5X_H */
+#endif /* FFMPEG_SP5X_H */
* the assembler to keep the binary from becoming tainted.
*/
-#ifndef AVCODEC_VIS_H
-#define AVCODEC_VIS_H
+#ifndef FFMPEG_VIS_H
+#define FFMPEG_VIS_H
#define vis_opc_base ((0x1 << 31) | (0x36 << 19))
#define vis_opf(X) ((X) << 5)
#define vis_pdist(rs1,rs2,rd) vis_dd2d(0x3e, rs1, rs2, rd)
-#endif // AVCODEC_VIS_H
+#endif /* FFMPEG_VIS_H */
* http://www.pcisys.net/~melanson/codecs/
*/
-#ifndef AVCODEC_SVQ1_H
-#define AVCODEC_SVQ1_H
+#ifndef FFMPEG_SVQ1_H
+#define FFMPEG_SVQ1_H
#include <stdint.h>
extern svq1_frame_size_t ff_svq1_frame_size_table[8];
-#endif /* AVCODEC_SVQ1_H */
+#endif /* FFMPEG_SVQ1_H */
* svq1 code books.
*/
-#ifndef AVCODEC_SVQ1_CB_H
-#define AVCODEC_SVQ1_CB_H
+#ifndef FFMPEG_SVQ1_CB_H
+#define FFMPEG_SVQ1_CB_H
#include <stdint.h>
#include <stdlib.h>
NULL, NULL,
};
-#endif // AVCODEC_SVQ1_CB_H
+#endif /* FFMPEG_SVQ1_CB_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SVQ1_VLC_H
-#define SVQ1_VLC_H
+#ifndef FFMPEG_SVQ1_VLC_H
+#define FFMPEG_SVQ1_VLC_H
#include <stdint.h>
{ 0x3, 22 }, { 0x2, 22 }, { 0x1, 22 }, { 0x0, 22 }
};
-#endif
+#endif /* FFMPEG_SVQ1_VLC_H */
* svq1 code books.
*/
-#ifndef AVCODEC_SVQ1ENC_CB_H
-#define AVCODEC_SVQ1ENC_CB_H
+#ifndef FFMPEG_SVQ1ENC_CB_H
+#define FFMPEG_SVQ1ENC_CB_H
#include <stdint.h>
}
};
-#endif /* AVCODEC_SVQ1ENC_CB_H */
+#endif /* FFMPEG_SVQ1ENC_CB_H */
* @file tiff.h
* @author Konstantin Shishkov
*/
-#ifndef TIFF_H
-#define TIFF_H
+#ifndef FFMPEG_TIFF_H
+#define FFMPEG_TIFF_H
#include <stdint.h>
0, 1, 100, 2, 4, 8
};
-#endif /* TIFF_H */
+#endif /* FFMPEG_TIFF_H */
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef TRUEMOTION1DATA_H
-#define TRUEMOTION1DATA_H
+#ifndef FFMPEG_TRUEMOTION1DATA_H
+#define FFMPEG_TRUEMOTION1DATA_H
#include <stdint.h>
#include <stdlib.h>
};
static const uint8_t *tables[] = { pc_tbl2, pc_tbl3, pc_tbl4 };
-#endif
+
+#endif /* FFMPEG_TRUEMOTION1DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef TRUESPEECH_DATA_H
-#define TRUESPEECH_DATA_H
+#ifndef FFMPEG_TRUESPEECH_DATA_H
+#define FFMPEG_TRUESPEECH_DATA_H
#include <stdint.h>
static const int16_t ts_5F2[8] =
{ 0x6000, 0x4800, 0x3600, 0x2880, 0x1E60, 0x16C8, 0x1116, 0x0CD1 };
-#endif /* TRUESPEECH_DATA_H */
+#endif /* FFMPEG_TRUESPEECH_DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_ULTI_CB_H
-#define AVCODEC_ULTI_CB_H
+#ifndef FFMPEG_ULTI_CB_H
+#define FFMPEG_ULTI_CB_H
static const unsigned char ulti_codebook[16384]={
0x00, 0x01, 0x01, 0x02,
0x3D, 0x3E, 0x3E, 0x3F
};
-#endif // AVCODEC_ULTI_CB_H
+#endif /* FFMPEG_ULTI_CB_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_UNARY_H
-#define AVCODEC_UNARY_H
+#ifndef FFMPEG_UNARY_H
+#define FFMPEG_UNARY_H
#include "bitstream.h"
return get_unary(gb, 0, 9);
}
-#endif /* AVCODEC_UNARY_H */
+#endif /* FFMPEG_UNARY_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VC1_H
-#define AVCODEC_VC1_H
+#ifndef FFMPEG_VC1_H
+#define FFMPEG_VC1_H
#include "avcodec.h"
#include "mpegvideo.h"
int bi_type;
} VC1Context;
-#endif // AVCODEC_VC1_H
+#endif /* FFMPEG_VC1_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VC1ACDATA_H
-#define AVCODEC_VC1ACDATA_H
+#ifndef FFMPEG_VC1ACDATA_H
+#define FFMPEG_VC1ACDATA_H
#include <stdint.h>
}
};
-#endif // AVCODEC_VC1ACDATA_H
+#endif /* FFMPEG_VC1ACDATA_H */
* VC-1 tables.
*/
-#ifndef VC1DATA_H
-#define VC1DATA_H
+#ifndef FFMPEG_VC1DATA_H
+#define FFMPEG_VC1DATA_H
#include <stdint.h>
#include "bitstream.h"
/* DQScale as specified in 8.1.3.9 - almost identical to 0x40000/i */
extern const int32_t ff_vc1_dqscale[63];
-#endif /* VC1DATA_H */
+#endif /* FFMPEG_VC1DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef VORBIS_H
-#define VORBIS_H
+#ifndef FFMPEG_VORBIS_H
+#define FFMPEG_VORBIS_H
#include "avcodec.h"
#define ilog(i) av_log2(2*(i))
-#endif
+#endif /* FFMPEG_VORBIS_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_VORBIS_ENC_DATA_H
-#define AVCODEC_VORBIS_ENC_DATA_H
+#ifndef FFMPEG_VORBIS_ENC_DATA_H
+#define FFMPEG_VORBIS_ENC_DATA_H
#include <stdint.h>
{ 3, 2, 3, (const int[]){ -1, 12, 13, 14 } },
};
-#endif // AVCODEC_VORBIS_ENC_DATA_H
+#endif /* FFMPEG_VORBIS_ENC_DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef VP3DATA_H
-#define VP3DATA_H
+#ifndef FFMPEG_VP3DATA_H
+#define FFMPEG_VP3DATA_H
#include <stdint.h>
#include <stdlib.h>
}
};
-#endif /* VP3DATA_H */
+#endif /* FFMPEG_VP3DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef VP56_H
-#define VP56_H
+#ifndef FFMPEG_VP56_H
+#define FFMPEG_VP56_H
#include "vp56data.h"
#include "dsputil.h"
return -tree->val;
}
-#endif /* VP56_H */
+#endif /* FFMPEG_VP56_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef VP56DATA_H
-#define VP56DATA_H
+#ifndef FFMPEG_VP56DATA_H
+#define FFMPEG_VP56DATA_H
#include "common.h"
{ 2, -2 },
};
-#endif /* VP56DATA */
+#endif /* FFMPEG_VP56DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef VP5DATA_H
-#define VP5DATA_H
+#ifndef FFMPEG_VP5DATA_H
+#define FFMPEG_VP5DATA_H
#include <stdint.h>
static const uint8_t vp5_coord_div[] = { 2, 2, 2, 2, 4, 4 };
-#endif /* VP5DATA_H */
+#endif /* FFMPEG_VP5DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef VP6DATA_H
-#define VP6DATA_H
+#ifndef FFMPEG_VP6DATA_H
+#define FFMPEG_VP6DATA_H
#include "vp56data.h"
10, 13, 11, 12, 0, 1, 2, 3, 14, 8, 15, 16, 4, 5, 6, 7
};
-#endif /* VP6DATA_H */
+#endif /* FFMPEG_VP6DATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef WMA_H
-#define WMA_H
+#ifndef FFMPEG_WMA_H
+#define FFMPEG_WMA_H
#include "bitstream.h"
#include "dsputil.h"
int ff_wma_total_gain_to_bits(int total_gain);
int ff_wma_end(AVCodecContext *avctx);
-#endif
+#endif /* FFMPEG_WMA_H */
* Various WMA tables.
*/
-#ifndef AVCODEC_WMADATA_H
-#define AVCODEC_WMADATA_H
+#ifndef FFMPEG_WMADATA_H
+#define FFMPEG_WMADATA_H
#include <stdint.h>
#include "wma.h"
},
};
-#endif // AVCODEC_WMADATA_H
+#endif /* FFMPEG_WMADATA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_XIPH_H
-#define AVCODEC_XIPH_H
+#ifndef FFMPEG_XIPH_H
+#define FFMPEG_XIPH_H
#include "common.h"
int first_header_size, uint8_t *header_start[3],
int header_len[3]);
-#endif // AVCODEC_XIPH_H
+#endif /* FFMPEG_XIPH_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_XVMC_RENDER_H
-#define AVCODEC_XVMC_RENDER_H
+#ifndef FFMPEG_XVMC_RENDER_H
+#define FFMPEG_XVMC_RENDER_H
#include <X11/Xlib.h>
#include <X11/Xutil.h>
} xvmc_render_state_t;
-#endif // AVCODEC_XVMC_RENDER_H
+#endif /* FFMPEG_XVMC_RENDER_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVFORMAT_ASF_H
-#define AVFORMAT_ASF_H
+#ifndef FFMPEG_ASF_H
+#define FFMPEG_ASF_H
#include <stdint.h>
#include "avformat.h"
#define ASF_PL_FLAG_KEY_FRAME 0x80 //1000 0000
-#endif // AVFORMAT_ASF_H
+#endif /* FFMPEG_ASF_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVFORMAT_H
-#define AVFORMAT_H
+#ifndef FFMPEG_AVFORMAT_H
+#define FFMPEG_AVFORMAT_H
#define LIBAVFORMAT_VERSION_INT ((51<<16)+(15<<8)+0)
#define LIBAVFORMAT_VERSION 51.15.0
#endif /* HAVE_AV_CONFIG_H */
-#endif /* AVFORMAT_H */
-
+#endif /* FFMPEG_AVFORMAT_H */
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVIO_H
-#define AVIO_H
+#ifndef FFMPEG_AVIO_H
+#define FFMPEG_AVIO_H
#include <stdint.h>
int udp_get_local_port(URLContext *h);
int udp_get_file_handle(URLContext *h);
-#endif
-
+#endif /* FFMPEG_AVIO_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVFORMAT_DV_H
-#define AVFORMAT_DV_H
+#ifndef FFMPEG_DV_H
+#define FFMPEG_DV_H
#include "avformat.h"
int dv_assemble_frame(DVMuxContext *c, AVStream*, const uint8_t*, int, uint8_t**);
void dv_delete_mux(DVMuxContext*);
-#endif // AVFORMAT_DV_H
+#endif /* FFMPEG_DV_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef DV_1394_H
-#define DV_1394_H
+#ifndef FFMPEG_DV1394_H
+#define FFMPEG_DV1394_H
#define DV1394_DEFAULT_CHANNEL 63
#define DV1394_DEFAULT_CARD 0
};
-#endif /* DV_1394_H */
+#endif /* FFMPEG_DV1394_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef FLV_H
-#define FLV_H
+#ifndef FFMPEG_FLV_H
+#define FFMPEG_FLV_H
/* offsets for packed values */
#define FLV_AUDIO_SAMPLESSIZE_OFFSET 1
AMF_DATA_TYPE_UNSUPPORTED = 0x0d,
} AMFDataType;
-#endif /* FLV_H */
+#endif /* FFMPEG_FLV_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef FRAMEHOOK_H
-#define FRAMEHOOK_H
+#ifndef FFMPEG_FRAMEHOOK_H
+#define FFMPEG_FRAMEHOOK_H
#warning VHOOK is deprecated. Please help porting libmpcodecs or a better filter system to FFmpeg instead of wasting your time writing new filters for this crappy one.
extern void frame_hook_process(struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts);
extern void frame_hook_release(void);
-#endif
+#endif /* FFMPEG_FRAMEHOOK_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MATROSKA_H
-#define MATROSKA_H
+#ifndef FFMPEG_MATROSKA_H
+#define FFMPEG_MATROSKA_H
#include "avcodec.h"
extern CodecTags ff_mkv_codec_tags[];
-#endif /* MATROSKA_H */
+#endif /* FFMPEG_MATROSKA_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVFORMAT_MPEG_H
-#define AVFORMAT_MPEG_H
+#ifndef FFMPEG_MPEG_H
+#define FFMPEG_MPEG_H
#define PACK_START_CODE ((unsigned int)0x000001ba)
#define SYSTEM_HEADER_START_CODE ((unsigned int)0x000001bb)
static const int lpcm_freq_tab[4] = { 48000, 96000, 44100, 32000 };
-#endif /* AVFORMAT_MPEG_H */
+#endif /* FFMPEG_MPEG_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVFORMAT_MPEGTS_H
-#define AVFORMAT_MPEGTS_H
+#ifndef FFMPEG_MPEGTS_H
+#define FFMPEG_MPEGTS_H
#include "avformat.h"
const uint8_t *buf, int len);
void mpegts_parse_close(MpegTSContext *ts);
-#endif /* AVFORMAT_MPEGTS_H */
+#endif /* FFMPEG_MPEGTS_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef NETWORK_H
-#define NETWORK_H
+#ifndef FFMPEG_NETWORK_H
+#define FFMPEG_NETWORK_H
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
int inet_aton (const char * str, struct in_addr * add);
#endif
-#endif
+#endif /* FFMPEG_NETWORK_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVFORMAT_NUT_H
-#define AVFORMAT_NUT_H
+#ifndef FFMPEG_NUT_H
+#define FFMPEG_NUT_H
//#include <limits.h>
#include "avformat.h"
int ff_nut_sp_pts_cmp(syncpoint_t *a, syncpoint_t *b);
void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts);
-#endif /* AVFORMAT_NUT_H */
+#endif /* FFMPEG_NUT_H */
DEALINGS IN THE SOFTWARE.
**/
-#ifndef OGG2_H
-#define OGG2_H
+#ifndef FFMPEG_OGG2_H
+#define FFMPEG_OGG2_H
#include "avformat.h"
extern int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size);
-#endif /* OGG2_H */
+#endif /* FFMPEG_OGG2_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef OS_SUPPORT_H
-#define OS_SUPPORT_H
+#ifndef FFMPEG_OS_SUPPORT_H
+#define FFMPEG_OS_SUPPORT_H
/**
* @file os_support.h
#endif /* HAVE_SYS_POLL_H */
#endif /* CONFIG_FFSERVER */
-#endif /* OS_SUPPORT_H */
+#endif /* FFMPEG_OS_SUPPORT_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef QTPALETTE_H
-#define QTPALETTE_H
+#ifndef FFMPEG_QTPALETTE_H
+#define FFMPEG_QTPALETTE_H
unsigned char ff_qt_default_palette_4[4 * 4] = {
0x93, 0x65, 0x5E, 0x00,
/* 255, 0xFF */ 0x00, 0x00, 0x00, 0x00
};
-#endif
+#endif /* FFMPEG_QTPALETTE_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVFORMAT_RAW_H
-#define AVFORMAT_RAW_H
+#ifndef FFMPEG_RAW_H
+#define FFMPEG_RAW_H
#include "avformat.h"
int pcm_read_seek(AVFormatContext *s,
int stream_index, int64_t timestamp, int flags);
-#endif /* AVFORMAT_RAW_H */
+#endif /* FFMPEG_RAW_H */
* do NOT include this in end user applications
*/
-#ifndef FF_RIFF_H
-#define FF_RIFF_H
+#ifndef FFMPEG_RIFF_H
+#define FFMPEG_RIFF_H
#include "avcodec.h"
#include "avio.h"
enum CodecID codec_get_id(const AVCodecTag *tags, unsigned int tag);
void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssize, int *au_scale);
-#endif
+#endif /* FFMPEG_RIFF_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RM_H
-#define RM_H
+#ifndef FFMPEG_RM_H
+#define FFMPEG_RM_H
#include "avformat.h"
int sub_packet_lengths[16]; /// Length of each aac subpacket
} RMContext;
-#endif /* RM_H */
+#endif /* FFMPEG_RM_H */
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RTP_H
-#define RTP_H
+#ifndef FFMPEG_RTP_H
+#define FFMPEG_RTP_H
#include "avcodec.h"
#include "avformat.h"
#endif
extern AVRtpPayloadType_t AVRtpPayloadTypes[];
-#endif /* RTP_H */
+#endif /* FFMPEG_RTP_H */
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RTP_AAC_H
-#define RTP_AAC_H
+#ifndef FFMPEG_RTP_AAC_H
+#define FFMPEG_RTP_AAC_H
void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size);
-#endif /* RTP_AAC_H */
+#endif /* FFMPEG_RTP_AAC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RTP_H264_H
-#define RTP_H264_H
+#ifndef FFMPEG_RTP_H264_H
+#define FFMPEG_RTP_H264_H
#include "rtp_internal.h"
extern RTPDynamicProtocolHandler ff_h264_dynamic_handler;
-#endif /* RTP_H264_H */
+
+#endif /* FFMPEG_RTP_H264_H */
*/
// this is a bit of a misnomer, because rtp & rtsp internal structures and prototypes are in here.
-#ifndef RTP_INTERNAL_H
-#define RTP_INTERNAL_H
+#ifndef FFMPEG_RTP_INTERNAL_H
+#define FFMPEG_RTP_INTERNAL_H
#include <stdint.h>
#include "avcodec.h"
void av_register_rtp_dynamic_payload_handlers(void);
-#endif /* RTP_INTERNAL_H */
+#endif /* FFMPEG_RTP_INTERNAL_H */
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RTP_MPV_H
-#define RTP_MPV_H
+#ifndef FFMPEG_RTP_MPV_H
+#define FFMPEG_RTP_MPV_H
void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size);
-#endif /* RTP_MPV_H */
+#endif /* FFMPEG_RTP_MPV_H */
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RTSP_H
-#define RTSP_H
+#ifndef FFMPEG_RTSP_H
+#define FFMPEG_RTSP_H
#include <stdint.h>
#include "avformat.h"
int rtsp_pause(AVFormatContext *s);
int rtsp_resume(AVFormatContext *s);
-#endif /* RTSP_H */
+#endif /* FFMPEG_RTSP_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVFORMAT_RTSPCODES_H
-#define AVFORMAT_RTSPCODES_H
+#ifndef FFMPEG_RTSPCODES_H
+#define FFMPEG_RTSPCODES_H
/** RTSP handling */
enum RTSPStatusCode {
RTSP_STATUS_VERSION =505, /**< RTSP Version not supported */
};
-#endif // AVFORMAT_RTSPCODES_H
+#endif /* FFMPEG_RTSPCODES_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef VOC_H
-#define VOC_H
+#ifndef FFMPEG_VOC_H
+#define FFMPEG_VOC_H
#include "avformat.h"
#include "riff.h" /* for CodecTag */
int voc_get_packet(AVFormatContext *s, AVPacket *pkt,
AVStream *st, int max_size);
-#endif
+#endif /* FFMPEG_VOC_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef ADLER32_H
-#define ADLER32_H
+#ifndef FFMPEG_ADLER32_H
+#define FFMPEG_ADLER32_H
#include <stdint.h>
unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf,
unsigned int len);
-#endif
+#endif /* FFMPEG_ADLER32_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AES_H
-#define AES_H
+#ifndef FFMPEG_AES_H
+#define FFMPEG_AES_H
#include <stdint.h>
*/
void av_aes_crypt(struct AVAES *a, uint8_t *dst, uint8_t *src, int count, uint8_t *iv, int decrypt);
-#endif /* AES_H */
+#endif /* FFMPEG_AES_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVUTIL_AVSTRING_H
-#define AVUTIL_AVSTRING_H
+#ifndef FFMPEG_AVSTRING_H
+#define FFMPEG_AVSTRING_H
#include <stddef.h>
*/
size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...);
-#endif /* AVUTIL_AVSTRING_H */
+#endif /* FFMPEG_AVSTRING_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVUTIL_H
-#define AVUTIL_H
+#ifndef FFMPEG_AVUTIL_H
+#define FFMPEG_AVUTIL_H
/**
* @file avutil.h
#define PIX_FMT_YUV422 PIX_FMT_YUYV422
#endif
-#endif /* AVUTIL_H */
+#endif /* FFMPEG_AVUTIL_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVUTIL_BASE64_H
-#define AVUTIL_BASE64_H
+#ifndef FFMPEG_BASE64_H
+#define FFMPEG_BASE64_H
#include <stdint.h>
*/
char *av_base64_encode(char * buf, int buf_len, uint8_t * src, int len);
-#endif // AVUTIL_BASE64_H
+#endif /* FFMPEG_BASE64_H */
* byte swap.
*/
-#ifndef BSWAP_H
-#define BSWAP_H
+#ifndef FFMPEG_BSWAP_H
+#define FFMPEG_BSWAP_H
#include <stdint.h>
#include "common.h"
#define le2me_64(x) (x)
#endif
-#endif /* BSWAP_H */
+#endif /* FFMPEG_BSWAP_H */
* common internal and external api header.
*/
-#ifndef COMMON_H
-#define COMMON_H
+#ifndef FFMPEG_COMMON_H
+#define FFMPEG_COMMON_H
#include <inttypes.h>
#define STOP_TIMER(id) {}
#endif
-#endif /* COMMON_H */
+#endif /* FFMPEG_COMMON_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef CRC_H
-#define CRC_H
+#ifndef FFMPEG_CRC_H
+#define FFMPEG_CRC_H
#include <stdint.h>
#include <sys/types.h>
int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length);
-#endif /* CRC_H */
+#endif /* FFMPEG_CRC_H */
* A very simple circular buffer FIFO implementation.
*/
-#ifndef FIFO_H
-#define FIFO_H
+#ifndef FFMPEG_FIFO_H
+#define FFMPEG_FIFO_H
#include <stdint.h>
ptr -= f->end - f->buffer;
return *ptr;
}
-#endif /* FIFO_H */
+#endif /* FFMPEG_FIFO_H */
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef INTEGER_H
-#define INTEGER_H
+#ifndef FFMPEG_INTEGER_H
+#define FFMPEG_INTEGER_H
#include <stdint.h>
*/
int64_t av_i2int(AVInteger a);
-#endif // INTEGER_H
+#endif /* FFMPEG_INTEGER_H */
* common internal api header.
*/
-#ifndef INTERNAL_H
-#define INTERNAL_H
+#ifndef FFMPEG_INTERNAL_H
+#define FFMPEG_INTERNAL_H
#if !defined(DEBUG) && !defined(NDEBUG)
# define NDEBUG
}
#endif /* HAVE_LRINTF */
-#endif /* INTERNAL_H */
+#endif /* FFMPEG_INTERNAL_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef INTFLOAT_READWRITE_H
-#define INTFLOAT_READWRITE_H
+#ifndef FFMPEG_INTFLOAT_READWRITE_H
+#define FFMPEG_INTFLOAT_READWRITE_H
#include "common.h"
int32_t av_flt2int(float d);
AVExtFloat av_dbl2ext(double d);
-#endif /* INTFLOAT_READWRITE_H */
+#endif /* FFMPEG_INTFLOAT_READWRITE_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef INTREADWRITE_H
-#define INTREADWRITE_H
+#ifndef FFMPEG_INTREADWRITE_H
+#define FFMPEG_INTREADWRITE_H
#include <stdint.h>
#include "bswap.h"
((uint8_t*)(p))[7] = (d)>>56; } while(0)
#endif
-#endif /* INTREADWRITE_H */
+#endif /* FFMPEG_INTREADWRITE_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef LLS_H
-#define LLS_H
+#ifndef FFMPEG_LLS_H
+#define FFMPEG_LLS_H
#define MAX_VARS 32
void av_solve_lls(LLSModel *m, double threshold, int min_order);
double av_evaluate_lls(LLSModel *m, double *param, int order);
-#endif
+#endif /* FFMPEG_LLS_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef LOG_H
-#define LOG_H
+#ifndef FFMPEG_LOG_H
+#define FFMPEG_LOG_H
#include <stdarg.h>
extern void (*av_vlog)(void*, int, const char*, va_list);
#endif
-#endif /* LOG_H */
+#endif /* FFMPEG_LOG_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef LZO_H
-#define LZO_H
+#ifndef FFMPEG_LZO_H
+#define FFMPEG_LZO_H
#define LZO_INPUT_DEPLETED 1
#define LZO_OUTPUT_FULL 2
int lzo1x_decode(void *out, int *outlen, void *in, int *inlen);
-#endif
+#endif /* FFMPEG_LZO_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MATHEMATICS_H
-#define MATHEMATICS_H
+#ifndef FFMPEG_MATHEMATICS_H
+#define FFMPEG_MATHEMATICS_H
#include "rational.h"
*/
int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq);
-#endif /* MATHEMATICS_H */
+#endif /* FFMPEG_MATHEMATICS_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MD5_H
-#define MD5_H
+#ifndef FFMPEG_MD5_H
+#define FFMPEG_MD5_H
#include <stdint.h>
void av_md5_final(struct AVMD5 *ctx, uint8_t *dst);
void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len);
-#endif /* MD5_H */
+#endif /* FFMPEG_MD5_H */
* Memory handling functions.
*/
-#ifndef AV_MEM_H
-#define AV_MEM_H
+#ifndef FFMPEG_MEM_H
+#define FFMPEG_MEM_H
#ifdef __GNUC__
#define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n)))
*/
void av_freep(void *ptr);
-#endif /* AV_MEM_H */
+#endif /* FFMPEG_MEM_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AV_RANDOM_H
-#define AV_RANDOM_H
+#ifndef FFMPEG_RANDOM_H
+#define FFMPEG_RANDOM_H
#define AV_RANDOM_N 624
// only available if DEBUG is defined in the .c file
void av_benchmark_random(void);
-#endif // AV_RANDOM_H
+#endif /* FFMPEG_RANDOM_H */
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef RATIONAL_H
-#define RATIONAL_H
+#ifndef FFMPEG_RATIONAL_H
+#define FFMPEG_RATIONAL_H
#include <stdint.h>
*/
AVRational av_d2q(double d, int max);
-#endif // RATIONAL_H
+#endif /* FFMPEG_RATIONAL_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RC4_H
-#define RC4_H
+#ifndef FFMPEG_RC4_H
+#define FFMPEG_RC4_H
void ff_rc4_enc(const uint8_t *key, int keylen, uint8_t *data, int datalen);
-#endif /* RC4_H */
+#endif /* FFMPEG_RC4_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AV_SHA1_H
-#define AV_SHA1_H
+#ifndef FFMPEG_SHA1_H
+#define FFMPEG_SHA1_H
#include <stdint.h>
void av_sha1_init(struct AVSHA1* context);
void av_sha1_update(struct AVSHA1* context, uint8_t* data, unsigned int len);
void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]);
-#endif
+
+#endif /* FFMPEG_SHA1_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVUTIL_SOFTFLOAT_H
-#define AVUTIL_SOFTFLOAT_H
+#ifndef FFMPEG_SOFTFLOAT_H
+#define FFMPEG_SOFTFLOAT_H
#include <stdint.h>
else return v.mant >>(-v.exp);
}
-#endif // AVUTIL_SOFTFLOAT_H
+#endif /* FFMPEG_SOFTFLOAT_H */
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef TREE_H
-#define TREE_H
+#ifndef FFMPEG_TREE_H
+#define FFMPEG_TREE_H
struct AVTreeNode;
void *av_tree_insert(struct AVTreeNode **rootp, void *key, int (*cmp)(void *key, const void *b));
void av_tree_destroy(struct AVTreeNode *t);
-#endif /* TREE_H */
+#endif /* FFMPEG_TREE_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVUTIL_X86CPU_H
-#define AVUTIL_X86CPU_H
+#ifndef FFMPEG_X86CPU_H
+#define FFMPEG_X86CPU_H
#ifdef ARCH_X86_64
# define REG_a "rax"
# define BROKEN_RELOCATIONS 1
#endif
-#endif /* AVUTIL_X86CPU_H */
+#endif /* FFMPEG_X86CPU_H */
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef POSTPROCESS_H
-#define POSTPROCESS_H
+#ifndef FFMPEG_POSTPROCESS_H
+#define FFMPEG_POSTPROCESS_H
/**
* @file postprocess.h
#define PP_PICT_TYPE_QP2 0x00000010 ///< MPEG2 style QScale
-#endif /* POSTPROCESS_H */
+#endif /* FFMPEG_POSTPROCESS_H */
* internal api header.
*/
-#ifndef POSTPROCESS_INTERNAL_H
-#define POSTPROCESS_INTERNAL_H
+#ifndef FFMPEG_POSTPROCESS_INTERNAL_H
+#define FFMPEG_POSTPROCESS_INTERNAL_H
#include "avutil.h"
#include "postprocess.h"
}
}
-#endif // POSTPROCESS_INTERNAL_H
+#endif /* FFMPEG_POSTPROCESS_INTERNAL_H */