components/arc: AssignPictureBuffers informs only count
This is a partial revert of crrev.com/c/1694962. I was going to use frame size by AssignPictureBuffers(). However, the frame size is also known by ImportBufferForPicture(). The frame size in AssignPictureBuffers() even can be wrong in secure mode. So I would dealy and call VDA::AssignPictureBuffers() in GAVDA::ImportBufferForPicture on the first picture buffer. So the mojo change and GAVDA change in crrev.com/c/1694962 is unnecessary. NOTE: I haven't changed ARC++ and ChromeOS side for this mojo change. So it is safe to revert the mojo change. Bug: 979115 Test: None Change-Id: Ie8f7f3dd9e4b104ed2e590379ec86e88ad76e708 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1720298 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:Alexandre Courbot <acourbot@chromium.org> Reviewed-by:
Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#682662}
Showing
Please register or sign in to comment