mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-31 01:11:13 +02:00
libeplayer3-arm: Code formatting
This commit is contained in:
@@ -57,7 +57,6 @@
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Varaibles */
|
||||
/* ***************************** */
|
||||
|
@@ -371,4 +371,4 @@ struct Writer_s WriterAudioAACPLUS =
|
||||
&writeDataADTS,
|
||||
NULL,
|
||||
&caps_aacplus
|
||||
};
|
||||
};
|
||||
|
@@ -172,5 +172,3 @@ struct Writer_s WriterAudioAMR =
|
||||
NULL,
|
||||
&caps_amr
|
||||
};
|
||||
|
||||
|
||||
|
@@ -55,7 +55,6 @@
|
||||
#define B_GET_BITS(w,e,b) (((w)>>(b))&(((unsigned)(-1))>>((sizeof(unsigned))*8-(e+1-b))))
|
||||
#define B_SET_BITS(name,v,e,b) (((unsigned)(v))<<(b))
|
||||
|
||||
|
||||
#ifdef SAM_WITH_DEBUG
|
||||
#define DIVX_DEBUG
|
||||
#else
|
||||
|
@@ -186,4 +186,3 @@ struct Writer_s WriterAudioVORBIS =
|
||||
NULL,
|
||||
&caps_vorbis
|
||||
};
|
||||
|
||||
|
@@ -100,7 +100,6 @@ static uint32_t fixed_bufferfilled;
|
||||
/* MISC Functions */
|
||||
/* ***************************** */
|
||||
|
||||
|
||||
static int32_t reset()
|
||||
{
|
||||
initialHeader = 1;
|
||||
|
@@ -78,7 +78,6 @@ static short debug_level = 10;
|
||||
#define vc1_err(fmt, x...)
|
||||
#endif
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
@@ -75,7 +75,6 @@ static short debug_level = 10;
|
||||
#define vp_err(fmt, x...)
|
||||
#endif
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
@@ -150,7 +149,6 @@ static int writeDataVP89(void *_call)
|
||||
return writeData(_call, 0);
|
||||
}
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Writer Definition */
|
||||
/* ***************************** */
|
||||
|
@@ -182,7 +182,6 @@ struct Writer_s WriterAudioWMAPRO =
|
||||
&capsWMAPRO
|
||||
};
|
||||
|
||||
|
||||
static WriterCaps_t capsWMA =
|
||||
{
|
||||
"wma",
|
||||
|
@@ -63,7 +63,6 @@ static Writer_t *AvailableWriter[] =
|
||||
{
|
||||
&WriterAudioAAC,
|
||||
&WriterAudioAACLATM,
|
||||
&WriterAudioAACLATM,
|
||||
&WriterAudioAACPLUS,
|
||||
&WriterAudioAC3,
|
||||
&WriterAudioEAC3,
|
||||
|
@@ -43,7 +43,6 @@
|
||||
#include <libavutil/intreadwrite.h>
|
||||
#include "ffmpeg/latmenc.h"
|
||||
|
||||
|
||||
#include "common.h"
|
||||
#include "output.h"
|
||||
#include "debug.h"
|
||||
@@ -369,4 +368,4 @@ struct Writer_s WriterAudioAACPLUS =
|
||||
&writeDataADTS,
|
||||
NULL,
|
||||
&caps_aacplus
|
||||
};
|
||||
};
|
||||
|
@@ -162,4 +162,4 @@ struct Writer_s WriterAudioEAC3 =
|
||||
&writeData,
|
||||
NULL,
|
||||
&caps_eac3
|
||||
};
|
||||
};
|
||||
|
@@ -191,7 +191,6 @@ struct Writer_s WriterVideoMPEG4 =
|
||||
&mpeg4p2_caps
|
||||
};
|
||||
|
||||
|
||||
struct Writer_s WriterVideoMSCOMP =
|
||||
{
|
||||
&reset,
|
||||
|
@@ -217,7 +217,6 @@ struct Writer_s WriterVideoMPEG4 =
|
||||
&mpeg4p2_caps
|
||||
};
|
||||
|
||||
|
||||
struct Writer_s WriterVideoMSCOMP =
|
||||
{
|
||||
&reset,
|
||||
|
@@ -91,7 +91,6 @@ typedef struct avcC_s
|
||||
unsigned char Params[1]; /* {length,params}{length,params}...sequence then picture*/
|
||||
} avcC_t;
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Varaibles */
|
||||
/* ***************************** */
|
||||
|
@@ -175,4 +175,3 @@ struct Writer_s WriterAudioVORBIS =
|
||||
NULL,
|
||||
&caps_vorbis
|
||||
};
|
||||
|
||||
|
@@ -54,7 +54,6 @@
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Varaibles */
|
||||
/* ***************************** */
|
||||
|
@@ -58,7 +58,6 @@
|
||||
#define METADATA_STRUCT_B_FRAMERATE_START 32
|
||||
#define METADATA_STRUCT_C_START 8
|
||||
|
||||
|
||||
#define VC1_SEQUENCE_LAYER_METADATA_START_CODE 0x80
|
||||
#define VC1_FRAME_START_CODE 0x0d
|
||||
|
||||
@@ -84,14 +83,12 @@ static short debug_level = 0;
|
||||
#define vc1_err(fmt, x...)
|
||||
#endif
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
||||
static const unsigned char SequenceLayerStartCode[] = {0x00, 0x00, 0x01, VC1_SEQUENCE_LAYER_METADATA_START_CODE};
|
||||
|
||||
|
||||
static const unsigned char Metadata[] =
|
||||
{
|
||||
0x00, 0x00, 0x00, 0xc5,
|
||||
@@ -260,4 +257,3 @@ struct Writer_s WriterVideoVC1 =
|
||||
NULL,
|
||||
&caps
|
||||
};
|
||||
|
||||
|
@@ -171,7 +171,6 @@ struct Writer_s WriterAudioWMAPRO =
|
||||
&capsWMAPRO
|
||||
};
|
||||
|
||||
|
||||
static WriterCaps_t capsWMA =
|
||||
{
|
||||
"wma",
|
||||
|
@@ -80,7 +80,6 @@ static short debug_level = 0;
|
||||
#define wmv_err(fmt, x...)
|
||||
#endif
|
||||
|
||||
|
||||
/* ***************************** */
|
||||
/* Types */
|
||||
/* ***************************** */
|
||||
|
Reference in New Issue
Block a user