History log of /frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f84bfabe0d5d92956a1ba2896beb0e0d4e1e3106 21-Mar-2011 James Dong <jdong@google.com> Initial check-in for AACWriter

Change-Id: Ia21ca39a404484b2dda25c6101780d2ff11c4623

related-to-bug: 4211046
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
99b862476df2f5d487db98a32a0c88e3a6be8420 05-Mar-2011 James Dong <jdong@google.com> Fix a leak from AACEncoder.cpp

bug - 3470617

Change-Id: I328e92bc1b2aca72e5856703dae00f957f40bc27
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
d7ef5b6febf5e645a7757bd48d30af9c051fabf6 25-Jan-2011 James Dong <jdong@google.com> Report errors to applications if AudioRecord->start() fails

bug - 3385198

Change-Id: I86ac8071eb28a538b333e102192193d1b9eda5eb
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
36663b2f6cb0c40f09f1d65fd77694c9f7f05a45 15-Nov-2010 James Dong <jdong@google.com> Add initial stereo capture support for AAC encoder

Change-Id: I1b9335f036ff42d958d0b32f25359b21733f96d4
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
d015ccf62b4e87756e2f7785af92338d35a21c15 09-Sep-2010 James Dong <jdong@google.com> HW audio encoder expects timestamp via kKeyTime from each input buffer

- This fixes media server crashes on droid

Change-Id: I7191cadc5275107425ec3ee3d437b2c5295858dc
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
3caa71483ffa7b9d9c0a550429ccce848abeee06 03-Sep-2010 James Dong <jdong@google.com> Not all audio source has the drift time information

Change-Id: I74e502376348ca4a6ffaa7492bed35c1355e7e62
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
4c23815c3986e50f0cfad3976d748e600f1befa2 02-Sep-2010 James Dong <jdong@google.com> Calculate audio media drift time from AudioSource

The problem was that the time to receive an output buffer
from an audio encoder is different because the encoder does not
need to read from the source for all output buffers. This leads
to large fluctuation in terms of wall clock duration between two
neighboring audio sample outputs from the audio encoder. As a
result, the media time for the video track after adjustment using
the drifting changes wildly sometimes.

This patch addresses this issue by only updating the media drift
time when an audio source input buffer is read. the wall clock
for the audio track is also calculated at the same time when
the input audio buffer is read at AudioSource.

bug - 2959800

Change-Id: I3174aa182f744784b540f0a7198524d4eee8bd7b
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
53d4e0d58e2d5c18f6e026c705af833b9bdd7aba 21-Jul-2010 James Dong <jdong@google.com> Allows the authoring engine to skip frame.

This is 1st part of the work to allow audio and video resync if
we found out that audio and video are out of sync during authoring

- also fixed a problem in AACEncoder::read() where the buffer acquired
from the buffer group does not release when error out at
reading from source.

Change-Id: I8a2740097fcfdf85e6178869afeb9f3687a99118
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
6624c9fd0bc5e3858a22a04c05b5059445c1c367 21-Jul-2010 Andreas Huber <andih@google.com> Support finer seek control on MediaSources.

related-to-bug: 2858448

Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
c0ab2a64589b4cd49734a122b6ef976c7ef530e5 30-Jun-2010 James Dong <jdong@google.com> Added encoding parameters set up for H263 video encoder

Also:
- Allowed start() call when encoder already starts and stop() call when encoder has not started yet
- Handled default value for audio/video sources/encoders and file output format

Change-Id: I03b2f7d3cf570baa0fd011a8c0ad200f2f2a5da1
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
438e4f62adf5094d7125f83dcc517d7502e85b9f 24-Jun-2010 James Dong <jdong@google.com> Fixed the software AAC encoder

Make sure that each input frame contains at least 1024 samples, as
required by the AAC encoder, and fix the incorrect timestamp.

Change-Id: I344cafe8c89be51d6e64552fab70539990ff6049
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
36e573bf7db5888f92c52eda26e0771aaa2406e4 19-Jun-2010 James Dong <jdong@google.com> Audio/video sync during recording (second part)

Change-Id: Iba0b35f57fdeac7ee1da16899406bf4b957a2c8c
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
08c7473ce9b601e170fd79c530f106bf74277a0f 10-Jun-2010 James Dong <jdong@google.com> Initial checkin for pause and resume control

Change-Id: Ibdcf7bea5fb66baa81878704ba4091dfcfe382ee
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp
17299ab50ceb70d904e610e3b2d7fb2361a11e03 15-May-2010 James Dong <jdong@google.com> Initial software encoder checkins

Change-Id: I27f387db23594e46384c4eb3a0093ce220bb6b60
/frameworks/base/media/libstagefright/codecs/aacenc/AACEncoder.cpp