summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-08-13Camera: Update doc to allow maxDigitalZoom to be less than maxZoomRatio am: ↵android-mainline-11.0.0_r35Shuzhen Wang2-12/+10
c8f279004f Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/12354170 Change-Id: Idcddbc95d34499f753153024b3449366f0017d9c
2020-08-11Camera: Update doc to allow maxDigitalZoom to be less than maxZoomRatioShuzhen Wang2-12/+10
Test: Build Bug: 163634334 Change-Id: Iaafa078d55699985538ff06ecff97a2fab0dfa9a
2020-07-14Make libcamera_metadata buildable for native_bridge am: e21d858f8bVictor Khimenko1-0/+2
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/12128191 Change-Id: I2631b764a98fb2a1114f3689a960c55724761b0a
2020-07-14Make libaudio_system_headers for renderscript am: 565fa696caVictor Khimenko1-0/+2
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/12128187 Change-Id: I7dc504d42671dcb9c59bebb4e206c9abcce3d6c7
2020-07-11Make libcamera_metadata buildable for native_bridgeaosp-new/android11-devVictor Khimenko1-0/+2
Bug: http://b/153609531 Test: m libcamera_metadata.native_bridge Change-Id: I10a5e77d8e706f4a9e20311c45af0f6af49d7729
2020-07-10Make libaudio_system_headers for renderscriptVictor Khimenko1-0/+2
Bug: http://b/153609531 Test: use libhardware_headers in native_bridge library Change-Id: Ia6261a15c7d83ffd12ba23e94c069dab01340ad9 Merged-In: Ia6261a15c7d83ffd12ba23e94c069dab01340ad9
2020-06-21Merge "Camera: Fix documentation, scripts, and comments for insensitive ↵TreeHugger Robot6-12/+14
language." into rvc-dev am: 3742676f29 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/11937678 Change-Id: Iee323d39ed8ec75ae3ccf3502b79dbd4d6062dad
2020-06-21Merge "Camera: Fix documentation, scripts, and comments for insensitive ↵TreeHugger Robot6-12/+14
language." into rvc-dev
2020-06-19Camera: Update physical stream cropping behavior am: f8139f91a2Shuzhen Wang2-26/+60
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/11457218 Change-Id: Ib80605d27b446dd01780de262f6e07342c79b03f
2020-06-19Camera: Fix documentation, scripts, and comments for insensitive language.Eino-Ville Talvala6-12/+14
Test: Builds Bug: 159480149 Change-Id: I04e8299edf42e56ca8720da2a9dca420a27b5472
2020-06-18Camera: Update physical stream cropping behaviorShuzhen Wang2-26/+60
Allow physical stream's field-of-view to be larger than that of the logical stream. Test: Build Bug: 155393103 Bug: 153583897 Bug: 157676445 Bug: 157138779 Change-Id: Ife0587e35b3495da92a96ce6dbd01ebc1033e68a
2020-06-05Camera: Fix python and binary check command am: 2687a33a24Shuzhen Wang1-2/+2
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/11761454 Change-Id: I5081f153934125b702523859e0b9f65bf54e38da
2020-06-05Camera: Fix python and binary check commandShuzhen Wang1-2/+2
Need to have proper package name in case they need to be installed Test: ./metadata-generate Bug: 158321682 Change-Id: I620eeaf2008f5c5b19b34a28bf8db3bbb5e234d0
2020-06-03Merge "spdif: fix possible buffer overflow" into qt-dev am: 31759bef66 am: ↵TreeHugger Robot4-11/+31
4e58bb55b1 am: c7eea4d86b Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/11445945 Change-Id: I2d21cbc603af01f8ce2c2c95eabe167777fae09b
2020-06-03audio_utils: test SPDIFEncoder am: 4523a5863f am: 2f1344bf78 am: 30a601b839Phil Burk2-0/+169
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/11445944 Change-Id: Ibab91c7647dd64f7e9d642d97445451072172279
2020-06-03Merge "spdif: fix possible buffer overflow" into qt-dev am: 31759bef66 am: ↵TreeHugger Robot4-11/+31
4e58bb55b1 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/11445945 Change-Id: Ife84ce3db921b0c728c8decda696d6fcd6707033
2020-06-03audio_utils: test SPDIFEncoder am: 4523a5863f am: 2f1344bf78Phil Burk2-0/+169
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/11445944 Change-Id: I2e6cf9ccd4e7ec471ddb9aa11ba6856c72a59d6c
2020-06-03Merge "spdif: fix possible buffer overflow" into qt-dev am: 31759bef66TreeHugger Robot4-11/+31
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/11445945 Change-Id: Ic5515a88f85045ea546d9e3be2c34d6b66248adc
2020-06-03audio_utils: test SPDIFEncoder am: 4523a5863fPhil Burk2-0/+169
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/media/+/11445944 Change-Id: I15065384d9625bfe1a1d4e5d2b88389151fb751e
2020-06-03Merge "spdif: fix possible buffer overflow" into qt-devTreeHugger Robot4-11/+31
2020-05-14Merge "Camera: Update documentation for rolling shutter skew" into rvc-dev ↵Eino-Ville Talvala2-14/+36
am: 43d874ba0a Change-Id: I44737d6f21399f67a4f0f2e3c1cea8cf13ac7d5d
2020-05-14Merge "Camera: Update documentation for rolling shutter skew" into rvc-devEino-Ville Talvala2-14/+36
2020-05-12audio_utils: test SPDIFEncoderPhil Burk2-0/+169
Test SPDIF and AC3FrameScanner Bug: 145262423 Test: atest spdif_tests Test: But if that does not work, try this: Test: mmm system/media/audio_utils Test: adb push $OUT/data/nativetest64/spdif_tests/spdif_tests /system/bin/. Test: adb shell spdif_tests Change-Id: I411a9b911f5e5e7a0528f9a9bc4bcb29e0657b62 Merged-In: I411a9b911f5e5e7a0528f9a9bc4bcb29e0657b62
2020-05-12spdif: fix possible buffer overflowPhil Burk4-11/+31
SPDIF burst buffer could overflow if given bad data. Check for frmsiz in header being too low. Prevent numeric overflow in pending bytes calculation. Prevent numeric overflow when checking for buffer overflow. Bug: 145262423 Test: tests/spdif_tests.cpp Change-Id: Ifc7f8c8946388e19f39f35d649a5936568f8b9b2 Merged-In: Ifc7f8c8946388e19f39f35d649a5936568f8b9b2
2020-05-12Merge "Camera: Move metadata generation scripts to python3" into rvc-dev am: ↵Eino-Ville Talvala14-110/+112
0ee5b3713c Change-Id: I70be2339b628a29502268d530920558b088af7b2
2020-05-12Merge "Camera: Move metadata generation scripts to python3" into rvc-devEino-Ville Talvala14-110/+112
2020-05-11Merge "Metadata: Fix comments and add test example" into rvc-dev am: 2ea0ae67ceAndy Hung2-3/+81
Change-Id: I365c1ff8b709550d00026876273b69d2baefc055
2020-05-11Merge "Metadata: Fix comments and add test example" into rvc-devAndy Hung2-3/+81
2020-05-11Camera: Update documentation for rolling shutter skewEino-Ville Talvala2-14/+36
Existing definition was inconsistent, so update it to be consistent and match what implementations have actually done. Test: Builds Bug: 150331548 Change-Id: Ie7782934c10f7e7b8f32f11f5ee6120ccba24cab
2020-05-11Camera: Move metadata generation scripts to python3Eino-Ville Talvala14-110/+112
Python2 is at end of life, and python2 packages are disappearing from standard packages available on linux. Also fix a minor doc formatting bug that the newer markdown parser made more visible. Test: Test generation script runs on glinux workstation Bug: 150331548 Change-Id: Ib8d4ac9544df18c7c722985d96f5059eeb4f1bbd
2020-05-08Merge "Set sdk_version for libaudioutils_headers" into rvc-dev am: f65a064d28Colin Cross1-0/+1
Change-Id: Ibe767022bedb4d7742de04a94e29299722b96896
2020-05-08Merge "Set sdk_version for libaudioutils_headers" into rvc-devColin Cross1-0/+1
2020-05-08Metadata: Fix comments and add test exampleAndy Hung2-3/+81
Test: atest metadata_tests Bug: 150175043 Change-Id: Iaa454380868a8d098f44b5375d737e2fbfda6638
2020-05-08Add constants for encapsulation modes and metadata types. am: 3d8cf38893jiabin3-0/+35
Change-Id: I1038033c4e4f8bab84baacccb786420ab104ddb1
2020-05-07Set sdk_version for libaudioutils_headersColin Cross1-0/+1
Set sdk_version for libaudioutils_headers to make it available to the SDK variant of libaudio_jni. Bug: 150903948 Test: mmma cts/tests/tests/media Change-Id: Iac877f683ca42ca2523086d3f9a9ccc202864552
2020-05-08Add constants for encapsulation modes and metadata types.jiabin3-0/+35
Add constants for encapsulation modes and metadata types. Add arrays as collections for those constants. Add parameters to support query supported encapsulation modes and metadata types. Test: manually Bug: 155799506 Change-Id: I832ec5d48fe79d1b1429e7e1f1c641d45464c86d
2020-04-27Set min_sdk_version to be part of mainline modulesJooyung Han2-1/+5
Modules contributing mainline modules (APK/APEX) should set min_sdk_version as well as apex_available. For now setting min_sdk_version doesn't change build outputs. But build-time checks will be added soon. Bug: 152655956 Test: m Merged-In: I5294876cd4a234d157db1b83de4714de87394a47 Change-Id: I5294876cd4a234d157db1b83de4714de87394a47 (cherry picked from commit b5eaebaa692f03c3750e67c887e2a4e30bf1a641)
2020-04-17audio: Centralize audio configuration paths specificationMikhail Naganov1-0/+49
The list of possible paths for the audio configuration files is now retrieved using audio_get_configuration_paths() function. All duplicated lists of known configuration directories have been removed. Bug: 153680356 Test: test audio on built image working atest VtsHalAudioV6_0TargetTest VtsHalAudioPolicyV6_0TargetTest Change-Id: I5340e2200f2ab45fcd80a2144c0e04e099da9276 Merged-In: I5340e2200f2ab45fcd80a2144c0e04e099da9276
2020-03-23Camera: Add visual samples for android.control.zoomRatioShuzhen Wang6-60/+172
To better document how android.control.zoomRatio works, add diagrams to illustrate its relationship with scalerCropRegion. Also add the source .graffle file to the repository. Test: Build and read docs Bug: 144780745 Change-Id: I893196f1e50bbaaea629272e3c7f7245de6982cb
2020-03-21Merge "Camera: Create extended scene mode in lieu of standalone bokeh mode" ↵TreeHugger Robot5-228/+296
into rvc-dev
2020-03-21Merge "Mandate no sharing of physical camera ids between logical ↵TreeHugger Robot2-0/+20
SYSTEM_CAMERA and public camera devices." into rvc-dev
2020-03-20Mandate no sharing of physical camera ids between logical SYSTEM_CAMERA and ↵Jayant Chowdhary2-0/+20
public camera devices. Bug: 152053830 Test: builds Change-Id: Iff48cf3f6f4760cdfb993337383505d50e2202c8 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-03-20Camera: Create extended scene mode in lieu of standalone bokeh modeShuzhen Wang5-228/+296
Migrate BOKEH_MODE_STILL_CAPTURE and BOKEH_MODE_CONTINUOUS to be 2 enums of CONTROL_EXTENDED_SCENE_MODE. Bug: 151759402 Test: Camera VTS, CTS Change-Id: Ic62b072d62a46ba61c109c374e530d6c11786230
2020-03-20audio_utils: Handle error caseGreg Kaiser1-0/+1
We missed the 'return' in one of our error cases. We add it here to avoid a potential null pointer dereference. Test: TreeHugger Bug: 151346504 Change-Id: I325ec5b8b938ff5abe2f1a10e083229ec99f01f9
2020-03-20Merge "Add C API for audio metadata." into rvc-devTreeHugger Robot4-6/+498
2020-03-19Add C API for audio metadata.jiabin4-6/+498
The C API works the same as C++ version. It provides the interfaces to use audio metadata in C since there are audio HALs written in C. Bug: 151346504 Test: atest metadata_tests Change-Id: I12639dae3ef67839d27eeb6f4ab17353f237f2e8
2020-03-19RESTRICT AUTOMERGE: Camera: Hide ROTATE_AND_CROP controlsEino-Ville Talvala4-12/+15
Feature not complete for Android 11 Test: Adjusted camera CTS continues to pass Bug: 150036107 Change-Id: I12ca2d7ce0319d0e2b04a8c8e9e31d37b825d594
2020-03-19Merge "camera docs: add mandatory concurrent stream combinations to ↵Jayant Chowdhary3-1/+108
metadata_definitions.xml" into rvc-dev
2020-03-18camera docs: add mandatory concurrent stream combinations to ↵Jayant Chowdhary3-1/+108
metadata_definitions.xml Bug: 151462833 Test: builds Change-Id: Ib2cfef293b69eb8ca9ae92fe7b5875752c116683 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-03-17Camera: clarify offline processing specYin-Chia Yeh2-6/+8
For PRIVATE_REPROCESSING a pair of ImageReader/ImageWriter is needed. Test: visual inspect generated docs.html Bug: 149346795 Change-Id: I22037acaeac7f95d48d9fe718fe66e0591b675f4