mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-28 16:00:58 +02:00
libeplayer3-arm: Code formatting
Origin commit data
------------------
Branch: master
Commit: ae31a0f3e7
Author: max_10 <max_10@gmx.de>
Date: 2017-12-28 (Thu, 28 Dec 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
|
||||
#include "dcprediction.h"
|
||||
|
||||
|
||||
// M4V ADDED
|
||||
static const uint8 mpeg4_y_dc_scale_table[32] =
|
||||
{
|
||||
|
@@ -40,7 +40,6 @@ typedef struct _M4V_DCPRED
|
||||
int y_dc_scale;
|
||||
int c_dc_scale;
|
||||
|
||||
|
||||
} M4V_DCPRED;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
2
libeplayer3-arm/external/flv2mpeg4/src/flv.h
vendored
2
libeplayer3-arm/external/flv2mpeg4/src/flv.h
vendored
@@ -65,7 +65,6 @@ typedef struct _PICTURE
|
||||
int width;
|
||||
int height;
|
||||
|
||||
|
||||
#define FLV_I_TYPE 0
|
||||
#define FLV_P_TYPE 1
|
||||
|
||||
@@ -157,5 +156,4 @@ static const int8 rl_inter_run[102] =
|
||||
static const int rl_inter_n = 102;
|
||||
static const int rl_inter_last = 58;
|
||||
|
||||
|
||||
#endif // FLV_H
|
||||
|
@@ -41,7 +41,6 @@ typedef struct _CONVCTX
|
||||
M4V_VOL vol;
|
||||
} CONVCTX;
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint8 *out_buf;
|
||||
@@ -65,7 +64,6 @@ static const uint8 ff_mpeg4_c_dc_scale_table[32] =
|
||||
0, 8, 8, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 20, 21, 22, 23, 24, 25
|
||||
};
|
||||
|
||||
|
||||
static void copy_vol(PICTURE *flv_pic, M4V_VOL *vol)
|
||||
{
|
||||
vol->width = flv_pic->width;
|
||||
@@ -284,6 +282,3 @@ void flv2mpeg4_release_ctx(flv2mpeg4_CTX **pub_ctx)
|
||||
free(*pub_ctx);
|
||||
*pub_ctx = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@@ -38,7 +38,6 @@ static const uint8 zig_zag_scan[64] =
|
||||
58, 59, 52, 45, 38, 31, 39, 46, 53, 60, 61, 54, 47, 55, 62, 63
|
||||
};
|
||||
|
||||
|
||||
static const VLCtab vlc_table_intra_MCBPC[] = //: table_size=72 table_allocated=128 bits=6
|
||||
{
|
||||
{64, -3},
|
||||
@@ -128,7 +127,6 @@ static const VLCtab vlc_table_rl_inter[] = //: table_size=554 table_allocated=10
|
||||
{100, 3}, {101, 3}, {8, 1}, {7, 1}
|
||||
};
|
||||
|
||||
|
||||
static const VLCtab vlc_table_mv[] = //mv_vlc: table_size=538 table_allocated=1024 bits=9
|
||||
{
|
||||
{512, -3}, {520, -2}, {524, -1}, {526, -1}, {528, -1}, {530, -1}, {532, -1}, {534, -1}, {536, -1}, {10, 9},
|
||||
|
2
libeplayer3-arm/external/flv2mpeg4/src/m4v.h
vendored
2
libeplayer3-arm/external/flv2mpeg4/src/m4v.h
vendored
@@ -134,6 +134,4 @@ static const uint8 alternate_vertical_scan[64] =
|
||||
38, 46, 54, 62, 39, 47, 55, 63,
|
||||
};
|
||||
|
||||
|
||||
#endif // M4V_H
|
||||
|
||||
|
@@ -293,7 +293,6 @@ static void __inline encode_inter_8x8_MCBPC(BW *bw, int cbpc)
|
||||
put_bits(bw, vlce_inter_MCBPC_bits[cbpc + 16], vlce_inter_MCBPC_code[cbpc + 16]);
|
||||
}
|
||||
|
||||
|
||||
// same as H.263
|
||||
static void __inline encode_cbpy(BW *bw, int cbpy)
|
||||
{
|
||||
|
Reference in New Issue
Block a user