Currently free of ptr pointer is failing because
ptr pointer is not pointing to base address of malloc
function. Reason is, strtoul api stores the address
of the first invalid character of input string parameter
to ptr pointer. Hence removing malloc allocation is not
required as value of ptr pointer will be first invalid
input string address.
Change-Id: I612002b15594b666bf9053c3e49bc62a7efb86ee
Add support for SDM450 in the makefiles to enable dlkm
compilation.
SDM450 uses same target name as msm8953.
Change-Id: I62ef0d856894ebce62997720dbf2620449f1865c
Define NDEBUG Macro in Makefile to avoid
ALOGV logs to be printed on shell.
Move repetitive logs under ALOGV log level.
CRs-Fixed: 2135642
Change-Id: Id573300504cdb15aea285ec33a08319155cff189
audio-alsa is removed from mm-audio, reomve code sections
referring to audio-alsa.
CRs-Fixed: 2126971
Change-Id: I50bd466a931a39846dc2fc5f136a38a9f64b2148
This reverts commit 2ce1027d13.
Also Fix NULL stream pointer LLVM issue by performing
NULL check before dereference the pointer
Change-Id: Ia2a8b3492b5424993e6c651555054d899f2ca3f2
VTS does not expect Input/Output omx port to send OMX_EventCmdComplete.
The fix is to avoid sending OMX_EventCmdComplete. VTS will timeout and
handle the error properly.
Change-Id: I998cf2e4b9e4ecba9e9837e56683bf44cc57207b
CRs-Fixed: 2077073
- All qcom proprietary modules should use
/vendor path instead /system for
treble compatibility
- Modify configs and android makefiles accordingly
Change-Id: I1a4db8c39b5e7585d1a4d60584d5b1672c9599ac
test app uses input pcm file sample rate for AAC encoding.
Modify test app to perform AAC encoding with sample rate
mentioned by user
Change-Id: I4dde722b8ae91a1312acdf0be63781e28868aa10
modify aac test app to support pcm-mono to aac-stereo encoding
and pcm-stereo to aac-mono encoding
Change-Id: Ic24860a21bb537dc39eca03d2a7153ceff16baba
When omx init and deinit are called in short duration,there
is a possibility that deinit is called before command thread
is started. omx_thread_stop closes respective pipe and waits
for the command thread to exit.
In a specific scenario, same pipe fd is allocated in another
module and command thread in omx continues to read from the
same pipe although it is closed by the main omx thread.
omx_thread_stop is blocked infinitely due to this reason
Fix is to set a flag in omx_thread_stop to avoid command
thread to go into the read loop if it is started after
omx_thread_stop is called
Change-Id: I4b9c4909c7178010568219fddcd05eaafdddc769
If the current session is not found in the driver, a special
error code is returned. On observing this error, stop waiting for a
response from the current (presumably) dead session to avoid
stalling indefinitely.
Change-Id: Ife1ace9c34178d15eff723a5634b4514cd1e1545
Timestamp format of encoder output structure
incorrect. Timestamp is of format of
least significant bits first. Encoder
out structure formated incorrectly to
expect most significant bits first.
Change-Id: I9cc152dfc8ccb6dc78f715461a2bece1fe2a7819
- Add support to post error to omx component if SSR is triggered
during NT mode encoding, to close the session gracefully.
Change-Id: Ie28b808058a4ec4ac1e85b7db3d3e3a9ba93c717
Encoded buffer timestamp is 64 bit wide and is derived by multiplying
two 32 bit values, while calculating timestamp, these values are
multiplied with result stored in intermediate storage of 32 bit used
by compiler internally, this was associated with overflow if the result
is larger than max supported by 32 bit storage.
Changing m_frame_count to 64 bit will fix possible overflow for frame
count as well as force compiler to use intermediate variable of
required size.
Change-Id: I5ab709094d1c6b984d27f98327d3d8afa179fc92
CRs-Fixed: 767185
Save timestamp of first ETB as anchor time and use it
as reference in calculating timestamp for all future FBDs
Change-Id: Id937ac169c878fccf7d6f8fa660cb9ec321d4afa
CRs-Fixed: 639731
- Too many debug logs are enabled in AAC Encoder by default
- Fix is to disable all the logs except the error messages
and logs indicating loading and unloading of the encoder
Change-Id: If4b37fb654b1c70796bfdc1c839839fab3ea20dc
CRs-Fixed: 619677
As per AAC specification bitrate is a function of profile
and sample rate. Change ensures that bitrate will be programmed
as per the specification.
Change-Id: I188f7155c50c32b7c9945036c0ad0ef3f5ee164a
CRs-fixed: 606251