ad60a0f6cd9012507f8086fe741236d12d280ef3 |
|
10-Nov-2016 |
Wonsik Kim <wonsik@google.com> |
stagefright: reuse buffers instead of cloning In buffer array mode, the buffer reference is kept in clients of MediaCodec, so allocating new buffer for new input/output does not work in that case. Bug: 32577275 Bug: 32579231 Test: use screenrecord and investigate the output file. Test: cts-tradefed run cts-dev -m CtsMediaTestCases -t android.media.cts.EncodeDecodeTest Change-Id: I26d89f6b5735094062b8a2027bcab4754576d574
/frameworks/av/media/libstagefright/include/SecureBuffer.h
|
fd44d8e2f2d37184f7add67125657f3fbfb5a085 |
|
20-Oct-2016 |
Wonsik Kim <wonsik@google.com> |
MediaCodec refactoring part 1-c: buffer ownership - Buffers are (roughly) owned by themselves. - As a corollary, remove output format change related events and replace by inspecting formats associated with each buffers. Bug: 32133435 Test: gts-tradefed run gts -m GtsExoPlayerTestCases Test: (manual) Run Play Movies app to play a secure content. Change-Id: I6b57da61c2d71acd0d5be4281de823ba1c95b72f
/frameworks/av/media/libstagefright/include/SecureBuffer.h
|
4811923e80a8abefa278307ebf8cc9b0294ba67f |
|
13-Oct-2016 |
Wonsik Kim <wonsik@google.com> |
MediaCodec refactoring part 1-b: secure buffers - Define SecureBuffer to encapsulate secure buffers containing decrypted data. - ACodec and MediaCodec use SecureBuffer to communicate between themselves. Bug: 32133435 Test: Play an encrypted content in Play Movies Change-Id: Ic70f7f78aad15bd91ab8ccd31c340bc7964ab1b3
/frameworks/av/media/libstagefright/include/SecureBuffer.h
|