Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6b6b1889 authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

C2SoftHevcDec: Initialize mStride after first header decode

After first header decode, decoder stride was set to ALIGN128(width),
but mStride that tracks the stride in the plugin wasn't set to this.

When allocated buffer has a stride that is different from
ALIGN128(width), this would lead to wrong stride used in the decoder.

Bug: 238984399
Test: atest CtsMediaV2TestCases -- --module-arg \
CtsMediaV2TestCases:instrumentation-arg:\
codec-prefix:=c2.android.hevc.decoder

Change-Id: I06886cc718a1b8b9fa247b248b23adb2feb80f90
parent 6906fb05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment