V4L2DecodeComponent: abandon pending work when drain is done.

Originally we forced the component into error state if there are any
pending frames when drain is done. That means these frames are either
no-show frames or dropped. It doesn't affect the following decoding.
This CL changes to abandon pending frames instead of reporting error.

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

Change-Id: I18511f14f70579718f434f316701ee1b77c1f6f0
1 file changed
tree: 7751e79f98a179e3f38bc1a67d0edce8e027c18f
  1. accel/
  2. common/
  3. components/
  4. plugin_store/
  5. service/
  6. tests/
  7. .clang-format
  8. Android.bp
  9. METADATA
  10. MODULE_LICENSE_BSD
  11. NOTICE
  12. OWNERS
  13. PREUPLOAD.cfg
  14. 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.