History log of /frameworks/av/media/ndk/NdkImageReader.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e31bc87213619054f18fcc8462641767e82a7eaf 22-Apr-2017 Jiwen 'Steve' Cai <jwcai@google.com> Minor updates AHardware accessor in AImageReader

1/ Be more explicit about what usage/format combination is supported.
2/ Get rid of usage1 following the same change in AHardwareBuffer.
3/ No more gralloc1 usage, so don't call android_convertGralloc1To0Usage
anymore.

Bug: 35114769
Bug: 37097572
Test: Ran AImageReaderCts
Change-Id: Ic712d0ac5bd86b2c4c68815125ba9037212dfd65
/frameworks/av/media/ndk/NdkImageReader.cpp
549a2ebbbddcd33c0510333430181a5edcc6beea 24-Apr-2017 Mathias Agopian <mathias@google.com> Plumb gralloc producer/consumer bits correctly

Bug: 33350696
Test: compile, boot device, cts
Change-Id: Ie05bcac25557a7c570ccadc850adb7c9697e144d
/frameworks/av/media/ndk/NdkImageReader.cpp
755ca9b427035040f3e1722b5f0db3720a08bbfa 01-Apr-2017 Jiwen 'Steve' Cai <jwcai@google.com> Use gralloc0 usage to init BufferItemConsumer

BufferItemConsumer is expecting gralloc0 usage, use
android_convertGralloc1To0Usage.

Also one minor log change: during acquireImageLocked, turn off the
warning when accquired buffer has different dimension than originally
configured on ImageReader. It is actually a legal operation for
IGraphicBufferProducer to change buffers dimension dynamically.

Bug: 35114769
Test: AImageReaderCts now passes with CPU_READ_OFTEN case.
Change-Id: I32015148437be56242a46c8e20ca33497e182ac2
/frameworks/av/media/ndk/NdkImageReader.cpp
e168996c51cbbc78790c2b3282c9455a5c7b667c 21-Feb-2017 Jiwen 'Steve' Cai <jwcai@google.com> Implementing new NdkImageReader APIs

Bug: 35114769
Test: Build (should have no functional change from headers change), and
run CTS test CtsNativeImageReaderTestCases on a Pixel.
Change-Id: Icb40196363d9f10a5d853c17f0bc378b6c27b3f6
/frameworks/av/media/ndk/NdkImageReader.cpp
2f1a4737c997d9589447a51974e3aaecafee2937 05-Feb-2017 Jiwen 'Steve' Cai <jwcai@google.com> Refactor AImage/AImageReader

1/ Use BufferItemConsumer instead of CpuConsumer for AImageReader.
2/ Delay lock image in AImage until the first time getPlaneXXX functions
get called.
3/ Add libmedia_jni as dependency so that we can reuse existing code
from android_media_Utils.h

Bug: 35114769
Test: Ran the following CTS test case from CtsCameraTestCases:
NativeCameraDeviceTest, NativeCameraManagerTest,
NativeImageReaderTest, NativeStillCaptureTest

Change-Id: Ia8dc451ea873e8290592deacc7f8d40360382f86
/frameworks/av/media/ndk/NdkImageReader.cpp
80ab5ab91c9a31192bc42c4326173d38e42bcc24 04-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "fallout of cleaning-up libutils includes"
de2a544846419f61080b8f7db427261807390747 08-Feb-2017 Jiwen 'Steve' Cai <jwcai@google.com> Add more AIMAGE_FORMAT for RGB formats

As we are adding AHardwareBuffer access through AImage and AImageReader,
we now need buffer formats used by GL/Vulkan.

Bug: 35114769
Test: Built system and ran native camera cts
Change-Id: I4157c933b411ab597799c933d18fc78ad3323eb5
/frameworks/av/media/ndk/NdkImageReader.cpp
05d19b08f3affa6fa8407e779f67e7ad1c1ca84f 01-Mar-2017 Mathias Agopian <mathias@google.com> fallout of cleaning-up libutils includes

Test: run & compile
Bug: n/a
Change-Id: I63585ed5a764b9ce7af2187b79ca0c83e683fd7f
/frameworks/av/media/ndk/NdkImageReader.cpp
1d0955cb5257a59f0ae435fefe26c05af4f4fbb6 16-May-2016 Yin-Chia Yeh <yinchiayeh@google.com> CameraNDK: fill in more NDK API documents

This change adds document for ACaptureRequest, ACameraMetadata,
AImage and AImageReader.

Bug: 27102995
Change-Id: I79d88f73258c01ebeabcd5b4e3b90996759cb021
/frameworks/av/media/ndk/NdkImageReader.cpp
214c833fcde68833691cc54d2a4cd995d7eb0e16 19-Feb-2016 Aurimas Liutikas <aurimas@google.com> Fix compiler warnings in frameworks/av/media/ndk.

Bug: 26936282
Change-Id: I86b32ef5a7e6b18974cbe4a885291acec2b2eb5f
/frameworks/av/media/ndk/NdkImageReader.cpp
c360382bf257d815b2a411152485d3c3b37a9f46 19-Jan-2016 Yin-Chia Yeh <yinchiayeh@google.com> NDK: AImageReader implementation

Bug: 23012001
Change-Id: I14341de141e6fc5817f397e849af35ccdb80d644
/frameworks/av/media/ndk/NdkImageReader.cpp