DescriptionUse the supplied memory for YUV decoding.
As some kind of optimization the yuv decoder replaced some pointers
to point to decoder-internal memory when an API user asked for
yuv data. That often worked, but failed if the data needed to
outlive the decoder. It was also a violation of the API contract.
This replaces that with a buffer copy. It will be slower but will avoid
random bitmap errors that also happened randomly on cq try bots.
This is a stopgap solution while a better solution is designed, coded and
tested.
BUG=455235
R=sugoi@chromium.org,dongseong.hwang@intel.com
Committed: https://crrev.com/a86ffa06e4415b155a96b9513ed2f18e0d9deaf6
Cr-Commit-Position: refs/heads/master@{#314865}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Added optimized copy for well aligned planes #Messages
Total messages: 14 (4 generated)
|