History log of /frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d39e8f4c2319087c439b456d3793109330f1c8b0 30-Jun-2011 James Dong <jdong@google.com> Return ERROR_END_OF_STREAM when the input source reaches eos

Change-Id: I334313b054dcf388d2e05d56efb10ceea4980638
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
6312dd6d2b19d158773d14ed8cefa3f20272d488 02-Dec-2010 James Dong <jdong@google.com> If camera source uses the metadata, we must use HW encoder
Software video encoders are not able to deal with non-YUV metadata in the video buffer sent from camera

bug - 3242213

Change-Id: I97361ed88b2a687190e5129459011afff7f32c2d
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
aac193cf38ac084eea0f6367b98f6304d1ec38f2 11-Nov-2010 James Dong <jdong@google.com> Separate the key for audio sampling rate and video frame rate in MetaData.h

Change-Id: Ia33befaa7e6df8762703002d01aa79c04f15f040
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
af50969f079901e18f9ba3a68a3d3e54e5f26a08 20-Oct-2010 James Dong <jdong@google.com> Added profile and level translation in SW video encoders

Change-Id: I6b9c33c7e4b497f3dc61b2a0dcf4e65727f9bcdd
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
9767dbf923dbd31d6d1a8316d72591c62490cf2f 20-Aug-2010 James Dong <jdong@google.com> Only add 4 bytes offset for the output media buffer when SPS is not received for SW AVC encoder

Change-Id: Ia64c2751b6304e5d5891416bf23ff9b8ec54d5ef
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
e95d192fae5a80ed821c53bfea214a85ea395e90 13-Aug-2010 James Dong <jdong@google.com> Mainly fix two mistakes that I made:

1. When the ERROR_END_OF_STREAM is returned from read, the input buffer is not initialized
release it would lead to crash

2. The mPrevTimestampUs is not initialized and thus fail in the CHECK(mPrevTimestampUs, timeUs)

Change-Id: Id1e51575fb8b3ca48e80547efd3a3a82dfac773b
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
72ac1f26d73bd8e7645365d8d8374fac7a511263 13-Aug-2010 Andreas Huber <andih@google.com> Fix software avc encoder crash at EOS.

Change-Id: I738dc24556e41ce518b67babeff16cd934c2d1b1
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
708ec39c21568e0c2aa3d20c681f0e14ee6134ad 12-Aug-2010 James Dong <jdong@google.com> Don't send late frames to software encoders for encoding

o Document on what frames will be rejected and what frames will be accepted

Change-Id: I5a5d489ad3d2b50dbb40a0f6e01529312ce81c54
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
e6daea5940c38267d24a39fc32bffa119132e852 10-Aug-2010 James Dong <jdong@google.com> Add input buffer size check for software video encoders

Change-Id: I03953a1245060ed6656a965e1a8a61386126c441
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
f3b7859fc9b63dded08d470b1c0de3ddc681d9c7 08-Aug-2010 James Dong <jdong@google.com> Only check the codec specific data when the output buffer contains kKeyIsCodecConfig in MP4 writer

o Assume there is only a single output buffer containing such information.
This simplifies the logic in MP4 file writer

o Output SPS and PPS in the very first buffer for software AVC encoder
This is to make AVC encoder work with the MP4 file writer

o Add timestamp value for codec config data

Change-Id: Iad27a04579e6028332429cd0bebd30976041e997
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp
1cc31e629e8132df390ae692873c847d1c2f62c0 03-Jul-2010 James Dong <jdong@google.com> Initial checkin for software AVC encoder

- Since the software encoder assumes the input is YUV420 planar,
color conversion needs to be added when the input color format
does not meet the requirement. With this patch, I only added
a single color conversion from YUV420 semi planar to YUV420
planar. We can add more as we go.

Change-Id: If8640c9e5a4f73d385ae9bb2022e57f7f62b91b9
/frameworks/base/media/libstagefright/codecs/avc/enc/AVCEncoder.cpp