media/gpu/v4l2vda: replace image_processor_bitstream_buffer_ids_

Replace image_processor_bitstream_buffer_ids_ with a proper queue of
buffers currently being processed by the IP. This allows us to keep the
same functionality as before, while also keeping a reference to the VDA
output buffer for as long as we need. Prior to this we used to keep the
reference to the VDA buffer inside buffers_at_client_, which is not
quite correct.

Bug: 792790
Test: Ran VDA unittest on Hana and Peach_pit.

Change-Id: I01db64b98df47e2fa69df73cd54fad4d4c4a4942
Commit-Queue: Alexandre Courbot <>
Reviewed-by: Hirokazu Honda <>
Cr-Commit-Position: refs/heads/master@{#631540}
2 files changed