mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 18:11:02 +08:00
fix[vp9d]: Fix AFBC to non-FBC mode switch issue
When vp9 decoder switches from FBC mode to non-FBC mode it requires resetting the alignment function in buf_slot. Change-Id: I0c3e35e2c573d003192a2a82d9bdd9c30f42088c Signed-off-by: Hery Xu <hery.xu@rock-chips.com> Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -116,3 +116,13 @@ RK_U32 mpp_align_64(RK_U32 val)
|
||||
{
|
||||
return MPP_ALIGN(val, 64);
|
||||
}
|
||||
|
||||
RK_U32 mpp_align_128(RK_U32 val)
|
||||
{
|
||||
return MPP_ALIGN(val, 128);
|
||||
}
|
||||
|
||||
RK_U32 mpp_align_256_odd(RK_U32 val)
|
||||
{
|
||||
return MPP_ALIGN(val, 256) | 256;
|
||||
}
|
||||
|
Reference in New Issue
Block a user