ref: 9b7be888839c884451646905bd54b5861aac592b
parent: b3c350a1a99ac89e81cff77d82a9a11c0a762600
author: John Koleszar <jkoleszar@google.com>
date: Wed Mar 13 13:09:05 EDT 2013
Fix pulsing issue with scaling Updates the YV12_BUFFER_CONFIG structure to be crop-aware. The exiting width/height parameters are left unchanged, storing the width and height algined to a 16 byte boundary. The cropped dimensions are added as new fields. This fixes a nasty visual pulse when switching between scaled and unscaled frame dimensions due to a mismatch between the scaling ratio and the 16-byte aligned sizes. Change-Id: Id4a3f6aea6b9b9ae38bdfa1b87b7eb2cfcdd57b6