V4L2Decoder: setup the output pixel format when resolution change

This CL setups the supported pixel format when resolution change.
Currently the supported pixel format is flexible 420 format.

Bug: 170199771
Test: android.media.cts.AdaptivePlaybackTest

Change-Id: Ic1b8f5c23fa5ff14c5dba026e0d927df092a6351
2 files changed
tree: 7951145509068d268b8fff7fc02070154ebf0501
  1. common/
  2. components/
  3. plugin_store/
  4. service/
  5. tests/
  6. .clang-format
  7. Android.bp
  8. METADATA
  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 components.

  • components/ The C2Component implementations based on V4L2 API, and the implementation of C2ComponentStore for creating all the C2Components.

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