| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| | |
Needed for moving to clang
Change-Id: I984ce0d452bcd9025d743c0f081bb0d22587b106
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
Add in hooks to route CameraSourceTimeLapse creation to AVFactory so
that we can add our customizations.
Change-Id: I309a247ba6e3c5626cfba096677a6dbfeae543f3
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On a teardown event, follow proper shutdown sequence
if the decoder instance type is not passthrough.
This is needed to ensure NuPlayerDecoder, MediaCodec do
not enter an invalid state due to forced clear while
handling a teardown event.
CRs-Fixed: 916643
Change-Id: Ied5df07dc8567974ef02e3a0bb415795f31f2ed2
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
-Start the Decoded PCM offload playback on speaker or headset and
connect BT, audio is not played on BT.
-During tear down event on BT connection, instantiation of decoder
is initated before actual shut down of decoder completes.So
decoder is not getting instantiated again after tear down event.
It is a race condition between instantiation of Decoder and
shut down of decoder.
-Defer the instantiation of decoder in intermediate state
CRs-Fixed: 916643, 829392
Change-Id: Ic346cb7bb7b1babe21618daa8f8746c00f4b61b3
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
MediaCodec could send out message of output buffer available right before
it hits an error and clears its buffers.
Change-Id: I1b11c88cdcb3fca7ddd6103c6d3d28642304f079
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the component is force-released after timeout, there could be
a race condition where component posted a message just before it
was released. This posted message will cause ACodec to wrongly
invoke OMX API on the component which was freed already.
Move ACodec to uninitialized state where all component messages
will be safely ignored.
Change-Id: I71da7c7d021210fd6bed44761740161a5d8894e7
CRs-Fixed: 884165
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
This reverts commit e17afa888040eb5fbd31249305efd88ee03bb5bc.
Change-Id: I7afb6a055d3efb08fdbdff19f0bbad01934614e8
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently, if the call getRenderPosition() fails, no error
is propagated to the caller. As the handling is already
present in NuPlayerRenderer, return an error if the call fails.
CRs-Fixed: 912730
Change-Id: I01e3348ffd696ce781287451b9a9478b50037ade
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Check added in HTTPLiveSource to throw error if seek
is called in live streaming usecase.
Change-Id: I1d478ea506734bd9b6bbfba4f04649be398f3c7a
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In IsHTTPLiveURL(), "m3u8" is being used in sub-string comparison
to determine if the given URL is HTTPLiveURL or not.
This can lead to false results incase if the given URL has
"m3u8" as part of it.
Hence use ".m3u8" in strstr() instead of "m3u8".
Change-Id: I7f4a3c641d831b3ef77d166701f3e3edabdaebc0
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The vector mIoDescriptors can be simultaneouly modified
and accessed by 2 threads. Acquire a lock while wrapping
the ioDescriptor in a sp<>
Change-Id: I73c79ef8eca092b500a7ead3a5ebd0bcf75f9920
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Camera may return NULL params if the remote object is dead.
Check for NULL and report error rather than crash.
Change-Id: Id1fcd04dc187aadf00ca4ec5e48fb495c3369c92
CRs-Fixed: 906099
|
|/
|
|
|
|
| |
set intra period for HEVC encoder
Change-Id: Id2b3e71b746eaaed76118126d44ad83458d68520
|
|
|
|
|
|
|
| |
call closeFileDesciptor for secureBufferId to
avoid fd leaks.
Change-Id: I8fe8923795f8cfb7f67fc82a1f7d99334940964b
|
|
|
|
|
|
| |
Change access modifiers and add overridable methods in HLS stack.
Change-Id: Iae8e77246cc6643735af18617717fba713d0038c
|
|
|
|
|
|
|
| |
Adding support for sending and receiving DS Mode
events.
Change-Id: I5be1c1e9b7c33b55f0f3aa71725b90cd0f90f0ad
|
|
|
|
|
|
| |
Enable custom allocation mode
Change-Id: Idf3f6c0eb9d17d361d2e5b6c36b1fe7586236565
|
|
|
|
|
|
|
| |
- handle non default input buffer size
- fix issues associated with non-default buffer size
Change-Id: Iad31f5c85601983b01e18e130b1c3eecb3988e30
|
|
|
|
|
|
|
|
|
| |
* Modify MediaRecorder, CameraSource, AudioSource to
be extendable.
* Add hooks to instantiate extended implementations to
implement pause/resume.
Change-Id: I847263fc69e4f613c5ea60fb6809c7da176d3a8d
|
|
|
|
|
|
|
|
|
|
|
|
| |
Includes following fixes:
f510d0c libstagefright: Disable multi slice mode for video encode
ca46843 audio: Fix for failure in CTS MediaRecorderTest cases
b4d0490 libstagefright: check the audio source when adding to MPEG4Writer
89c6c3f libstagefright: Allocate cached camera buffers for sw encoders
f2c387b libstagefright: Choose target specific media_codecs.xml
f3e7122 libstagefright: Implement fallback mechanism to SW decoder
Change-Id: I90398b2fead1f4e163935bf1db342e24275f7933
|
|
|
|
|
|
| |
- add support for EVRC, QCELP, and LPCM encoding.
Change-Id: I2f93a88ed5c9bd502399ef145a5802d1a15fcc45
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes done to enable HEVC muxing
- writing HVCC atom
- configure HEVC encoder
Fix HEVC flag initialization
Check for HEVC for single track usecase
Change-Id: I1757d0c442e7cc3ef251431f220395131a1eb4ec
|
|
|
|
|
|
|
|
| |
Add support for HW AAC encoder by including it in the list of
available encoders and use it for encoding only if system
property 'qcom.hw.aac.encoder' is set
Change-Id: I08279fb077f4675736ed76d26c2681a2d1776aab
|
|
|
|
|
|
|
|
|
|
| |
Add support for Codec extension features like
skype, vqzip, b-frame encoding, prefer adaptive playback etc.
Add extensions to support encode batching.
Also enable Werror for libavextensions.
Change-Id: Ia342d4abe4bb1e21b9ff2b8213fb96421485a333
|
|
|
|
|
|
|
| |
Warn allocation failures explicitly rather than crash
trying to access unallocated memory
Change-Id: Ie86c3ac130917e1f4030eb8207ac8350cba7711d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for QTI audio resampler
audio: Audio resampler support for 192Khz playback
Change-Id: Ia8f24a0874ebf6e16ef7bd1f2759a14f47149875
audio: Add audio mixing support for qti resampler
Change-Id: Ib657aa12b2a72323564148c302ff8891e1bb7433
AudioMixer: Extend use of QTI resampler for 44.1Khz sampling rate
Change-Id: I2a819dbc9f1e3e280cb4fa79328e331883a3e981
AudioMixer: fill 0s at right place when no more buffers available
Change-Id: I50504c5a02eb0c69abfc9b047792b0f6f85b9ce8
audioflinger: add channel count check to use QTI resampler
Change-Id: I8f76dd82b72a0dd8b77343e77e0d0545e1be2114
Change-Id: Ia8f24a0874ebf6e16ef7bd1f2759a14f47149875
|
|
|
|
|
|
|
| |
Presence of OMX extradata in buffers isn't reflected as part of
nFilledLen. To avoid omitting the extradata, copy the entire buffer.
Change-Id: Ib310dda3dc93693d4ab380912a9997d7ea120be1
|
|
|
|
|
|
|
|
|
|
| |
Use float operations to derive the max-time-between-
frames from capture-rate.
With default (double) precision, calculated value
exceeds 86,400 seconds (1 day) limit if app configures
captureRate = 1 / 24 hours.
Change-Id: Ia171cfa6a45ad315beb55340651abb8066566b26
|
|
|
|
|
|
|
|
|
|
|
| |
Add a null check around MediaCodec release to avoid the warning
from AMessage about target handler being gone.
Add bufferlock in updateBuffer to avoid race condition between
info->mFormat being assigned to mOutputFormat while mOutputFormat
is being updated at the same time.
Change-Id: Ibc5a9a79a840d1c15a99be7c74ded1588edf3918
|
|
|
|
|
|
|
|
|
| |
AMessage::postAndAwaitResponse can fail if the target looper no
longer exists or if allocation of the reply token fails. Check for
error in these cases to avoid deferencing a NULL response.
CRs-Fixed: 902117
Change-Id: I52d838e93768ba5b431a0ed8c74a67a5575f6685
|
|
|
|
|
|
| |
Instrument framework files to log events of interest.
Change-Id: I5157649ccd88a20459c1a72562960f6d5b43e7c0
|
|
|
|
|
|
|
|
|
|
| |
The stride and slice are better suited as dimension parameters to
ColorConvertor, as it considers the width to be be "line length".
This fixes thumbnail generation issues for clips with strange resolutions,
where the stride != width.
Change-Id: I84143956a113cf1976202bd9c4ddac988278a5c0
|
|
|
|
|
|
|
| |
WMV can support different codec-id formats
WMV3 and VC1. Added corresponding mime types.
Change-Id: Id9110ad20eba4d1a053d058d496637e91feb3a35
|
|
|
|
|
|
|
| |
- Fix create APIs to pass metadata as constant reference
CRs-Fixed: 884793
Change-Id: If8cfc9cff9dd48fbe764f438463c3e24763d4f44
|
|
|
|
|
|
|
|
|
|
|
|
| |
since the node can take more than (default) 3 seconds to transition
to Exec --> Idle -> Loaded.
In the event of freeing node before the component has transitioned
to loaded, there may be race-conditions trying to invoke methods
on a non-existant component and bad things can happen.
Increase timeout to 10 seconds till the checks are in place.
Change-Id: I97f698422dfe99b47b3bafb605b642a247b44110
CRs-Fixed: 884165
|
|
|
|
|
|
|
| |
RTSP stack would parse "BYE" message from RTCP packets and
notify NuPlayer which will send the notification to the client.
Change-Id: I461960f28610f998b71a6e1322fe79f9856c7a92
|
|
|
|
|
|
|
|
| |
Do not remove audio only playlist. This will enable
the player to switch to Audio only from Audio Video and
vice versa.
Change-Id: I56b9245f3d28ef9f8e31651cc59b494b763f3feb
|
|
|
|
|
|
|
|
|
| |
Access units of seekable RTSP will be mapped to normal playtime in
RTSPSource, so the negative media time can be adjusted and played
normally.
Change-Id: I12793dbbf367650e66532195324adb5b5ad8fe85
CRs-Fixed: 866580
|