marble: add libcodec2_hidl_shim library and implementation for codec2 HIDL interface
This commit is contained in:
8
libshim/Android.bp
Normal file
8
libshim/Android.bp
Normal file
@ -0,0 +1,8 @@
|
||||
cc_library_shared {
|
||||
name: "libcodec2_hidl_shim",
|
||||
srcs: ["libcodec2_hidl_shim/libcodec2_hidl_shim.cpp"],
|
||||
shared_libs: [
|
||||
"libcodec2_hidl@1.0",
|
||||
],
|
||||
vendor_available: true,
|
||||
}
|
11
libshim/libcodec2_hidl_shim/libcodec2_hidl_shim.cpp
Normal file
11
libshim/libcodec2_hidl_shim/libcodec2_hidl_shim.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include <stdint.h>
|
||||
|
||||
namespace android {
|
||||
extern "C" void _ZN7android8hardware5media2c24V1_05utils6objcpyEPNS3_10WorkBundleERKNSt3__14listINS7_10unique_ptrI6C2WorkNS7_14default_deleteISA_EEEENS7_9allocatorISD_EEEEPNS_16BufferPoolSenderINS4_15BufferPoolTypesEEE(
|
||||
void* thisptr, void* list, bool param1, bool param2);
|
||||
|
||||
extern "C" void _ZN7android8hardware5media2c24V1_05utils6objcpyEPNS3_10WorkBundleERKNSt3__14listINS7_10unique_ptrI6C2WorkNS7_14default_deleteISA_EEEENS7_9allocatorISD_EEEEPNS4_16BufferPoolSenderE(
|
||||
void* thisptr, void* list, bool param1, bool param2) {
|
||||
_ZN7android8hardware5media2c24V1_05utils6objcpyEPNS3_10WorkBundleERKNSt3__14listINS7_10unique_ptrI6C2WorkNS7_14default_deleteISA_EEEENS7_9allocatorISD_EEEEPNS_16BufferPoolSenderINS4_15BufferPoolTypesEEE(thisptr, list, param1, param2);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user