Commit 1b0e0cdf authored by TARKZiM's avatar TARKZiM Committed by Bernhard Thoben
Browse files

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

This reverts commit 6478449f704c45bc06b95da577822162c41d2c69.
parent 42f2717d
......@@ -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
......
#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);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment