History log of /frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ebc26bd50ee659c08a786d6eb793c26f83838ade 12-May-2017 Ray Essick <essick@google.com> Prevent OOB write in soft_avc encoder am: 463452a949 am: 97db64baf6 am: b6bf46944f am: cd35c846f0 am: a43be7d42d am: 3c375611d6 am: 96b4e70f44 am: 9eb9b1b849
am: 91af834b13

Change-Id: Icb076c1e7f90b7ece6cf7f36f9f2e5f3062121cf
3c375611d68c0521b855190e3e5eb021c65f824c 12-May-2017 Ray Essick <essick@google.com> Prevent OOB write in soft_avc encoder am: 463452a949 am: 97db64baf6 am: b6bf46944f am: cd35c846f0
am: a43be7d42d

Change-Id: I9cf2d9117293f14f14fc240c674f02594f8944bd
a43be7d42d1d37659f59e3503913f02cfbc4e928 12-May-2017 Ray Essick <essick@google.com> Prevent OOB write in soft_avc encoder am: 463452a949 am: 97db64baf6 am: b6bf46944f
am: cd35c846f0

Change-Id: Id65aa9338a1a362488f33708b4bf5f36d8581104
97db64baf6d61e6ac25566e72b0f7185a19e3859 12-May-2017 Ray Essick <essick@google.com> Prevent OOB write in soft_avc encoder
am: 463452a949

Change-Id: I7cad9d84093cce83b2edf09a55bb8b9a588bee43
463452a94907278ca5e4c5632e50bbe59e861544 11-May-2017 Ray Essick <essick@google.com> Prevent OOB write in soft_avc encoder

Soft avc encoder cached buffer sizes across a point where the sizes
could be reset by an app, allowing crafted requests to hit outside
of the current buffer. This remedies that by forcing buffer reallocation
with new sizes whenever the encoder state at such 'reset' points.

Bug: 35421151
Test: run POC with no crash
Change-Id: I8c689846142264f7b6a277332260a6bd8a2bd92d
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
bc1713d3b85d7ce656e032da6e4b6b342f14db03 14-Feb-2017 Mathias Agopian <mathias@google.com> fallout of splitting rect.h out of libandroid.

A lot of media makefiles didn’t specify libui or
libgui but included headers from these libraries
directly.

It works because these headers are on the global
include path. With this change, though, rect.h
is not anymore (albeit exported from libui).

Test: built and booted device
Bug: 35164655
Change-Id: I72e8f0b7bd25c6a67eedc17afe52c4c484a147fe
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
d72e751fa185f053773603222fd220ab77c92b2f 15-Jul-2016 Lajos Molnar <lajos@google.com> SoftAVCEnc/SoftMPEG4Enc: support updated i-frame interval and encoder settings

- use key-frame interval in MPEG4 encoder
- use updated definition of nBFrames and nPFrames in AVC encoder

Bug: 30096321
Bug: 28027692
Change-Id: I68d0d5182b462cad567c329a07fdafea55d19ff7
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
972f653af6288f8dbb3ebd205c599e0cbb23456a 11-Mar-2016 Doney Alex <doney.alex@ittiam.com> DO NOT MERGE SoftAvcEnc:Configured constrained_intra_pred flag in internalSetParameter

Change-Id: Idbc2a0ee413651e2b6b1c82b7496507906c222c2
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
9515aca0c07a32128a65a68749bda3ea6851c109 24-Feb-2016 Doney Alex <doney.alex@ittiam.com> DO NOT MERGE SoftAvcEnc: Added support for Constrained intra prediction.

Change-Id: I1a3e8fbad0bea728311c2b4b0513c9565ecf9a14
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
d08a068bee8396b2ccdd819920b4496de2309a68 10-Mar-2016 Hangyu Kuang <hkuang@google.com> stagefright: Fix a bug in getting intra refresh period through getConfig.

When intra refresh mode is disable, getConfig should return '0' instead of
default intra refresh period.

