Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c9e7848 authored by Pawin Vongmasa's avatar Pawin Vongmasa
Browse files

Revert to new Codec2 HAL

This includes the following changes:
1. Revert commit 7570e3cd.
2. Revert commit 2a40d309b7eefe36d2f78bbff42aafad24eb65b0.
3. Use the new bufferpool (@2.0).
4. Use the old bufferqueue (@1.0).
5. Add IInputSink to eliminate downcasting from IBase.

Test: Builds
Bug: 112362730
Change-Id: I2b5f2e2821c62cbb7166320e1e128d883e278480
parent e8ef7232
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ hidl_interface {
        "IComponentListener.hal",
        "IComponentStore.hal",
        "IConfigurable.hal",
        "IInputSink.hal",
        "IInputSurface.hal",
        "IInputSurfaceConnection.hal",
    ],
+186 −150

File changed.

Preview size limit exceeded, changes collapsed.

+11 −12
Original line number Diff line number Diff line
@@ -19,21 +19,20 @@ package android.hardware.media.c2@1.0;
import IConfigurable;

/**
 * Component interface object. This object contains all of the configuration of
 * Component interface object. This object contains all of the configurations of
 * a potential or actual component. It can be created and used independently of
 * an actual Codec 2.0 component instance to query support and parameters for
 * various component settings and configurations for a potential component.
 * Actual components also expose this interface.
 */
interface IComponentInterface extends IConfigurable {
    /*
     * There are no additional methods to IConfigurable interface.
 * an actual Codec2 component to query supported parameters for various
 * component settings, and configurations for a potential component.
 *
     * Component interfaces have no states.
 * An actual component exposes this interface via IComponent::getInterface().
 */
interface IComponentInterface {
    /**
     * Returns the @ref IConfigurable instance associated to this component
     * interface.
     *
     * The name of the component or component interface object is a unique name
     * for that component or component interface 'class'; however, multiple
     * instances of that component must have the same name.
     * @return configurable `IConfigurable` instance. This must not be null.
     */
    getConfigurable() generates (IConfigurable configurable);
};
+70 −12

File changed.

Preview size limit exceeded, changes collapsed.

+94 −83

File changed.

Preview size limit exceeded, changes collapsed.

Loading