Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions media_driver/agnostic/common/cm/cm_mem.h
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ inline void FastMemCopy_SSE2_movntdq_movdqa(
CM_ASSERT( IsAligned( dst, sizeof(DQWORD) ) );
CM_ASSERT( IsAligned( src, sizeof(DQWORD) ) );

const size_t doubleQuadWordsPerPrefetch = sizeof(PREFETCH) / sizeof(DQWORD);
const size_t doubleQuadWordsPerPrefetch = sizeof(PREFETCH) / (sizeof(DQWORD));

// Prefetch the src data
Prefetch( (uint8_t*)src );
Expand Down Expand Up @@ -434,7 +434,7 @@ inline void FastMemCopy_SSE2_movdqu_movdqa(
{
CM_ASSERT( IsAligned( src, sizeof(DQWORD) ) );

const size_t doubleQuadWordsPerPrefetch = sizeof(PREFETCH) / sizeof(DQWORD);
const size_t doubleQuadWordsPerPrefetch = sizeof(PREFETCH) / (sizeof(DQWORD));

// Prefetch the src data
Prefetch( (uint8_t*)src );
Expand Down Expand Up @@ -488,7 +488,7 @@ inline void FastMemCopy_SSE2_movntdq_movdqu(
{
CM_ASSERT( IsAligned( dst, sizeof(DQWORD) ) );

const size_t doubleQuadWordsPerPrefetch = sizeof(PREFETCH) / sizeof(DQWORD);
const size_t doubleQuadWordsPerPrefetch = sizeof(PREFETCH) / (sizeof(DQWORD));

// Prefetch the src data
Prefetch( (uint8_t*)src );
Expand Down Expand Up @@ -540,7 +540,7 @@ inline void FastMemCopy_SSE2_movdqu_movdqu(
const void* src,
const size_t doubleQuadWords )
{
const size_t doubleQuadWordsPerPrefetch = sizeof(PREFETCH) / sizeof(DQWORD);
const size_t doubleQuadWordsPerPrefetch = sizeof(PREFETCH) / (sizeof(DQWORD));

// Prefetch the src data
Prefetch( (uint8_t*)src );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ void CodecHalEncodeSfc::GetCscMatrix(
float *cscInOffset, // [out] [3x1] Input Offset matrix
float *cscOutOffset) // [out] [3x1] Output Offset matrix
{
float cscMatrix[12];
float cscMatrix[12] = {};
int32_t i;

GetCSCMatrix(
Expand Down