* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_ARM_MATHOPS_H
+#define AVCODEC_ARM_MATHOPS_H
+
#ifdef FRAC_BITS
# define MULL(a, b) \
({ int lo, hi;\
__rt; })
#endif
+
+#endif
* Atrac 3 AKA RealAudio 8 compatible decoder data
*/
+#ifndef AVCODEC_ATRAC3DATA_H
+#define AVCODEC_ATRAC3DATA_H
+
#include <stdint.h>
/* VLC tables */
/* 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
+#ifndef AVCODEC_BETHSOFTVIDEO_H
+#define AVCODEC_BETHSOFTVIDEO_H
+
enum BethsoftVidBlockType
{
PALETTE_BLOCK = 0x02,
VIDEO_YOFF_P_FRAME = 0x04,
EOF_BLOCK = 0x14,
};
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_BMP_H
+#define AVCODEC_BMP_H
+
#include "avcodec.h"
typedef struct BMPContext {
BMP_RLE4 =2,
BMP_BITFIELDS =3,
} BiCompression;
+
+#endif
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_CAVSDATA_H
+#define AVCODEC_CAVSDATA_H
+
#include "cavs.h"
static const uint8_t partition_flags[30] = {
static const int_fast8_t top_modifier_l[8] = {-1, 1, 5,-1,-1, 5, 7, 7};
static const int_fast8_t left_modifier_c[7] = { 5,-1, 2,-1, 6, 5, 6};
static const int_fast8_t top_modifier_c[7] = { 4, 1,-1,-1, 4, 6, 6};
+
+#endif
* Cook AKA RealAudio G2 compatible decoderdata
*/
+#ifndef AVCODEC_COOKDATA_H
+#define AVCODEC_COOKDATA_H
+
#include <stdint.h>
/* various data tables */
static const float* cplscales[5] = {
cplscale2, cplscale3, cplscale4, cplscale5, cplscale6,
};
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_DCA_H
+#define AVCODEC_DCA_H
+
/** DCA syncwords, also used for bitstream type detection */
#define DCA_MARKER_RAW_BE 0x7FFE8001
#define DCA_MARKER_RAW_LE 0xFE7F0180
#define DCA_MARKER_14B_BE 0x1FFFE800
#define DCA_MARKER_14B_LE 0xFF1F00E8
+
+#endif
* @file dcadata.c
*/
+#ifndef AVCODEC_DCADATA_H
+#define AVCODEC_DCADATA_H
+
#include <stdint.h>
/* Generic tables */
*/
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_DCAHUFF_H
+#define AVCODEC_DCAHUFF_H
+
#include <stdint.h>
#include <stdlib.h>
{ bitalloc_129_bits_a, bitalloc_129_bits_b, bitalloc_129_bits_c, bitalloc_129_bits_d,
bitalloc_129_bits_e, bitalloc_129_bits_f, bitalloc_129_bits_g, NULL }
};
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_DNXHDDATA_H
+#define AVCODEC_DNXHDDATA_H
+
#include <stdint.h>
static const uint8_t dnxhd_1238_luma_weigth[] = {
static const uint8_t dnxhd_1238_run[62] = {
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 21, 17, 18, 19, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
};
+
+#endif
* Constants for DV codec.
*/
+#ifndef AVCODEC_DVDATA_H
+#define AVCODEC_DVDATA_H
+
#include "avcodec.h"
#include "rational.h"
buf[2] = 0xff; /* reserved -- always 1 */
return 3;
}
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_ELBG_H
+#define AVCODEC_ELBG_H
+
#include "random.h"
/**
void ff_init_elbg(int *points, int dim, int numpoints, int *codebook,
int numCB, int num_steps, int *closest_cb,
AVRandomState *rand_state);
+
+#endif
* @author Michael Niedermayer <michaelni@gmx.at>
*/
+#ifndef AVCODEC_FAANDCT_H
+#define AVCODEC_FAANDCT_H
+
#include "dsputil.h"
#define FAAN_POSTSCALE
void ff_faandct(DCTELEM * data);
void ff_faandct248(DCTELEM * data);
+
+#endif
* @author Michael Niedermayer <michaelni@gmx.at> and Alex Beregszaszi
*/
+#ifndef AVCODEC_GOLOMB_H
+#define AVCODEC_GOLOMB_H
+
#include <stdint.h>
#include "bitstream.h"
set_ur_golomb_jpegls(pb, v, k, limit, esc_len);
}
+
+#endif
* h261codec.
*/
+#ifndef AVCODEC_H261_H
+#define AVCODEC_H261_H
+
#include "mpegvideo.h"
/**
}H261Context;
#define MB_TYPE_H261_FIL 0x800000
+
+#endif
* H.261 tables.
*/
+#ifndef AVCODEC_H261DATA_H
+#define AVCODEC_H261DATA_H
+
#include <stdint.h>
#include "h261.h"
h261_tcoeff_run,
h261_tcoeff_level,
};
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_H263_PARSER_H
+#define AVCODEC_H263_PARSER_H
+
#include "parser.h"
int ff_h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size);
+
+#endif
* H.263 tables.
*/
+#ifndef AVCODEC_H263DATA_H
+#define AVCODEC_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
* @author Michael Niedermayer <michaelni@gmx.at>
*/
+#ifndef AVCODEC_H264DATA_H
+#define AVCODEC_H264DATA_H
+
#include <stdint.h>
#include "mpegvideo.h"
#include "rational.h"
{ 31, 12 }, { 37, 23 }, { 31, 38 }, { 20, 64 },
}
};
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_X86_MATHOPS_H
+#define AVCODEC_X86_MATHOPS_H
+
#ifdef FRAC_BITS
# define MULL(ra, rb) \
({ int rt, dummy; asm (\
asm ("imull %2\n\t" : "=A"(rt) : "a" (ra), "g" (rb));\
rt; })
+#endif
*
*/
+#ifndef AVCODEC_IMCDATA_H
+#define AVCODEC_IMCDATA_H
+
#include <stdint.h>
static const uint16_t band_tab[33] = {
}
};
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_INDEO2DATA_H
+#define AVCODEC_INDEO2DATA_H
+
#include <stdint.h>
#define IR2_CODES 143
0x28, 0x5C, 0x6C, 0xC1, 0x94, 0x3F, 0xC1, 0x6C,
0x3F, 0x94, 0xD9, 0xD9, 0x27, 0x27, 0x80, 0x80
};
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_INDEO3DATA_H
+#define AVCODEC_INDEO3DATA_H
+
#include <stdint.h>
static const uint32_t correction[] = {
0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
};
+
+#endif
*
*/
+#ifndef AVCODEC_MPCDATA_H
+#define AVCODEC_MPCDATA_H
+
#include <stdint.h>
static const int8_t mpc_idx30[] = { -1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1};
0.000000092001613439, 0.000000076635565449, 0.000000063835940978, 0.000000053174105119,
0.000000044293003043, 0.000000036895215771, 0.000000030733001921, 0.000000025599996789
};
+
+#endif
* MPEG1/2 tables.
*/
+#ifndef AVCODEC_MPEG12DATA_H
+#define AVCODEC_MPEG12DATA_H
+
#include <stdint.h>
#include "mpegvideo.h"
0xff, 0xff, 0xff,
0xff, 0xff, 0xff,
};
+
+#endif
* mpeg4 tables.
*/
+#ifndef AVCODEC_MPEG4DATA_H
+#define AVCODEC_MPEG4DATA_H
+
#include <stdint.h>
#include "mpegvideo.h"
static const uint8_t mpeg4_dc_threshold[8]={
99, 13, 15, 17, 19, 21, 23, 0
};
+
+#endif
* mpeg audio layer decoder tables.
*/
+#ifndef AVCODEC_MPEGAUDIODECTAB_H
+#define AVCODEC_MPEGAUDIODECTAB_H
+
#include <stdint.h>
#include "mpegaudio.h"
static const float ci_table[8] = {
-0.6, -0.535, -0.33, -0.185, -0.095, -0.041, -0.0142, -0.0037,
};
+
+#endif
* Most of them come from the mpeg audio specification.
*/
+#ifndef AVCODEC_MPEGAUDIOTAB_H
+#define AVCODEC_MPEGAUDIOTAB_H
+
#include <stdint.h>
#include "mpegaudio.h"
static const unsigned char nb_scale_factors[4] = { 3, 2, 1, 2 };
+#endif
* MSMPEG4 data tables.
*/
+#ifndef AVCODEC_MSMPEG4TAB_H
+#define AVCODEC_MSMPEG4TAB_H
+
#include <stdint.h>
#include "bitstream.h"
#include "rl.h"
0x38, 0x29, 0x22, 0x03, 0x31, 0x39, 0x0B, 0x2A,
0x13, 0x32, 0x1B, 0x3A, 0x23, 0x2B, 0x33, 0x3B,
};
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_PPC_MATHOPS_H
+#define AVCODEC_PPC_MATHOPS_H
+
#if defined(ARCH_POWERPC_405)
/* signed 16x16 -> 32 multiply add accumulate */
# define MAC16(rt, ra, rb) \
asm ("mullhw %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb));
__rt; })
#endif
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_TYPES_ALTIVEC_H
+#define AVCODEC_TYPES_ALTIVEC_H
+
/***********************************************************************
* Vector types
**********************************************************************/
#define zero_s16v (vec_s16_t) zerov
#define zero_u32v (vec_u32_t) zerov
#define zero_s32v (vec_s32_t) zerov
+
+#endif
* Range coder.
*/
+#ifndef AVCODEC_RANGECODER_H
+#define AVCODEC_RANGECODER_H
+
#include <stdint.h>
#include <assert.h>
#include "common.h"
#endif
}
+#endif
*
*/
+#ifndef AVCODEC_ROQVIDEO_H
+#define AVCODEC_ROQVIDEO_H
+
#include "avcodec.h"
#include "dsputil.h"
void ff_apply_motion_4x4(RoqContext *ri, int x, int y, int deltax, int deltay);
void ff_apply_motion_8x8(RoqContext *ri, int x, int y, int deltax, int deltay);
+
+#endif
* simple idct header.
*/
+#ifndef AVCODEC_SIMPLE_IDCT_H
+#define AVCODEC_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
* the assembler to keep the binary from becoming tainted.
*/
+#ifndef AVCODEC_VIS_H
+#define AVCODEC_VIS_H
+
#define vis_opc_base ((0x1 << 31) | (0x36 << 19))
#define vis_opf(X) ((X) << 5)
#define vis_sreg(X) (X)
/* Pixel component distance. */
#define vis_pdist(rs1,rs2,rd) vis_dd2d(0x3e, rs1, rs2, rd)
+
+#endif
* svq1 code books.
*/
+#ifndef AVCODEC_SVQ1_CB_H
+#define AVCODEC_SVQ1_CB_H
+
#include <stdint.h>
#include <stdlib.h>
-1, 5, -2, -2, -3, 2, -3, -1, 3, -3, 0, 4, 3, 0, 1, -2,
}
};
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_ULTI_CB_H
+#define AVCODEC_ULTI_CB_H
+
static const unsigned char ulti_codebook[16384]={
0x00, 0x01, 0x01, 0x02,
0x00, 0x01, 0x02, 0x03,
0x3C, 0x3D, 0x3E, 0x3F,
0x3D, 0x3E, 0x3E, 0x3F
};
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_VC1_H
+#define AVCODEC_VC1_H
+
#include "avcodec.h"
#include "mpegvideo.h"
int p_frame_skipped;
int bi_type;
} VC1Context;
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_VC1ACDATA_H
+#define AVCODEC_VC1ACDATA_H
+
#include <stdint.h>
#define AC_MODES 8
-1, 30, 28, 3, 0
}
};
+
+#endif
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_VORBIS_ENC_DATA_H
+#define AVCODEC_VORBIS_ENC_DATA_H
+
#include <stdint.h>
static const uint8_t codebook0[] = {
{ 4, 2, 2, (const int[]){ -1, 9, 10, 11 } },
{ 3, 2, 3, (const int[]){ -1, 12, 13, 14 } },
};
+
+#endif
* Various WMA tables.
*/
+#ifndef AVCODEC_WMADATA_H
+#define AVCODEC_WMADATA_H
+
#include <stdint.h>
#include "wma.h"
sizeof(coef5_huffbits), sizeof(levels5)/2, coef5_huffcodes, coef5_huffbits, levels5,
},
};
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_XIPH_H
+#define AVCODEC_XIPH_H
+
#include "common.h"
/**
int ff_split_xiph_headers(uint8_t *extradata, int extradata_size,
int first_header_size, uint8_t *header_start[3],
int header_len[3]);
+
+#endif
+#ifndef AVCODEC_XVMC_RENDER_H
+#define AVCODEC_XVMC_RENDER_H
+
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
void * p_osd_target_surface_render;//pointer to the surface where subpicture is rendered
} xvmc_render_state_t;
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVFORMAT_ASF_H
+#define AVFORMAT_ASF_H
+
#include <stdint.h>
#include "avformat.h"
#define ASF_PL_MASK_PAYLOAD_LENGTH_FIELD_SIZE 0xc0 //1100 0000
#define ASF_PL_FLAG_KEY_FRAME 0x80 //1000 0000
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVFORMAT_DV_H
+#define AVFORMAT_DV_H
+
#include "avformat.h"
typedef struct DVDemuxContext DVDemuxContext;
DVMuxContext* dv_init_mux(AVFormatContext* s);
int dv_assemble_frame(DVMuxContext *c, AVStream*, const uint8_t*, int, uint8_t**);
void dv_delete_mux(DVMuxContext*);
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVFORMAT_MPEGTS_H
+#define AVFORMAT_MPEGTS_H
+
#include "avformat.h"
#define TS_FEC_PACKET_SIZE 204
int mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt,
const uint8_t *buf, int len);
void mpegts_parse_close(MpegTSContext *ts);
+
+#endif
*
*/
+#ifndef AVFORMAT_NUT_H
+#define AVFORMAT_NUT_H
+
//#include <limits.h>
#include "avformat.h"
#include "crc.h"
static unsigned long av_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, unsigned int len){
return av_crc(av_crc04C11DB7, checksum, buf, len);
}
+
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVFORMAT_RTSPCODES_H
+#define AVFORMAT_RTSPCODES_H
+
/** RTSP handling */
enum RTSPStatusCode {
RTSP_STATUS_OK =200, /**< OK */
RTSP_STATUS_VERSION =505, /**< RTSP Version not supported */
};
+#endif
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVUTIL_BASE64_H
+#define AVUTIL_BASE64_H
+
#include <stdint.h>
/**
*/
char *av_base64_encode(char * buf, int buf_len, uint8_t * src, int len);
+#endif
*
*/
+#ifndef AVUTIL_SOFTFLOAT_H
+#define AVUTIL_SOFTFLOAT_H
+
#include <stdint.h>
#define MIN_EXP -126
if(v.exp >= 0) return v.mant << v.exp ;
else return v.mant >>(-v.exp);
}
+
+#endif
* internal api header.
*/
+#ifndef POSTPROCESS_INTERNAL_H
+#define POSTPROCESS_INTERNAL_H
+
#include "avutil.h"
#define V_DEBLOCK 0x01
memcpy(dest+(lines-1)*stride, src+(lines-1)*stride, -lines*stride);
}
}
+
+#endif