summaryrefslogtreecommitdiff
path: root/libshims/camera_sdm660_shim.cpp
blob: 2b6c4f9b0c90daa88aa2e983ce9df489334de70f (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdint.h>

namespace android {
    extern "C" void _ZN7android13GraphicBuffer4lockEjPPvPiS3_(void* thisptr, uint32_t inUsage,
            void** vaddr, int32_t* outBytesPerPixel, int32_t* outBytesPerStride);

    extern "C" void _ZN7android13GraphicBuffer4lockEjPPv(void* thisptr, uint32_t inUsage,
            void** vaddr) {
        _ZN7android13GraphicBuffer4lockEjPPvPiS3_(thisptr, inUsage, vaddr, nullptr, nullptr);
    }
}