v4l2_codec2: Merge VideoFrame into VideoPixelFormat.

After the recent cleanup operations the only code left in the
VideoFrame class are helper functions directly related to the
VideoPixelFormat. This CL merges all these helpers into
video_pixel_format.h.

Additionally a helper in the VideoFrameLayout class is also moved to
the video_pixel_format.h, so all VideoPixelFormat-related helpers are
in one place.

Bug: 155138142
Test: arc.VideoEncodeAccel.h264_192p_i420_vm
Change-Id: I76699ecf69eb90fe890c1c272db058938b68062b
10 files changed
tree: 05e2675cb35d1d4482163027680e9fcf6c21351a
  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.