Bug:26587630
Change-Id: I16d9f20d74b405f60be6bda18abd103d99a3ab28
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
9222aaf44d79e501c513887f74979f16226b2fc7 05-Mar-2016 Marco Nelissen <marcone@google.com> DO NOT MERGE Verify OMX buffer sizes prior to access
am: f1a2668f4f

* commit 'f1a2668f4f09e38722424a6a74f0ea26f49e4110':
DO NOT MERGE Verify OMX buffer sizes prior to access
f1a2668f4f09e38722424a6a74f0ea26f49e4110 29-Feb-2016 Marco Nelissen <marcone@google.com> DO NOT MERGE Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
2720c8b094cfa58de314daa8e5e4fb4fa81fe3b2 29-Feb-2016 Marco Nelissen <marcone@google.com> Verify OMX buffer sizes prior to access

Bug: 27207275
Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
7c36a6bc3f3fe4fe6d1d36b92c3a203de654b012 11-Feb-2016 Hangyu Kuang <hkuang@google.com> stagefright: Support changing refresh mode during runtime in SoftAVC encoder.

Bug: 26587630
Change-Id: I595bdefb84d7da583361da12f793be15c51f4cdf
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
30fecffdba48c63c2c14783d1eef08b82f422c89 05-Feb-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> SoftAVCEnc: Modified the code for runtime change in params to be generic

mBitrateUpdated and mKeyFrameRequested are removed and instead mUpdateFlag
with one bit for each param, will be used to configure the codec in runtime.
This change will make it cleaner to configure more parameters in run-time

Change-Id: I935827b54b0de469fa3c83237cccd4b5e4dcedd6
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
870aff9bd2442c8877f5d6b12c73032b5f24535a 28-Jan-2016 Hangyu Kuang <hkuang@google.com> stagefright: Support intra refresh in SoftAVC video encoder.

Bug: 26587630

Change-Id: Ia04dab11978fd8cc5d68bf721900775e13987a9a
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
b3d9f56313f1838649712297ebc8205c4ec14870 09-Oct-2015 Marco Nelissen <marcone@google.com> Reconcile with master after mass cherrypicks

Change-Id: I74649c9771212aa6309ea16c253723994b8e3622
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
692c7ccc6709ffd112c6dc40bdf84fa4adc53911 19-Aug-2015 Wei Jia <wjia@google.com> am f8df2755: am 1cb6d761: Merge "libstagefright: fix overflow in SoftAVCEnc." into mnc-dev

* commit 'f8df2755f413813d397360ffb4358c2f0ab22dfe':
libstagefright: fix overflow in SoftAVCEnc.
595fede0cf7b53b4d3f51d72df8d66fd7ff14d1c 18-Aug-2015 Wei Jia <wjia@google.com> libstagefright: fix overflow in SoftAVCEnc.

Bug: 20674674
Change-Id: I8e320218180926d46d223cb72523118079f72342
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
c2d3b25ac4c42ba4827ed0c77a52a6a85cdca435 27-Jun-2015 Martin Storsjo <martin@martin.st> SoftAVCEnc: Stop using the u4_strd field in the set dimensions struct

Since 90a3904fd3 in external/libavc, this field isn't used any longer.
After SoftAVCEnc stops using it, it can be removed from the library
altogether.

Bug: 22860270

Change-Id: I0e0fcab6740ef420df7776ede11b35aa1a383a48
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
b980c92b0f0a831251a094e61dcf0eedd2e9e7c9 28-Jul-2015 Marco Nelissen <marcone@google.com> am 23d74231: am 4c04495f: Merge "SoftAVCEnc: Stop using the u4_strd field in the set dimensions struct"

* commit '23d74231963e2ca21384e06eec1962ac46d47ce0':
SoftAVCEnc: Stop using the u4_strd field in the set dimensions struct
c884adf00fce70170003d6f18ad65c8912535ac8 27-Jun-2015 Martin Storsjo <martin@martin.st> SoftAVCEnc: Stop using the u4_strd field in the set dimensions struct

