Skip to content
Snippets Groups Projects
  • Chih-Yu Huang's avatar
    50e77c4f
    V4L2ComponentStore: Avoid dynamic loading shared library · 50e77c4f
    Chih-Yu Huang authored
    Originally V4L2ComponentStore and V4L2ComponentFactory depends on each
    other. To avoid circular dependency, V4L2ComponentStore dynamically
    loads the shared library of V4L2ComponentFactory.
    
    This CL removes the dependency from V4L2ComponentFactory to
    V4L2ComponentStore, and also avoid dynamic loading the shared library.
    
    Bug: 160110846
    Test: android.media.cts.AdaptivePlaybackTest
    
    Change-Id: I864b642035ea5b1572ee1d474ad12706147cbed1
    50e77c4f
    History
    V4L2ComponentStore: Avoid dynamic loading shared library
    Chih-Yu Huang authored
    Originally V4L2ComponentStore and V4L2ComponentFactory depends on each
    other. To avoid circular dependency, V4L2ComponentStore dynamically
    loads the shared library of V4L2ComponentFactory.
    
    This CL removes the dependency from V4L2ComponentFactory to
    V4L2ComponentStore, and also avoid dynamic loading the shared library.
    
    Bug: 160110846
    Test: android.media.cts.AdaptivePlaybackTest
    
    Change-Id: I864b642035ea5b1572ee1d474ad12706147cbed1

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.