Revert "kitakami-common: libshim: Add more shims for camera"

This reverts commit 6478449f70.
This commit is contained in:
TARKZiM 2020-08-04 16:05:05 +08:00
parent 5a39441ff4
commit 548fc050b5
2 changed files with 2 additions and 31 deletions

View File

@ -18,15 +18,12 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
camera.qcom_shim.cpp \
graphic-buffer.cpp \
MediaBuffer.cpp
graphic-buffer.cpp
LOCAL_SHARED_LIBRARIES := \
libgui \
liblog \
libui \
libstagefright \
libmedia
libui
LOCAL_C_INCLUDES := \
frameworks/native/include

View File

@ -1,26 +0,0 @@
#include <media/MediaCodecBuffer.h>
#include <media/stagefright/foundation/AHandler.h>
#include <utils/Vector.h>
namespace android {
extern "C" void _ZN7android10MediaCodec12CreateByTypeERKNS_2spINS_7ALooperEEERKNS_7AStringEbPiij(
const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err, pid_t pid, uid_t uid);
extern "C" void _ZNK7android10MediaCodec15getInputBuffersEPNS_6VectorINS_2spINS_16MediaCodecBufferEEEEE(Vector<sp<ABuffer> > *buffers); //Vector<sp<MediaCodecBuffer> > *buffers
extern "C" void _ZNK7android10MediaCodec16getOutputBuffersEPNS_6VectorINS_2spINS_16MediaCodecBufferEEEEE(Vector<sp<ABuffer> > *buffers); //Vector<sp<MediaCodecBuffer> > *buffers
extern "C" void _ZN7android10MediaCodec12CreateByTypeERKNS_2spINS_7ALooperEEERKNS_7AStringEbPii(
const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err, pid_t pid) {
_ZN7android10MediaCodec12CreateByTypeERKNS_2spINS_7ALooperEEERKNS_7AStringEbPiij(
looper, mime, encoder, err, pid, 0);
}
extern "C" void _ZNK7android10MediaCodec15getInputBuffersEPNS_6VectorINS_2spINS_7ABufferEEEEE(Vector<sp<ABuffer> > *buffers) {
_ZNK7android10MediaCodec15getInputBuffersEPNS_6VectorINS_2spINS_16MediaCodecBufferEEEEE(buffers);
}
extern "C" void _ZNK7android10MediaCodec16getOutputBuffersEPNS_6VectorINS_2spINS_7ABufferEEEEE(Vector<sp<ABuffer> > *buffers) {
_ZNK7android10MediaCodec16getOutputBuffersEPNS_6VectorINS_2spINS_16MediaCodecBufferEEEEE(buffers);
}
}