Since 90a3904fd3 in external/libavc, this field isn't used any longer.
After SoftAVCEnc stops using it, it can be removed from the library
altogether.

Change-Id: I0e0fcab6740ef420df7776ede11b35aa1a383a48
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
1ad56353aec03b0255d5cd5b67f9e6df780d9b65 01-Jun-2015 Doney Alex <doney.alex@ittiam.com> SoftAVCEnc: Added support for Main Profile encoding.

Configured intra frame interval and deblock in setParams.

Change-Id: If501fa0ac42f2c4bf6604ea84715f7f13f707e74
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
defb2374a0e0adbd3714a2cd02be3c309cde4875 09-Jun-2015 Martin Storsjo <martin@martin.st> Clear the executable bit from source files

The executable bit was accidentally set on these files in commits
eedcd5cccc and ec7398f37.

Change-Id: I057e8841ad12561b05c4dc9553ca1cd664c7f59c
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
7099d9b5f3761dbe3f76166129c3f0a22d2470ef 24-Jun-2015 Marco Nelissen <marcone@google.com> resolved conflicts for merge of 697a449f to mnc-dev-plus-aosp

Change-Id: Id6e85e5e6ed10c3103dc7591508e95735a0c5153
c0c51cbd26523fdf30bb19aa3d75c6b7dcc9daee 24-Jun-2015 Marco Nelissen <marcone@google.com> am 53670d35: am c182ac9a: Merge "Clear the executable bit from source files"

* commit '53670d357f1d2321841d6fc898d8caeee82390d0':
Clear the executable bit from source files
15a2cb0082d7c0a004c2fdc563c153f4781437d2 01-Jun-2015 Doney Alex <doney.alex@ittiam.com> SoftAVCEnc: Added support for Main Profile encoding.

Configured intra frame interval and deblock in setParams.

Change-Id: If501fa0ac42f2c4bf6604ea84715f7f13f707e74
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
7ad1667690966b620f2e2912b970f2a815449bfe 09-Jun-2015 Martin Storsjo <martin@martin.st> Clear the executable bit from source files

The executable bit was accidentally set on these files in commits
eedcd5cccc and ec7398f37.

Change-Id: I057e8841ad12561b05c4dc9553ca1cd664c7f59c
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
f6fe4340219a8e674f3250fe32d4697ec8184b24 04-Jun-2015 Wei Jia <wjia@google.com> SoftAVCEnc: check requested memory size before allocation.

Bug: 20674674
Change-Id: I569e7a9b33fe64779a40e55539929c3dc4303c19
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
cbe6ac2f281362d9dfbff867dd414d5cc2f6d21e 27-May-2015 Chong Zhang <chz@google.com> SoftAVCEnc: encode EOS frame is size is non-zero

bug: 20947883
bug: 20507129
Change-Id: I557584e8566b8529329f35e0949cb3ee24965ff4
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
df0ebf5f9ea5c16aaec4752bdf06af101cc541b8 28-Apr-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> SoftAVCEnc: Removed alignment requirement on input width

Change-Id: Id6e1abf588420beec6f1af4394b69b2e53487299
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
ec7398f371d35a8801c29eb303c14ec85a6e5a9e 28-Apr-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> SoftAVCEnc: Removed alignment requirement on input width

Change-Id: Id6e1abf588420beec6f1af4394b69b2e53487299
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
ee4e1b1a63758941460ae79a064249d3a5189443 17-Apr-2015 Lajos Molnar <lajos@google.com> stagefright: warnings be gone, some are now errors, use clang

Change-Id: I81f438ae444f04c12ae27ae4ef6d073033de172c
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
22b3b44ae459974794403ed0f76d95ae43d92985 03-Apr-2015 Venkatarama Avadhani <venkatarama.avadhani@ittiam.com> stagefright: add SoftAVCEnc using libavc

Change-Id: Ic51e92e9d86db21109b8714e822697869e184cd1
/frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp