v4l2_codec2: Add support for encoding to V4L2 device.

This CL adds support for encoding to the V4L2 device class by exposing
the path to the encode device node.

Bug: 143333813
Test: mmm external/v4l2_codec2
Change-Id: I66bb206fed21205ed6957a3a289baad64cbbf06a
1 file changed
tree: f5572f9c490bb167b6bb9365334fecb5ef8ccfb5
  1. accel/
  2. common/
  3. components/
  4. include/
  5. service/
  6. store/
  7. tests/
  8. .clang-format
  9. Android.mk
  10. C2EncoderInterface.cpp
  11. C2VDAAdaptor.cpp
  12. C2VDAAdaptorProxy.cpp
  13. C2VDAComponent.cpp
  14. C2VEAAdaptorProxy.cpp
  15. C2VEAComponent.cpp
  16. C2VEAFormatConverter.cpp
  17. MODULE_LICENSE_BSD
  18. NOTICE
  19. OWNERS
  20. PREUPLOAD.cfg
  21. 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.