History log of /frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
79924d78b9465eed113347f2597f698b1d9bd5d9 08-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "add missing color format to check list" into oc-dev
0d402df5bb21d9b32aefc9841725cf4f602fb99c 17-May-2017 Ram Mohan M <ram.mohan@ittiam.com> add missing color format to check list

Test: Small CtsMediaTestCases
Bug: 37501531
Change-Id: I89ce99f7322d3b0dac333b75ead0ec1122eba9d0
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
14a09c9d989113798546d61d58e59c513ac4652a 17-May-2017 Ram Mohan M <ram.mohan@ittiam.com> Fix strides while extracting graphic buffer

Test: Small CtsMediaTestCases
Bug: 62271835

Change-Id: Ic8d2ba1309778a7683887bfcece18276a022116e
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
12025bc9c42248d254e76a6bef2b72b5b227ec4a 30-Mar-2017 Mathias Agopian <mathias@google.com> fix another missing include

Test: built
Bug: 36603618
Change-Id: I3dd55a96fb29e42fc7accb40a471d11a37cb3296
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
06cae66df7dedd164a07b802e4ca63a22d01de21 28-Mar-2017 Mathias Agopian <mathias@google.com> fix missing include

Test: built
Bug: 36603618
Change-Id: I836e2458203600768aa199f243206d5e0d9d4d39
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.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/omx/SoftVideoEncoderOMXComponent.cpp
acd619a940dd945cd14bc6f637cc86413c6745ba 22-Sep-2016 Jim Kaye <jameskaye@google.com> Adjust RGB-to-YUV conversion

Round values rather than truncate them. ITU-R BT.601 indicates that
values should be rounded. Also, correct one coefficient value that
was slightly off.

These errors caused some CTS test failures for the Emulator.

BUG: http://b/31497838
Change-Id: I4c15e02dac266e243d3baf015fd3939877ab930c
(cherry picked from commit 36402501e4d94108db9e35fd3bb03c455d6a1635)
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
075999616e5764462316f31ce628146c1174b1d5 29-Apr-2016 Justin Chuang <jchuang@google.com> Allow RGBX8888 in soft video encoder

BUG=27844478,28550227
TEST=android.hardware.camera2.cts.RecordingTest will pass
Change-Id: Ib669d4a2447bb5d76b9d0cdc34469cad77a98ee2
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
861f358a4b420517c2fbc9a33558fe5c964ccbd8 22-Apr-2016 Marco Nelissen <marcone@google.com> Merge "More OMX struct checking" into mnc-dev am: 4040b13b07 am: 05202f5 am: ff5d1bb
am: 8b5f271

* commit '8b5f271f006dc07d2875bfebe32f59e8f1230ab2':
More OMX struct checking

Change-Id: I6e98cb098254e9ad10ae7d4ae3eaf84b3f76928c
a21bed3d626d148e584bdddeeecf287b782b3fcb 22-Apr-2016 Marco Nelissen <marcone@google.com> More OMX struct checking

These were lost due to bad merges.

Bug: 27207275
Change-Id: I2fd6fa0edda83ff8d5db07fce34db2f1df0a1735
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
fe7df6220dbdd2ada97bf195c542c5e399695ed0 11-Jan-2016 Dan Stoza <stoza@google.com> Revert "Revert "libstagefright: Remove direct access to gralloc""

This reverts commit 4de16e73025bca0d8a094576ebff973319ec4ba4.

Change-Id: I3224132ea4e3556a583b0b40d743a3c60f7a32c7
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
4de16e73025bca0d8a094576ebff973319ec4ba4 08-Jan-2016 Dan Stoza <stoza@google.com> Revert "libstagefright: Remove direct access to gralloc"

This reverts commit 8c953e45f3431f8e1c04f8973fe8bdebf7e61033.

Change-Id: I83b3a7c3edf565cb62ea50332025558b5ea3bf2e
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
8c953e45f3431f8e1c04f8973fe8bdebf7e61033 08-Jan-2016 Dan Stoza <stoza@google.com> libstagefright: Remove direct access to gralloc

Switches from loading the gralloc module directly to using
GraphicBufferMapper.

Change-Id: Ib4f6e0d5b3fd1cb1747a1a78959e9fa8f3c6864a
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
5d929557d4f990605eac0f5e217df75665e96178 22-Aug-2015 Chad Brubaker <cbrubaker@google.com> am 819b89aa: am 84c1e5a9: Merge "Whitelist *ToPlanar from integer sanitization"

