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

Commit f32782ab authored by Wonsik Kim's avatar Wonsik Kim
Browse files

codec2 hal: AIDL type conversion, step 3

Implement conversions for buffer types.

Reuse the function templates when applicable, and specialize for
AIDL-specific part of the code.

Bug: 251850069
Test: m && m libcodec2_aidl_client
Change-Id: I42dd434f08007b5ccbfc1e222e601043f24883f9
parent 604c767a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ cc_library {
    name: "libcodec2_aidl_client",

    srcs: [
        "BufferTypes.cpp",
        "ParamTypes.cpp",
    ],

@@ -17,7 +18,9 @@ cc_library {
    ],

    shared_libs: [
        "android.hardware.common-V2-ndk",
        "android.hardware.media.bufferpool@2.0",
        "android.hardware.media.bufferpool2-V1-ndk",
        "android.hardware.media.c2-V1-ndk",
        "libbinder_ndk",
        "libbase",
@@ -27,9 +30,14 @@ cc_library {
        "libcutils",
        "liblog",
        "libnativewindow",
        "libstagefright_aidl_bufferpool2",
        "libutils",
    ],

    static_libs: [
        "libaidlcommonsupport",
    ],

    export_include_dirs: [
        "include",
    ],