Skip to content

Commit 0614ecd

Browse files
pengwan1intel-mediadev
authored andcommitted
[Decode] [PDVT-SH] Fix vvc density r2r fail issue
the batch buffer size has already been multiplied by numSlices, do not repeat the calculation.
1 parent 0c6f2d5 commit 0614ecd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

media_softlet/agnostic/common/codec/hal/dec/vvc/pipeline/decode_vvc_pipeline.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021-2024, Intel Corporation
2+
* Copyright (c) 2021-2025, Intel Corporation
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a
55
* copy of this software and associated documentation files (the "Software"),
@@ -379,7 +379,7 @@ namespace decode
379379
PMHW_BATCH_BUFFER &batchBuf = m_sliceLevelBBArray->Fetch();
380380
DECODE_CHK_NULL(batchBuf);
381381
DECODE_CHK_STATUS(m_allocator->Resize(
382-
batchBuf, size, basicFeature.m_numSlices, notLockableVideoMem));
382+
batchBuf, size, 1, notLockableVideoMem));
383383
}
384384

385385
//Tile Level BB Array Allocation

0 commit comments

Comments
 (0)