* commit '819b89aac84f84d6022a9b3389b7e83a6ee93e37':
Whitelist *ToPlanar from integer sanitization
92f9f71ee45a260aed552c18ac5112f7672859ed 21-Aug-2015 Chad Brubaker <cbrubaker@google.com> Whitelist *ToPlanar from integer sanitization

SoftVideoEncoderOMXComponent::Convert*ToPlanar methods use overflow in
value computation when converting between formats. These methods are
safe so whitelist them from unsigned overflow sanitization.
Bug: 23110888

Change-Id: Ia9978b54b0171a51a49723ec50d959808b086124
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
c93a13669ce1b5a9e6527b4c86c9d8f5e92be828 26-Jun-2015 Lajos Molnar <lajos@google.com> stagefright: ask for flex-YUV camera buffers for software encoders

Bug: 13222807
Change-Id: I854b73a63cf9239311729598241725d84e8513aa
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
9847fcefb183e1cb09eb48e17a09577392b0e8f4 03-Jun-2015 Lajos Molnar <lajos@google.com> stagefright: rename VideoGrallocMetadata.hHandle to pHandle

This is so that it can be equivalent to the previously named
VideoDecoderOutputMetaData struct.

Bug: 13222807
Change-Id: I38831e19a76f49cc7e8385c079817c538d18f0ff
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
15ab4996019387f27a48b81cb4774c21502bc0e5 01-Jun-2015 Lajos Molnar <lajos@google.com> stagefright: add support for fences in OMX

Pass Fence between Surface and ACodec, and between ACodec and IOMX.

Bug: 12386081
Change-Id: Ifdc566979dec0d91ed8b07c3b69d2cf092accc73
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
054219874873b41f1c815552987c10465c34ba2b 16-May-2015 Lajos Molnar <lajos@google.com> stagefright: rework metadata buffer support

- Add fence to new metadata buffer mode structure, but don't use it
yet, so that we don't have to add another mode soon.
- Change GraphicBuffers to ANativeWindowBuffer in new metadata mode.
This removes internal depencency from vendor codecs.
- Extend new metadata mode from SW encoders to all codecs.
- Fallback from new metadata mode to old mode (so Camera can always
use the new mode even with legacy codecs)

Related-bug: 19614055
Bug: 13222807
Change-Id: I405a21dd6ce8e99808f633bfeab8f14278eb7079
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
3e08ca6709b5a75dc3b779cf3eba8196b08a0245 11-Dec-2014 Lajos Molnar <lajos@google.com> resolved conflicts for merge of 6571ed31 to lmp-mr1-dev-plus-aosp

Change-Id: Ibaea3a0766f75a61964615482a9ef28651a42b37
a0940a569f2bc24b00dc10ce0fa7658b1dc3a3a5 24-Sep-2014 Lajos Molnar <lajos@google.com> stagefright: misc fixes to software video encoders (and decoders)

- move logic to set encoder parameters to common encoder class
(similarly to what was done for decoders)
- set compressed buffer size based on frame size and compression ratio,
and codec-specific minimum size
- set raw buffer size based on frame size and metadata mode
- do not set stride and slice height on compressed ports
- advertise only QCIF support for google H263 encoder
- set large-enough input size for video decoders to support adaptive
playback
- do not change input buffer size on output port reconfiguration, as
no input buffer reallocation takes place
- do not return empty buffers with EOS after EOS has been signaled

Bug: 18513091
Bug: 18639027
Change-Id: Ib13492ef66adf331aa4572c67d2b283ea020cb41
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp
d7050b75c2ef33d1aabf71cf902f734c44c24639 15-Oct-2014 Lajos Molnar <lajos@google.com> resolved conflicts for merge of f4147ee9 to lmp-mr1-dev-plus-aosp

Change-Id: I3b66673012989ab3707852b257844f2c3851f753
2edda09a2ad1d112c52acd37d323f63f0a492d67 11-Oct-2014 Lajos Molnar <lajos@google.com> stagefright: fix surface input handling of software encoders

- added SoftVideoEncoder for common color conversion and
extension handling logic
- fix YUV420 SemiPlanar handling that should be NV12 not NV21

Bug: 17935149
Change-Id: I9b8d05678b1862dd37bf349ea83d67bdf1bb5560
/frameworks/av/media/libstagefright/omx/SoftVideoEncoderOMXComponent.cpp