f252dd8dc988e8fb4cc4d14c83283625ad225754 |
15-May-2018 |
Lajos Molnar <lajos@google.com> |
stagefright/foundation: add copy and move constructor/assignment to AData This was using default constructor/assignment that was not correct. Bug: 79493409 Change-Id: I450db03cf762067e1e2ce7d0ef8a0bf6703d327d
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AData.h
|
81fba53485fff85bb78f066069a395634771f46b |
10-May-2018 |
Lajos Molnar <lajos@google.com> |
stagefright/foundation: add entry getter/setters to AMessage Also add ability to set/find items regardless of type. This is much more efficient than trying findXYZ() for all types using the current API. Bug: 79494020 Change-Id: I6f4fd4f4554e3b0de1e6dc7a20f053e39650acf9
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AMessage.h
|
4def132784be3b3f434a0ca679d910edbac2e8c5 |
10-May-2018 |
Lajos Molnar <lajos@google.com> |
stagefright: make AMessage::Rect public Bug: 79494020 Change-Id: Ie2c1082e17175ad8ba606009a53a5ec7f1615865
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AMessage.h
|
85042380bf7ee3a43eb4cccacdaadfbbafc1522f |
10-May-2018 |
Lajos Molnar <lajos@google.com> |
stagefright: hide helper classes from export This is done to limit API breaking due to inadvertant symbol export. Bug: 79494020 Change-Id: I277ecbd3505c415101eb7bfcd780ff1bdaebec23
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AData.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/TypeTraits.h
|
1cc95d837531b9d80f37dc6c3b848cf000339388 |
05-Apr-2018 |
Lajos Molnar <lajos@google.com> |
stagefright: AMessage: allow finding, editing and removing entries Allow editing entry names and removing entries to avoid having to create copies and switch-banks to copy each value type. Bug: 64121714 Test: unit test Change-Id: I83aff86f6511cfbcf7c84fcca08f428ed32ede0b
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AMessage.h
|
fca6559a72ee52648133ea5220be85960a3560e0 |
14-Feb-2018 |
Marco Nelissen <marcone@google.com> |
Consolidate two MakeAACCodecSpecificData functions One was only used by the other, so integrate the two. Test: build, play AAC file Change-Id: I77fcb6092b2083c3aab4a27773258645f68b17eb
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/avc_utils.h
|
5ab530c595b923576c25af32b36401d83e8e0a4e |
01-Feb-2018 |
Lajos Molnar <lajos@google.com> |
Codec2/AUtils: rename nom to num for 'numerator' Change-Id: Ic357384ad35826fb668f43ad761365c8bc349587
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AUtils.h
|
7dc218e17800cc3ac95551e3280820f407adf7b5 |
29-Jan-2018 |
Dongwon Kang <dwkang@google.com> |
Move MetaData from foundation to libmediaextractor Test: cts-tradefed run cts-dev --module CtsMediaTestCases --compatibility:module-arg Change-Id: I2c5e05f83f039813cb4c862e929315e623d5d7fa CtsMediaTestCases:include-annotation:android.platform.test.annotations.RequiresDevice Bug: 67908544
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/avc_utils.h
|
bc8f53b8c1c220d9ce01526b6e3834f14af98ed5 |
26-Jan-2018 |
Dongwon Kang <dwkang@google.com> |
Revert "Revert "Move MediaBufferXXX from foundation to libmediaextractor"" This reverts commit 95a8bfab98a73a75eb60ecf2cc8683f4a1f04b35. Plus, keeps 'virtual' keyword for ~MediaBuffer which has a child class. Test: cts-tradefed run cts-dev --module CtsMediaTestCases --compatibility:module-arg CtsMediaTestCases:include-annotation:android.platform.test.annotations.RequiresDevice Bug: 67908542 Change-Id: Ib94d574d6bbd6245c174dd1c9bcca379015724cc
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ABuffer.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/MediaBufferBase.h
|
4b780702948d19caef60617666c69b6d7f64aa29 |
25-Jan-2018 |
Dongwon Kang <dwkang@google.com> |
Revert "Move MediaBufferXXX from foundation to libmediaextractor" This reverts commit f03606d9034730bea1a394e6803f9ebc36f3d2eb. Test: build and plays the file attached in the bug. Bug: 72479511 Change-Id: Ifdb8225a7140480649cecd52668ac7dcdd489252
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ABuffer.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/MediaBufferBase.h
|
4917675c7d45a024edb4af24e8df1fe6b3a4c074 |
25-Jan-2018 |
Marco Nelissen <marcone@google.com> |
Merge "Replace FOURCC macro with constexpr"
|
f92458812f4eeb95da65ac71323c100b428243d5 |
22-Jan-2018 |
Marco Nelissen <marcone@google.com> |
Replace FOURCC macro with constexpr And add an overload that takes a string argument, which means that. FOURCC('m', 'o', 'o', 'v') can also be written as FOURCC("moov"). Test: build, boot, compare generated assembly. Change-Id: I0850ad9c06e3fa3ad7ef2eedeb53c04c5cf289ca
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ByteUtils.h
|
f03606d9034730bea1a394e6803f9ebc36f3d2eb |
24-Jan-2018 |
Dongwon Kang <dwkang@google.com> |
Move MediaBufferXXX from foundation to libmediaextractor Removed MediaBufferBase in favor of MediaBufferHolder which contains a MediaBuffer inside. Instead of set/getMediaBufferBase, now it set/finds MediaBufferHolder in ABuffer->meta(). Test: build. pass MediaPlayerDrmTest and EncodeDecodeTest. Bug: 67908542 Change-Id: Icb4f7ac350a7876f5e4596bae8be2a9e95956c2f
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ABuffer.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/MediaBufferBase.h
|
587adb186a1d32e38138b2a5b44a1efe88553398 |
11-Jan-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes I2cff6070,I5b59a3fc * changes: stagefright: remove O-ABI specific requirements from ColorUtils stagefright: define ColorUtils enums independently from graphics HAL
|
15d02f84351eaca14099bde11cfbf6f124bea71f |
15-Dec-2017 |
Dongwon Kang <dwkang@google.com> |
Define constants in IStreamListener in MediaKeys.h Currently, constants in IStreamSource are being used in ATSParser while they are separate entities. This defines those constants in MediaKeys.h so that ATSParser can be used without depending on IStreamSource. This removes libmedia dependency from libmpeg2extractor. Test: build. Bug: 67908537 Change-Id: I503a4cdb530825b1932463efae999d120b839e56
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/MediaKeys.h
|
ea5523d88c6dc9662621db5fc62bf50eff0fe4ba |
12-Dec-2017 |
Chih-hung Hsieh <chh@google.com> |
Merge "Use -Werror in frameworks/av/services/mediaextractor" am: 5988a68bb3 am: 868705c87f am: d9ad45b8a5 Change-Id: Ic6679ffafbad08d2b6b6bac9bd8bcdddcd1c9c7a
|
5988a68bb31ab5cfb385a06e8e9432d3c5a4d05e |
12-Dec-2017 |
Chih-hung Hsieh <chh@google.com> |
Merge "Use -Werror in frameworks/av/services/mediaextractor"
|
53692fa54d0bf1d69184035a4c05ea0601a09c14 |
11-Dec-2017 |
Wei Jia <wjia@google.com> |
NuPlayer2: fork the native code for MediaPlayer2 Forked from fec2f93fae282ad10bbb5e3fcce9f60eff2cfb48 NuPlayer2Decoder uses NdkMediaCodec, NdkMediaCrypto. NuPlayer2Drm uses NdkMediaDrm. No more IMediaHTTPService and IMediaHTTPConnection in NuPlayer2. Test: compiles Bug: 69805888 Change-Id: Ica3c168d40dcf114fb44e8688a9ede671e8d77ef
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/avc_utils.h
|
36aa5a11bdad24f5ca23df8ea8e02f58df476af1 |
08-Dec-2017 |
Lajos Molnar <lajos@google.com> |
stagefright: remove O-ABI specific requirements from ColorUtils Bug: 68709151 Change-Id: I2cff60703e948e76beca169065ec0b493d697d94
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ColorUtils.h
|
04e0a45ef725ec2e34a7f579fba19d43941b924e |
28-Nov-2017 |
Lajos Molnar <lajos@google.com> |
stagefright: define ColorUtils enums independently from graphics HAL Graphics HAL changed in Android 8.0, but ColorUtils enums are exposed to Android SDK. Define ColorUtils enums directly and map to HAL enums as needed. Also add enums introduced in Android 8.0. Bug: 68709151 Change-Id: I5b59a3fcd045130c1840d8c811312cc6a38b11a7
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ColorUtils.h
|
2cf9b81a67ccd98e845182f0aa784dd92a09960a |
06-Dec-2017 |
Chih-Hung Hsieh <chh@google.com> |
Use -Werror in frameworks/av/services/mediaextractor * Allow redefinition of CHECK_OP in ADebug.h. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ia6dd0ac147f586ebdc4bbc63ac63b8b73040a83d
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ADebug.h
|
d3e0d861aa68a7ef129fe228595bff734448ebc8 |
03-Oct-2017 |
Chong Zhang <chz@google.com> |
heif: fixes for image sequences and dual-function files Adding support for two new sets of APIs on MediaMetadataRetriever: - getImageAtIndex() and getPrimaryImage() - getFrameAtIndex() and getFramesAtIndex() Outline of changes: - Proper indexing of all displayable still images, so that they can be retrieved by getImageAtIndex() - Exposing still images as "image/x.android.heic" tracks in MediaExtractor with necessary descriptive keys (such as "grid-*") - Support to retrieve video frames by absolute index instead of timestamps, as image use cases mostly are interested in getting the images and care less about timing. - Support to retrieve video frames in batches because retrieving one frame at a time is inefficient. - Refactor image / frame decoding code into FrameDecoder, and split still image decoding and video sequence decoding into to sub classes to facilite future development. bug: 63633199 test: cts-tradefed run cts-dev --module CtsMediaTestCases --compatibility:module-arg CtsMediaTestCases:include-annotation:android.platform.test.annotations.RequiresDevice Change-Id: I2fe8519fb6907f315a8b513921fc1cc7f436e28d
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/MediaDefs.h
|
d91dc5a0602f54fc0d4d2187f37b5b8169bb62c3 |
10-Oct-2017 |
Dongwon Kang <dwkang@google.com> |
Remove libmedia and libstagefright dependency from extractors - MediaSource, DataSource and MediaExtractor are moved to libmediaextractor so that they can be used by extractor implementations without depending on libmedia and libstagefright. - XXXFactory classes has been added in order not to expose CreateXXX methods in libmediaextractor. - avc_utils is moved to libstagefright_foundation since most of extractor implementations are relying on that. Test: build + post submit media CTS tests Bug: 65851881 Change-Id: I7d5cf18dd25abc10478ac3f6e7d1828ad023e3fb
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/avc_utils.h
|
e7a8a637a019d67983bdc858ba5e879431619d5a |
09-Oct-2017 |
Dongwon Kang <dwkang@google.com> |
Move MediaDefs from libmedia to libstagefright_foundation This is needed to remove the libmedia dependency from extractors. Other remaining dependencies like IMediaSource::ReadOptions will be addressed with a separate change. Test: build Bug: 65851881 Change-Id: I4460e960360db4847a0784732accd0cfe28a9ec0
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/MediaDefs.h
|
607612858f3afad1ade51a098aafa2a41523b5f7 |
09-Oct-2017 |
Dongwon Kang <dwkang@google.com> |
Move UXX_AT families to libstagefright_foundation Byte handling utilities moved to libstagefright_foundation so that they can be used in extractors without depending on libstagefright. Test: build Bug: 65851881 Change-Id: If72d8befadf3e63a93396f08efac0d6e3f4e273e
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ByteUtils.h
|
3dced075597b6457cbec377f4e0dabb81f6e5724 |
09-Oct-2017 |
Dongwon Kang <dwkang@google.com> |
Move AWakeLock from foundation to libmediaplayerservice This removes libpowermanager dependency from libstagefright_foundation. AWakeLock is being used only in libmediaplayerservice. Test: build Bug: 65851881 Change-Id: I1a34210f66fd4fdc30b7aa6467b642fd99b71731
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AWakeLock.h
|
999782fa3ff94607c0a814c8d447fad38c2c4c57 |
17-Aug-2017 |
Edwin Wong <edwinwong@google.com> |
Fix ClearKey Drm base64 en/decoding to use base64url. ClearKey's base64 en/decoding should use '-' and '_' instead of '+' and '/' (web safe coding). Add support for base64url coding in libstagefright foundation library and update ClearKey plugins. Test: CTS - ClearSystemTests ANDROID_BUILD_droid-cts/tools/cts-tradefed run cts -m CtsMediaTestCases --test android.media.cts.ClearKeySystemTest Test: CTS - NativeClearSystemTests ANDROID_BUILD_droid-cts/tools/cts-tradefed run cts -m CtsMediaTestCases --test android.media.cts.NativeClearKeySystemTest Test: libstagefright/foundation/tests/Base64_test adb shell /data/nativetest64/sf_foundation_test/sf_foundation_test Test: ClearKeyDrmUnitTest adb shell LD_LIBRARY_PATH="/vendor/lib/mediadrm" /data/nativetest/ClearKeyDrmUnitTest/ClearKeyDrmUnitTest Test: Vts vts-tradefed run commandAndExit vts -m VtsHalDrmV1_0Target --primary-abi-only -l VERBOSE bug: 64388098 Change-Id: Ic08515fd491f15e088600c64603149401c117f4a
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/base64.h
|
21c2d3dd09633f68419ddf517041c875b1295fd1 |
20-Jun-2017 |
Jiyong Park <jiyong@google.com> |
DO NOT MERGE: fix build error by moving remaining header files The four header files were not moved as they don't exist in aosp/master. Test: m -j Merged-In: Iabcb5469c4fd936c2d7c1f9a1113c557c8beab88 Change-Id: I578385276204601f78c86fc773ea88a535c9caea
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AData.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/FileDescriptor.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/Flagged.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/TypeTraits.h
|
4c86beec4601907a84db4a704f40e0d879d7de84 |
27-Apr-2017 |
Jiyong Park <jiyong@google.com> |
provide libstagefright_foundation_vendor to vendors libstagefright_foundation_vendor is a vendor-only variant of the libstagefright_foundation. Vendor libs and other VNDK libs should link against this _vendor.so library. This vendor-only variant does not have dependency to libpowermanager which is not available to vendors. Headers are moved from the global include dir to module-local include dir. This is because global include dir (e.g. frameworks/av/include) is not provided when building with BOARD_VNDK_VERSION=current. Instead the headers are exported via the module's export_include_dirs directive. Short summary on the directory movement: "some" libstagefright headers are moved from libstagefright/include to libstagefright/include/media/stagefright. This is because the headers are included as <media/stagefright/HEADER_NAME,h>. libstagefrigut_foundation headers are moved from libstagefright/include/foundation to libstagefright/foundation/include/media/stagefright/foundation. Again this is because the headers are included as <media/stagefright/foundation/HEADER_NAME.h>. Furthermore, in order to prevent sudden breakage, symlinks to the module-local header directories are added to the global include directory. frameworks/av/include/media/stagefright -> <libstagefright>/include/media/stagefright frameworks/av/include/media/stagefright/foundation -> <libstagefright_foundation>/include/media/stagefright/foundation Bug: 37462569 Test: sailfish builds and boots Test: BOARD_VNDK_VERSION=current m libstagefright_foundation_vendor is successful Merged-Id: Iadfa594e885e0bd39837ccb282993d3ba5b62852 Change-Id: Iadfa594e885e0bd39837ccb282993d3ba5b62852 (cherry picked from commit 093f0b7ab981049e7a6e6bbcf1e0712e1995ba68)
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AAtomizer.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ABase.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ABitReader.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ABuffer.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ADebug.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AHandler.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AHandlerReflector.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AHierarchicalStateMachine.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ALookup.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ALooper.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ALooperRoster.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AMessage.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ANetworkSession.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AString.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AStringUtils.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AUtils.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AWakeLock.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ColorUtils.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/MediaBufferBase.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/Mutexed.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ParsedMessage.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/base64.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/hexdump.h
|
093f0b7ab981049e7a6e6bbcf1e0712e1995ba68 |
27-Apr-2017 |
Jiyong Park <jiyong@google.com> |
provide libstagefright_foundation_vendor to vendors libstagefright_foundation_vendor is a vendor-only variant of the libstagefright_foundation. Vendor libs and other VNDK libs should link against this _vendor.so library. This vendor-only variant does not have dependency to libpowermanager which is not available to vendors. Headers are moved from the global include dir to module-local include dir. This is because global include dir (e.g. frameworks/av/include) is not provided when building with BOARD_VNDK_VERSION=current. Instead the headers are exported via the module's export_include_dirs directive. Short summary on the directory movement: "some" libstagefright headers are moved from libstagefright/include to libstagefright/include/media/stagefright. This is because the headers are included as <media/stagefright/HEADER_NAME,h>. libstagefrigut_foundation headers are moved from libstagefright/include/foundation to libstagefright/foundation/include/media/stagefright/foundation. Again this is because the headers are included as <media/stagefright/foundation/HEADER_NAME.h>. Furthermore, in order to prevent sudden breakage, symlinks to the module-local header directories are added to the global include directory. frameworks/av/include/media/stagefright -> <libstagefright>/include/media/stagefright frameworks/av/include/media/stagefright/foundation -> <libstagefright_foundation>/include/media/stagefright/foundation Bug: 37462569 Test: sailfish builds and boots Test: BOARD_VNDK_VERSION=current m libstagefright_foundation_vendor is successful Change-Id: Iadfa594e885e0bd39837ccb282993d3ba5b62852
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AAtomizer.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ABase.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ABitReader.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ABuffer.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AData.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ADebug.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AHandler.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AHandlerReflector.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AHierarchicalStateMachine.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ALookup.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ALooper.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ALooperRoster.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AMessage.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ANetworkSession.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AString.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AStringUtils.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AUtils.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/AWakeLock.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ColorUtils.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/FileDescriptor.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/Flagged.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/MediaBufferBase.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/Mutexed.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ParsedMessage.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/TypeTraits.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/base64.h
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/hexdump.h
|