V4L2DecodeInterface: Use fixed number for C2_PARAMKEY_PICTURE_SIZE

Every C2ComponentInterface would be initiated at Android bootup time.
We want to avoid heavy action in the interface initialization.

This CL relaxes the parameter check by using the maximum fixed number
instead of querying the capability from V4L2 device.

Bug: 165826281
Test: pass tast.arc.VideoDecodeAccel.h264_vm
Change-Id: Id15deb2715f88dca3618c571087aa6d08410b7e3
1 file changed
tree: 59f4c3f54984ecc8a9328e671a32d50c62a1c486
  1. accel/
  2. common/
  3. components/
  4. plugin_store/
  5. service/
  6. store/
  7. tests/
  8. .clang-format
  9. MODULE_LICENSE_BSD
  10. NOTICE
  11. OWNERS
  12. PREUPLOAD.cfg
  13. 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.