04ed61b1004282a632cdc1277d93183e15a8df93 |
|
07-Aug-2013 |
Martin Storsjo <martin@martin.st> |
avcenc: Only do startcode escaping if the next byte requires it Section 7.4.1 in the H.264 standard says that the only valid bytes to follow a sequence that starts with 0x000003 are 0x00, 0x01, 0x02 or 0x03. This makes EncodeDecodeTest pass properly when decoding using OMX.google.h264.decoder, which is strict about the forbidden escape sequences. Change-Id: Ice113d9b934015003ea9cb10d0b21cee4d18d774
/frameworks/av/media/libstagefright/codecs/avc/enc/src/bitstream_io.cpp
|
2f3152dee8e763fd7eae9d7b71078d5c6aec5881 |
|
13-Apr-2012 |
Martin Storsjo <martin@martin.st> |
avcenc: Remove useless casts Change-Id: I73a6f74268bcf6ca22d489d13936be8fd1b3fc92
/frameworks/av/media/libstagefright/codecs/avc/enc/src/bitstream_io.cpp
|
23da4cf305b9bfff07954711a8a2d9ec040865af |
|
13-Apr-2012 |
Martin Storsjo <martin@martin.st> |
avcenc: Switch malloc/free callbacks to use pointers instead of ints There is no reason for casting the pointers to ints. This fixes building the code on platforms where pointers are larger than ints, e.g. 64 bit platforms. Change-Id: I910cd207d0908287931c9a96eb270139967e029b
/frameworks/av/media/libstagefright/codecs/avc/enc/src/bitstream_io.cpp
|
29a84457aed4c45bc900998b5e11c03023264208 |
|
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/av/media/libstagefright/codecs/avc/enc/src/bitstream_io.cpp
|