Change some shared lib references to header only, we don't have
any real dependency on libmedia or libmedia_omx here.
bug: 147585717
test: build
Change-Id: I007ff8a4a9079888dd2cd61baa8b94856d93aa55
To make sure the thumbnail generation doesn't block
surfaceflinger's rendering, use a separate render context
inside mediaserver at default priority.
Replace surfaceflinger side BufferQueueLayer (SurfaceControl)
with our own lightweight version, and mirror the setup of
renderengine to capture the buffer.
bug: 140894732
bug: 135717526
test: cts MediaMetadataRetrieverTest; manually test
rotation and crops.
Change-Id: Id5da476280af28b13ef19cbe1707ba0265c74f30
This reverts commit a0877dc731.
Reason for revert: Should work with go/pag/1465463 merging to master.
Change-Id: I17217744eacabf15621d4a5aac9dd1678e37e4ba
This change mainly aims at refactoring libmediahelper. Libmediahelper
doesn't need to be stored in media folder. In that case, move
libmediahelper related file to a new folder. In the meantime, move
AudioParameter.h from libaudioclient to libmediahelper. There is no
need to keep AudioParameter.h in libaudioclient while AudioParameter.cpp
is in libmediahelper.
Test: make
Bug: 135621476
Change-Id: Icce6615b7e3a68be8b7492f2a91922ab04464ca2
AudioPlayer was only used by the commandline utilities, so move it
out of libstagefright.
Test: build, run
Change-Id: I561cccd323206de7415bd235b72711194080aaea
Removing it doesn't have any effect on binary size, but makes it easier
to track dependencies.
Test: build
Change-Id: I0a792e48e781a73b920cb68c0daaa7920f08b8bf
Name changes:
ClearFileSource -> FileSource
ClearMediaHTTP -> MediaHTTP
FileSource -> PlayerServiceFileSource
MediaHTTP -> PlayerServiceMediaHTTP
PlayerServiceXXX are able to handle OMA(forward-lock) files and now
moved to media/libmediaplayerservice/datasource since they only work
on mediaserver process.
Bug: 142567168
Test: build and DrmTest
Change-Id: I9292dba33d149efe17cf566017dcce1710cc8c88
into libdatasource, which contains:
DataSourceFactory
(Clear)FileSource
(Clear)MediaHTTP
DataURISource
HTTPBase
NuCachedSource2
This is needed to break a circular dependency in an upcoming CL.
Test: build, boot
Change-Id: I34d9937235c78f18f51b18945342a0743e209577
Merged-In: I34d9937235c78f18f51b18945342a0743e209577
Some lib*extractors include DataSourceBase.h but are not
linking libstagefright which has the implementation.
This doesn't cause any build issue in normal build, but
it actually matters when NATIVE_COVERAGE=true which uses -O0.
Fixing by moving the implementation to the header.
Bug: 139459652
Test: m
Test: NATIVE_COVERAGE=true COVERAGE_PATHS="*" m
Change-Id: Ic955189ff9f0fbc48b5b35eccdb2916dc79fdb0f
Merged-In: Ic955189ff9f0fbc48b5b35eccdb2916dc79fdb0f
into libdatasource, which contains:
DataSourceFactory
(Clear)FileSource
(Clear)MediaHTTP
DataURISource
HTTPBase
NuCachedSource2
This is needed to break a circular dependency in an upcoming CL.
Test: build, boot
Change-Id: I34d9937235c78f18f51b18945342a0743e209577
- libstagefright_foundation: excluding Parcel related methods when building for vendor.
- libmedia_omx: moving MediaCodecList to libmedia.
Test: build.
Bug: 139201422
Change-Id: Ieb731a8112b1f3bdc6862059671e8a9dd31d88e1
The libnativeloader-dummy-headers target has been deprecated in favour
of the more appropriately named by otherwise identical
libnativeloader-headers
Test: m checkbuild
Change-Id: I176e0b345dea7d60d27a5fbdbcee34f7f1874088
Exempt-From-Owner-Approval: minor build change, owners unresponsive
Some lib*extractors include DataSourceBase.h but are not
linking libstagefright which has the implementation.
This doesn't cause any build issue in normal build, but
it actually matters when NATIVE_COVERAGE=true which uses -O0.
Fixing by moving the implementation to the header.
Bug: 139459652
Test: m
Test: NATIVE_COVERAGE=true COVERAGE_PATHS="*" m
Change-Id: Ic955189ff9f0fbc48b5b35eccdb2916dc79fdb0f
This reverts commit b4979c59d9.
Reason for revert: reland with fixes:
1) make OMXHarness use OMXClient, not directly IOMX wrappers.
2) fix ref of consumer listener interface in GraphicBufferSource.
bug: 129272021
Test: camera recording, aosp_x86 build
Change-Id: Idaaaf412c65cbe89c95a2cb54f3833ff1fc4c304
This reverts commit 482f60cccc.
Reason for revert: b/130058749 camera recording hang
Bug: 130058749
Change-Id: I358bc9c62c48328c01c8611c7e6f77d16affff54
- Make mediacodec service/libstagefright_omx not dependent
on libgui. Server should only reference bqhelper (which
currently still have a dependency on libgui, but could be
removed later as it's only used internally).
- Make libmedia_omx not dependent on libgui by moving the
IOMX wrapper code into a separately that's only used by
the platform.
- Move ConsumerListener references in GraphicBufferSource
to implementation only, so that other libs including
GraphicBufferSource doesn't need to link libgui.
- Remove bqhelper references from some client side libs.
- Remove IOMX ipc related code, as IOMX interface is no
longer used for ipc. It's only used as an interface on
client side.
bug: 129272021
test: builds;
atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small
Change-Id: I49d80bf72eba325ee80b223d4a5ba7b0c1ab4d35
platform private symbols have been moved to libdl_android.so
since they are not intended to be accessible from apps.
Test: make
Change-Id: I2ad02e0a6cdbf5b9aba323523dd56a2c378e72f0
libstagefright, libmedia_ndk and libmedia_omx
Also, fix the reference to HGraphicBufferProducer in
AImageReaderWindowHandleTest.
Test: Builds
Bug: 112508112
Change-Id: I2ce0e4fd395a0c733aaf98b7397d7183c7475672
Now OpusHeader.cpp is part of libstagefright_foundation.
This avoids a need to include libstagefright_opus_common as an
additional shared library
Bug: 115576456
Test: Tested with a Ogg writer using a local AMediaMuxer
based application
Change-Id: I102492676447c9f3677e2d418bd39d274ad4f392
Move DataSourceBase and MediaSource to libstagefright, and
MediaBuffer, MediaBufferGroup and MetaData to libstagefright_foundation.
Test: build
Change-Id: I4f0ae01d40a32f4b773a2f74d5f2ae136e375322