Skip to content

Commit e79bfc1

Browse files
jinyuan-devgfxVPLsdm
authored andcommitted
Fix build errors in clang
1 parent 872ccc1 commit e79bfc1

File tree

4 files changed

+17
-15
lines changed

4 files changed

+17
-15
lines changed

_studio/mfx_lib/vpp/src/mfx_vpp_ai_frame_interpolation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ mfxStatus MFXVideoFrameInterpolation::InitScd(const mfxFrameInfo& inFrameInfo, c
146146
bool MFXVideoFrameInterpolation::IsVppNeededForVfi(const mfxFrameInfo& inInfo, const mfxFrameInfo& outInfo)
147147
{
148148
// kernel only support RGB
149-
if (outInfo.FourCC != MFX_FOURCC_RGB4 ||
149+
if (outInfo.FourCC != MFX_FOURCC_RGB4 &&
150150
outInfo.FourCC != MFX_FOURCC_BGR4)
151151
{
152152
return true;

_studio/shared/umc/codec/vvc_dec/include/umc_vvc_au_splitter.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ namespace UMC_VVC_DECODER
7777
{
7878
public:
7979

80+
virtual ~Splitter_VVC() = default;
81+
8082
void Reset()
8183
{
8284
m_iCodeSearcher.Reset();

_studio/shared/umc/codec/vvc_dec/include/umc_vvc_dec_defs.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -373,23 +373,23 @@ namespace UMC_VVC_DECODER
373373
// Scaling list initialization scan lookup table
374374
static ScanElement sigLastScanCG32x32[64] =
375375
{
376-
0, 8, 1, 16, 9, 2, 24, 17,
377-
10, 3, 32, 25, 18, 11, 4, 40,
378-
33, 26, 19, 12, 5, 48, 41, 34,
379-
27, 20, 13, 6, 56, 49, 42, 35,
380-
28, 21, 14, 7, 57, 50, 43, 36,
381-
29, 22, 15, 58, 51, 44, 37, 30,
382-
23, 59, 52, 45, 38, 31, 60, 53,
383-
46, 39, 61, 54, 47, 62, 55, 63
376+
{0}, {8}, {1}, {16}, {9}, {2}, {24}, {17},
377+
{10}, {3}, {32}, {25}, {18}, {11}, {4}, {40},
378+
{33}, {26}, {19}, {12}, {5}, {48}, {41}, {34},
379+
{27}, {20}, {13}, {6}, {56}, {49}, {42}, {35},
380+
{28}, {21}, {14}, {7}, {57}, {50}, {43}, {36},
381+
{29}, {22}, {15}, {58}, {51}, {44}, {37}, {30},
382+
{23}, {59}, {52}, {45}, {38}, {31}, {60}, {53},
383+
{46}, {39}, {61}, {54}, {47}, {62}, {55}, {63}
384384
};
385385

386386
// Scaling list initialization scan lookup table
387387
static ScanElement ScanTableDiag4x4[16] =
388388
{
389-
0, 4, 1, 8,
390-
5, 2, 12, 9,
391-
6, 3, 13, 10,
392-
7, 14, 11, 15
389+
{0}, {4}, {1}, {8},
390+
{5}, {2}, {12}, {9},
391+
{6}, {3}, {13}, {10},
392+
{7}, {14}, {11}, {15}
393393
};
394394
// Default scaling list 4x4
395395
static const int quantTSDefault4x4[4 * 4] =

_studio/shared/umc/codec/vvc_dec/include/umc_vvc_va_packer_vaapi.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ namespace UMC_VVC_DECODER
4646
{
4747
public:
4848
PackerVA(UMC::VideoAccelerator * va);
49-
void PackAU(VVCDecoderFrame *pFrame, DPBType dpb);
49+
void PackAU(VVCDecoderFrame *pFrame, DPBType dpb) override;
5050

5151
UMC::Status GetStatusReport(void * pStatusReport, size_t size) override;
52-
UMC::Status SyncTask(int32_t index, void * error);
52+
UMC::Status SyncTask(int32_t index, void * error) override;
5353
UMC::Status QueryTaskStatus(int32_t index, void * status, void * error);
5454

5555
void BeginFrame() override;

0 commit comments

Comments
 (0)