mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
Remove commented-out debug #define cruft
This commit is contained in:
parent
ff4fc5ef12
commit
2832ea26f3
@ -32,9 +32,6 @@
|
|||||||
#include "get_bits.h"
|
#include "get_bits.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
//#undef NDEBUG
|
|
||||||
//#include <assert.h>
|
|
||||||
|
|
||||||
#define BLOCK_TYPE_VLC_BITS 5
|
#define BLOCK_TYPE_VLC_BITS 5
|
||||||
#define ACDC_VLC_BITS 9
|
#define ACDC_VLC_BITS 9
|
||||||
|
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
* The simplest AC-3 encoder.
|
* The simplest AC-3 encoder.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define ASSERT_LEVEL 2
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
|
@ -25,10 +25,6 @@
|
|||||||
* @author Thilo Borgmann <thilo.borgmann _at_ googlemail.com>
|
* @author Thilo Borgmann <thilo.borgmann _at_ googlemail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
|
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "get_bits.h"
|
#include "get_bits.h"
|
||||||
#include "unary.h"
|
#include "unary.h"
|
||||||
|
@ -33,9 +33,6 @@
|
|||||||
#include "mathops.h"
|
#include "mathops.h"
|
||||||
#include "mpeg12data.h"
|
#include "mpeg12data.h"
|
||||||
|
|
||||||
//#undef NDEBUG
|
|
||||||
//#include <assert.h>
|
|
||||||
|
|
||||||
#define VLC_BITS 6
|
#define VLC_BITS 6
|
||||||
#define ASV2_LEVEL_VLC_BITS 10
|
#define ASV2_LEVEL_VLC_BITS 10
|
||||||
|
|
||||||
|
@ -22,9 +22,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define TRACE
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
#include "libavutil/imgutils.h"
|
#include "libavutil/imgutils.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "get_bits.h"
|
#include "get_bits.h"
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
#define RC_VARIANCE 1 // use variance or ssd for fast rc
|
#define RC_VARIANCE 1 // use variance or ssd for fast rc
|
||||||
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
|
@ -34,9 +34,6 @@
|
|||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "rnd_avg.h"
|
#include "rnd_avg.h"
|
||||||
|
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
/* encoding scans */
|
/* encoding scans */
|
||||||
extern const uint8_t ff_alternate_horizontal_scan[64];
|
extern const uint8_t ff_alternate_horizontal_scan[64];
|
||||||
extern const uint8_t ff_alternate_vertical_scan[64];
|
extern const uint8_t ff_alternate_vertical_scan[64];
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
#include "libavutil/imgutils.h"
|
#include "libavutil/imgutils.h"
|
||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
typedef struct DVDSubContext {
|
typedef struct DVDSubContext {
|
||||||
uint32_t palette[16];
|
uint32_t palette[16];
|
||||||
int has_palette;
|
int has_palette;
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
#include "libavutil/imgutils.h"
|
#include "libavutil/imgutils.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "bytestream.h"
|
#include "bytestream.h"
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
* h263/mpeg4 codec.
|
* h263/mpeg4 codec.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
@ -39,8 +38,6 @@
|
|||||||
#include "flv.h"
|
#include "flv.h"
|
||||||
#include "mpeg4video.h"
|
#include "mpeg4video.h"
|
||||||
|
|
||||||
//#undef NDEBUG
|
|
||||||
//#include <assert.h>
|
|
||||||
|
|
||||||
uint8_t ff_h263_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];
|
uint8_t ff_h263_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];
|
||||||
|
|
||||||
|
@ -39,8 +39,6 @@
|
|||||||
#include "flv.h"
|
#include "flv.h"
|
||||||
#include "mpeg4video.h"
|
#include "mpeg4video.h"
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
av_cold int ff_h263_decode_init(AVCodecContext *avctx)
|
av_cold int ff_h263_decode_init(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
MpegEncContext *s = avctx->priv_data;
|
MpegEncContext *s = avctx->priv_data;
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
* h263 decoder.
|
* h263 decoder.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
@ -41,9 +40,6 @@
|
|||||||
#include "flv.h"
|
#include "flv.h"
|
||||||
#include "mpeg4video.h"
|
#include "mpeg4video.h"
|
||||||
|
|
||||||
//#undef NDEBUG
|
|
||||||
//#include <assert.h>
|
|
||||||
|
|
||||||
// The defines below define the number of bits that are read at once for
|
// The defines below define the number of bits that are read at once for
|
||||||
// reading vlc values. Changing these may improve speed and data cache needs
|
// reading vlc values. Changing these may improve speed and data cache needs
|
||||||
// be aware though that decreasing them may need the number of stages that is
|
// be aware though that decreasing them may need the number of stages that is
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
* h263 bitstream encoder.
|
* h263 bitstream encoder.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
@ -40,9 +39,6 @@
|
|||||||
#include "mpeg4video.h"
|
#include "mpeg4video.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
//#undef NDEBUG
|
|
||||||
//#include <assert.h>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Table of number of bits a motion vector component needs.
|
* Table of number of bits a motion vector component needs.
|
||||||
*/
|
*/
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
* MPEG-1/2 decoder
|
* MPEG-1/2 decoder
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
@ -40,9 +39,6 @@
|
|||||||
#include "xvmc_internal.h"
|
#include "xvmc_internal.h"
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
|
|
||||||
//#undef NDEBUG
|
|
||||||
//#include <assert.h>
|
|
||||||
|
|
||||||
uint8_t ff_mpeg12_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];
|
uint8_t ff_mpeg12_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];
|
||||||
|
|
||||||
#define INIT_2D_VLC_RL(rl, static_size)\
|
#define INIT_2D_VLC_RL(rl, static_size)\
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
* MPEG-1/2 decoder
|
* MPEG-1/2 decoder
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
#include "libavutil/internal.h"
|
#include "libavutil/internal.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
@ -41,9 +40,6 @@
|
|||||||
#include "xvmc_internal.h"
|
#include "xvmc_internal.h"
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
|
|
||||||
//#undef NDEBUG
|
|
||||||
//#include <assert.h>
|
|
||||||
|
|
||||||
typedef struct Mpeg1Context {
|
typedef struct Mpeg1Context {
|
||||||
MpegEncContext mpeg_enc_ctx;
|
MpegEncContext mpeg_enc_ctx;
|
||||||
int mpeg_enc_ctx_allocated; /* true if decoding context allocated */
|
int mpeg_enc_ctx_allocated; /* true if decoding context allocated */
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
* MPEG Audio header decoder.
|
* MPEG Audio header decoder.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "mpegaudio.h"
|
#include "mpegaudio.h"
|
||||||
#include "mpegaudiodata.h"
|
#include "mpegaudiodata.h"
|
||||||
|
@ -41,9 +41,6 @@
|
|||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
//#undef NDEBUG
|
|
||||||
//#include <assert.h>
|
|
||||||
|
|
||||||
static void dct_unquantize_mpeg1_intra_c(MpegEncContext *s,
|
static void dct_unquantize_mpeg1_intra_c(MpegEncContext *s,
|
||||||
int16_t *block, int n, int qscale);
|
int16_t *block, int n, int qscale);
|
||||||
static void dct_unquantize_mpeg1_inter_c(MpegEncContext *s,
|
static void dct_unquantize_mpeg1_inter_c(MpegEncContext *s,
|
||||||
@ -59,9 +56,6 @@ static void dct_unquantize_h263_intra_c(MpegEncContext *s,
|
|||||||
static void dct_unquantize_h263_inter_c(MpegEncContext *s,
|
static void dct_unquantize_h263_inter_c(MpegEncContext *s,
|
||||||
int16_t *block, int n, int qscale);
|
int16_t *block, int n, int qscale);
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
|
|
||||||
static const uint8_t ff_default_chroma_qscale_table[32] = {
|
static const uint8_t ff_default_chroma_qscale_table[32] = {
|
||||||
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
||||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
||||||
|
@ -51,17 +51,12 @@
|
|||||||
#include "bytestream.h"
|
#include "bytestream.h"
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
//#undef NDEBUG
|
|
||||||
//#include <assert.h>
|
|
||||||
|
|
||||||
static int encode_picture(MpegEncContext *s, int picture_number);
|
static int encode_picture(MpegEncContext *s, int picture_number);
|
||||||
static int dct_quantize_refine(MpegEncContext *s, int16_t *block, int16_t *weight, int16_t *orig, int n, int qscale);
|
static int dct_quantize_refine(MpegEncContext *s, int16_t *block, int16_t *weight, int16_t *orig, int n, int qscale);
|
||||||
static int sse_mb(MpegEncContext *s);
|
static int sse_mb(MpegEncContext *s);
|
||||||
static void denoise_dct_c(MpegEncContext *s, int16_t *block);
|
static void denoise_dct_c(MpegEncContext *s, int16_t *block);
|
||||||
static int dct_quantize_trellis_c(MpegEncContext *s, int16_t *block, int n, int qscale, int *overflow);
|
static int dct_quantize_trellis_c(MpegEncContext *s, int16_t *block, int n, int qscale, int *overflow);
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
static uint8_t default_mv_penalty[MAX_FCODE + 1][MAX_MV * 2 + 1];
|
static uint8_t default_mv_penalty[MAX_FCODE + 1][MAX_MV * 2 + 1];
|
||||||
static uint8_t default_fcode_tab[MAX_MV * 2 + 1];
|
static uint8_t default_fcode_tab[MAX_MV * 2 + 1];
|
||||||
|
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
* - (encoding) select best mv table (two choices)
|
* - (encoding) select best mv table (two choices)
|
||||||
* - (encoding) select best vlc/dc table
|
* - (encoding) select best vlc/dc table
|
||||||
*/
|
*/
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
/* This table is practically identical to the one from h263
|
/* This table is practically identical to the one from h263
|
||||||
* except that it is inverted. */
|
* except that it is inverted. */
|
||||||
|
@ -31,8 +31,6 @@
|
|||||||
|
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
typedef struct PNGDecContext {
|
typedef struct PNGDecContext {
|
||||||
PNGDSPContext dsp;
|
PNGDSPContext dsp;
|
||||||
|
|
||||||
|
@ -29,8 +29,6 @@
|
|||||||
|
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
#define IOBUF_SIZE 4096
|
#define IOBUF_SIZE 4096
|
||||||
|
|
||||||
typedef struct PNGEncContext {
|
typedef struct PNGEncContext {
|
||||||
|
@ -32,8 +32,6 @@
|
|||||||
#include "mpeg4video.h"
|
#include "mpeg4video.h"
|
||||||
#include "h263.h"
|
#include "h263.h"
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
#define RV_GET_MAJOR_VER(x) ((x) >> 28)
|
#define RV_GET_MAJOR_VER(x) ((x) >> 28)
|
||||||
#define RV_GET_MINOR_VER(x) (((x) >> 20) & 0xFF)
|
#define RV_GET_MINOR_VER(x) (((x) >> 20) & 0xFF)
|
||||||
#define RV_GET_MICRO_VER(x) (((x) >> 12) & 0xFF)
|
#define RV_GET_MICRO_VER(x) (((x) >> 12) & 0xFF)
|
||||||
|
@ -39,8 +39,6 @@
|
|||||||
#include "rv34data.h"
|
#include "rv34data.h"
|
||||||
#include "rv34.h"
|
#include "rv34.h"
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
static inline void ZERO8x2(void* dst, int stride)
|
static inline void ZERO8x2(void* dst, int stride)
|
||||||
{
|
{
|
||||||
fill_rectangle(dst, 1, 2, stride, 0, 4);
|
fill_rectangle(dst, 1, 2, stride, 0, 4);
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define BITSTREAM_READER_LE
|
#define BITSTREAM_READER_LE
|
||||||
//#define DEBUG
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "get_bits.h"
|
#include "get_bits.h"
|
||||||
|
@ -27,8 +27,6 @@
|
|||||||
* @see http://linux-fbdev.sourceforge.net/
|
* @see http://linux-fbdev.sourceforge.net/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
#include "libavutil/channel_layout.h"
|
#include "libavutil/channel_layout.h"
|
||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
|
@ -24,8 +24,6 @@
|
|||||||
* video presentation timestamp (PTS) modification filter
|
* video presentation timestamp (PTS) modification filter
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include "libavutil/eval.h"
|
#include "libavutil/eval.h"
|
||||||
#include "libavutil/internal.h"
|
#include "libavutil/internal.h"
|
||||||
#include "libavutil/mathematics.h"
|
#include "libavutil/mathematics.h"
|
||||||
|
@ -23,8 +23,6 @@
|
|||||||
* video crop filter
|
* video crop filter
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "avfilter.h"
|
#include "avfilter.h"
|
||||||
|
@ -23,8 +23,6 @@
|
|||||||
* video field order filter, heavily influenced by vf_pad.c
|
* video field order filter, heavily influenced by vf_pad.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -22,8 +22,6 @@
|
|||||||
* frei0r wrapper
|
* frei0r wrapper
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <frei0r.h>
|
#include <frei0r.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -23,8 +23,6 @@
|
|||||||
* libopencv wrapper functions
|
* libopencv wrapper functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include <opencv/cv.h>
|
#include <opencv/cv.h>
|
||||||
#include <opencv/cxcore.h>
|
#include <opencv/cxcore.h>
|
||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
|
@ -28,8 +28,6 @@
|
|||||||
* @todo support more than one output stream
|
* @todo support more than one output stream
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
#include "libavutil/avassert.h"
|
#include "libavutil/avassert.h"
|
||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "isom.h"
|
#include "isom.h"
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
//#define MOV_EXPORT_ALL_METADATA
|
//#define MOV_EXPORT_ALL_METADATA
|
||||||
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include "avio_internal.h"
|
#include "avio_internal.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
@ -43,8 +43,6 @@
|
|||||||
* Only tracks with associated descriptors will be decoded. "Highly Desirable" SMPTE 377M D.1
|
* Only tracks with associated descriptors will be decoded. "Highly Desirable" SMPTE 377M D.1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
#include "libavutil/aes.h"
|
#include "libavutil/aes.h"
|
||||||
#include "libavutil/mathematics.h"
|
#include "libavutil/mathematics.h"
|
||||||
#include "libavcodec/bytestream.h"
|
#include "libavcodec/bytestream.h"
|
||||||
|
@ -30,8 +30,6 @@
|
|||||||
* SMPTE RP224: Registry of SMPTE Universal Labels
|
* SMPTE RP224: Registry of SMPTE Universal Labels
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
#include "libavutil/intreadwrite.h"
|
#include "libavutil/intreadwrite.h"
|
||||||
#include "libavutil/dict.h"
|
#include "libavutil/dict.h"
|
||||||
#include "libavutil/mathematics.h"
|
#include "libavutil/mathematics.h"
|
||||||
|
@ -48,8 +48,6 @@
|
|||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
#define APP_MAX_LENGTH 128
|
#define APP_MAX_LENGTH 128
|
||||||
#define PLAYPATH_MAX_LENGTH 256
|
#define PLAYPATH_MAX_LENGTH 256
|
||||||
#define TCURL_MAX_LENGTH 512
|
#define TCURL_MAX_LENGTH 512
|
||||||
|
@ -28,8 +28,6 @@
|
|||||||
|
|
||||||
#include "rtpenc.h"
|
#include "rtpenc.h"
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
static const AVOption options[] = {
|
static const AVOption options[] = {
|
||||||
FF_RTP_FLAG_OPTS(RTPMuxContext, flags),
|
FF_RTP_FLAG_OPTS(RTPMuxContext, flags),
|
||||||
{ "payload_type", "Specify RTP payload type", offsetof(RTPMuxContext, payload_type), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 127, AV_OPT_FLAG_ENCODING_PARAM },
|
{ "payload_type", "Specify RTP payload type", offsetof(RTPMuxContext, payload_type), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 127, AV_OPT_FLAG_ENCODING_PARAM },
|
||||||
|
@ -48,8 +48,6 @@
|
|||||||
#include "rtpenc.h"
|
#include "rtpenc.h"
|
||||||
#include "mpegts.h"
|
#include "mpegts.h"
|
||||||
|
|
||||||
//#define DEBUG
|
|
||||||
|
|
||||||
/* Timeout values for socket poll, in ms,
|
/* Timeout values for socket poll, in ms,
|
||||||
* and read_packet(), in seconds */
|
* and read_packet(), in seconds */
|
||||||
#define POLL_TIMEOUT_MS 100
|
#define POLL_TIMEOUT_MS 100
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include "avio_internal.h"
|
#include "avio_internal.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user