clean build warning related encoder
This commit is contained in:
parent
eceb4e51ad
commit
5aa7cdedb8
@ -41,14 +41,6 @@
|
||||
#include "au_set.h"
|
||||
#include "svc_enc_golomb.h"
|
||||
namespace WelsSVCEnc {
|
||||
static const uint32_t g_kuiMaxDPBx2AtLevel[52] = { // *2 on the basic of Annex A, Table A-1, for int32_t type
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //0~9
|
||||
297, 675, 1782, 1782, 0, 0, 0, 0, 0, 0, //10, 11, 12, 13
|
||||
1782, 3564, 6075, 0, 0, 0, 0, 0, 0, 0, //20, 21, 22
|
||||
6075, 13500, 15360, 0, 0, 0, 0, 0, 0, 0, //30, 31, 32
|
||||
24576, 24576, 26112, 0, 0, 0, 0, 0, 0, 0, //40, 41, 42
|
||||
82800, 138240 //50, 51
|
||||
};
|
||||
|
||||
|
||||
#define LEVEL_NUMBER 16
|
||||
|
@ -115,37 +115,6 @@ static const uint8_t g_kuiTableBIdx[2][8] = {
|
||||
}, // table_bn_idx
|
||||
};
|
||||
|
||||
static const ALIGNED_DECLARE (int32_t, g_kiTableBlock8x8Idx[2][4][4], 16) = {
|
||||
{
|
||||
{0, 0, 2, 2},
|
||||
{0, 0, 2, 2},
|
||||
{1, 1, 3, 3},
|
||||
{1, 1, 3, 3}
|
||||
},
|
||||
|
||||
{
|
||||
{0, 0, 1, 1},
|
||||
{0, 0, 1, 1},
|
||||
{2, 2, 3, 3},
|
||||
{2, 2, 3, 3}
|
||||
}
|
||||
};
|
||||
static const ALIGNED_DECLARE (int32_t, g_kiTableBlock8x8NIdx[2][4][4], 16) = {
|
||||
{
|
||||
{1, 1, 3, 3},
|
||||
{0, 0, 2, 2},
|
||||
{0, 0, 2, 2},
|
||||
{1, 1, 3, 3}
|
||||
},
|
||||
|
||||
{
|
||||
{2, 2, 3, 3},
|
||||
{0, 0, 1, 1},
|
||||
{0, 0, 1, 1},
|
||||
{2, 2, 3, 3}
|
||||
}
|
||||
};
|
||||
|
||||
#define TC0_TBL_LOOKUP(iTc, iIdexA, pBS, bchroma) \
|
||||
{\
|
||||
iTc[0] = g_kiTc0Table(iIdexA)[pBS[0]] + bchroma;\
|
||||
|
@ -50,10 +50,6 @@ const ALIGNED_DECLARE (uint8_t, g_kuiZeroLeftMap[16], 16) = {
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7
|
||||
};
|
||||
|
||||
const ALIGNED_DECLARE (uint8_t, g_kuiTrailingOneIndex[8], 16) = {
|
||||
3, 0, 1, 0, 2, 0, 1, 0
|
||||
};
|
||||
|
||||
int32_t CavlcParamCal_c (int16_t* pCoffLevel, uint8_t* pRun, int16_t* pLevel, int32_t* pTotalCoeff ,
|
||||
int32_t iLastIndex) {
|
||||
int32_t iTotalZeros = 0;
|
||||
|
@ -961,5 +961,6 @@ void WelsDiamondCrossFeatureSearch (SWelsFuncPtrList* pFunc, SWelsME* pMe, SSlic
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} // namespace WelsSVCEnc
|
||||
|
||||
|
@ -77,7 +77,7 @@ void BaseEncoderTest::EncodeStream(InputStream* in, EUsageType usageType, int wi
|
||||
|
||||
BufferedData buf;
|
||||
buf.SetLength(frameSize);
|
||||
ASSERT_TRUE(buf.Length() == frameSize);
|
||||
ASSERT_TRUE(buf.Length() == (size_t)frameSize);
|
||||
|
||||
SFrameBSInfo info;
|
||||
memset(&info, 0, sizeof(SFrameBSInfo));
|
||||
|
@ -19,7 +19,7 @@ bool YUVPixelDataGenerator( uint8_t* pPointer, int32_t iWidth, int32_t iHeight,
|
||||
const int32_t kiFrameSize = SRC_FRAME_WIDTH*SRC_FRAME_HEIGHT;
|
||||
BufferedData sBuf;
|
||||
sBuf.SetLength(kiFrameSize);
|
||||
if (sBuf.Length() != kiFrameSize) {
|
||||
if (sBuf.Length() != (size_t)kiFrameSize) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user