Use H2BGraphicBufferProducer at C2VdaBqBlockPool

Originally C2VdaBqBlockPool communicates with IGraphicBufferProducer
HAL directly. There are duplicated code for converting the result
from HAL types to usual types.

In this CL we consolidate the code for type conversion into the class
H2BGraphicBufferProducer. It simplifies the core implmementation of
C2VdaBqBlockPool, without changing the logic.

Bug: 160110407
Test: pass tast.arc.VideoDecodeAccel.h264_vm
Change-Id: I6b743c688be131f8bdb8ce5e9e918d6a64eddd5a
1 file changed
tree: 7dd7de747844cb1f17c8a90a69ccb9bfebc9f3ae
  1. accel/
  2. common/
  3. components/
  4. include/
  5. plugin_store/
  6. service/
  7. store/
  8. tests/
  9. .clang-format
  10. Android.mk
  11. C2VDAAdaptor.cpp
  12. C2VDAAdaptorProxy.cpp
  13. C2VDAComponent.cpp
  14. MODULE_LICENSE_BSD
  15. NOTICE
  16. OWNERS
  17. PREUPLOAD.cfg
  18. README.md
README.md

V4L2-based Codec2 Component Implementation

Description of Sub-folders

  • accel/ Core V4L2 API and codec utilities, ported from Chromium project.

  • common/ Common helper classes for both components/ and store/.

  • components/ The C2Component implementations based on V4L2 API.

  • store/ The implementation of C2ComponentStore. It is used for creating all the C2Components implemented at components/ folder.

  • service/ The Codec2's V4L2 IComponentStore service. The service initiates the component store implemented at store/ folder, and registers it as the default service.