V4L2DecodeInterface: use correct picture size to calculate size of input buffers

This CL removes unused variables at V4L2DecodeInterface, and uses the
correct picture size to calculate the size of input buffers.

Bug: 175270843
Test: com.google.android.media.gts.WidevineH264PlaybackTests#testCbcsL1WithUHD30
Change-Id: Ieaf4ee4355d462f9f70f890ef8dd2e140ac33771
2 files changed
tree: 53af7be4799976e4fb2432e180afbd8c4488ed55
  1. accel/
  2. common/
  3. components/
  4. plugin_store/
  5. service/
  6. store/
  7. tests/
  8. .clang-format
  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 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.