| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
ACodec moves to Uninitialized state after receiving codec error.
Make MediaCodec also move to the same state, so stop() and
release() will work correctly.
Bug: 13675112
Change-Id: I1c7e8b274f68345fc0e6a55c70dff6c7a4fb2e72
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Additional input-port format item:
int32: "adaptive-playback"
video decoders only
whether codec is configured for adaptive playback. In this case, if
codec has max-width/height limits, those limits are also exposed
(int32: "max-width", "max-height")
Also, getInput/OutputFormat() is now callable in CONFIGURED and
STARTING states, although output format may be missing CSD fields
until INFO_OUTPUT_FORMAT_CHANGED message.
Includes missing OMX support for MP3 software decoder.
Bug: 11785204
Change-Id: I90c7e34ba81c7b81c43641599f3f496e838958c6
|
|
|
|
| |
Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
|
|
|
|
|
| |
Change-Id: Ie41663f6fd5a7d983279f14a2228cb57231771bf
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
|
|\
| |
| |
| |
| | |
* commit '065789f24890b0a9f3614dc175e6f7664af1f2ce':
Restore NuPlayer error and EOS handling
|
| |
| |
| |
| |
| |
| |
| |
| | |
This was erroneously removed by commit a73c954
Change-Id: I4742339139e770f0181c99d427875897fd60b68e
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 11413439
|
|\ \
| |/
|/|
| |
| |
| |
| | |
SoftwareRenderer"
* commit '6c63fe0fdb33e5e7eb8c89f2420262b072cdd83f':
MediaCodec: Pass the crop rect to SoftwareRenderer
|
| |
| |
| |
| | |
Change-Id: I434411516eb5fafe9d7aeac9882bbc7f1a8415d8
|
| |
| |
| |
| |
| |
| | |
b/8857451
Change-Id: I12a31a2f85af76602db9e6f0ec80632954b3f7ed
|
| |
| |
| |
| |
| |
| |
| | |
codec specific data is provided as part of the MediaFormat if available.
Change-Id: I5a79c936e2411fe66ebc694791071faefc33941e
related-to-bug: 8616651
|
| |
| |
| |
| |
| |
| |
| |
| | |
not return from a stop() or release() call if mediaserver dies at just the right
moment.
Change-Id: I7728f8df82d62602d4d272f8023aa88678dd7d95
related-to-bug: 8397711
|
| |
| |
| |
| |
| |
| |
| |
| | |
instead of blocking indefinitely if the mediaserver died while the call
is pending.
Change-Id: If2789b7fe99634d947ce4a3bb69c04baff5f8b10
related-to-bug: 8397711
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Assorted tweaks:
- Allow signalEndOfInputStream() before ACodec is in Executing
state (added message to two more states).
- Return an error if signalEndOfInputStream() is called a second
time on the same stream.
- Require AndroidOpaque color format in createInputSurface().
- Disallow dequeueInputBuffer() after an input surface has been
created (boolean flag in MediaCodec tracks it).
- Discard input surface when encoder is re-configure()ed (drop
OMXNodeInstance's ref when we go back to Loaded).
Bug 7991062
Change-Id: Iff30f3036e14eb5a2f6536910dcf11aba33031ee
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also, renamed a CHECK_INTERFACE macro that was clashing with the
Binder version.
Bug 7991062
Change-Id: If5e6ed0a06d9f67975497676e4b05abe3aa3d6c0
|
| |
| |
| |
| | |
Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
|
| |
| |
| |
| |
| |
| | |
to encode video while running as a wfd source.
Change-Id: I44f7b2350c88fc5807047c61bfe594ef8fa79275
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the codec was chosen based on mime type, the caller does
not know what component actually was chosen. This allows
getting essential information (such as supported color formats,
for a video encoder) for this component.
Change-Id: Ie471f40f8104b37d27ced3dba5a54facc6504b1b
|
| |
| |
| |
| |
| |
| |
| |
| | |
No more polling the encoder for work to do, the encoder instead notifies
if there's activity.
Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778
related-to-bug: 7248248
|
| |
| |
| |
| | |
Change-Id: I596cf8dd61b63465437f78413186fad2be287244
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is more in the spirit of the original code. Now it checks
whether a codec instantiated by name is a video codec, and enables
the extra looper if so.
b/10528409
Change-Id: Ia253c04c1283d4ecf66f213ef4bf523279ad7cca
|
| |
| |
| |
| |
| |
| | |
b/10528409
Change-Id: Ifcaf0488d63e87676b1e9382437943138deb76a6
|
| |
| |
| |
| |
| |
| | |
b/8857451
Change-Id: I12a31a2f85af76602db9e6f0ec80632954b3f7ed
|
| |
| |
| |
| |
| |
| |
| | |
codec specific data is provided as part of the MediaFormat if available.
Change-Id: I5a79c936e2411fe66ebc694791071faefc33941e
related-to-bug: 8616651
|
| |
| |
| |
| |
| |
| |
| |
| | |
not return from a stop() or release() call if mediaserver dies at just the right
moment.
Change-Id: I7728f8df82d62602d4d272f8023aa88678dd7d95
related-to-bug: 8397711
|
| |
| |
| |
| |
| |
| |
| |
| | |
instead of blocking indefinitely if the mediaserver died while the call
is pending.
Change-Id: If2789b7fe99634d947ce4a3bb69c04baff5f8b10
related-to-bug: 8397711
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Assorted tweaks:
- Allow signalEndOfInputStream() before ACodec is in Executing
state (added message to two more states).
- Return an error if signalEndOfInputStream() is called a second
time on the same stream.
- Require AndroidOpaque color format in createInputSurface().
- Disallow dequeueInputBuffer() after an input surface has been
created (boolean flag in MediaCodec tracks it).
- Discard input surface when encoder is re-configure()ed (drop
OMXNodeInstance's ref when we go back to Loaded).
Bug 7991062
Change-Id: Iff30f3036e14eb5a2f6536910dcf11aba33031ee
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also, renamed a CHECK_INTERFACE macro that was clashing with the
Binder version.
Bug 7991062
Change-Id: If5e6ed0a06d9f67975497676e4b05abe3aa3d6c0
|
| |
| |
| |
| | |
Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
|
| |
| |
| |
| |
| |
| | |
to encode video while running as a wfd source.
Change-Id: I44f7b2350c88fc5807047c61bfe594ef8fa79275
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the codec was chosen based on mime type, the caller does
not know what component actually was chosen. This allows
getting essential information (such as supported color formats,
for a video encoder) for this component.
Change-Id: Ie471f40f8104b37d27ced3dba5a54facc6504b1b
|
| |
| |
| |
| |
| |
| |
| |
| | |
No more polling the encoder for work to do, the encoder instead notifies
if there's activity.
Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778
related-to-bug: 7248248
|
|/
|
|
| |
Change-Id: I596cf8dd61b63465437f78413186fad2be287244
|
|
|
|
|
|
|
|
| |
This avoids crashing if calling the public java method
MediaCodec.getOutputFormat immediately after MediaCodec.start
(as the documentation example shows that one should do!).
Change-Id: Icd3dd7ab9ae9e8f2a67cef171ff176735de95f58
|
|
|
|
|
| |
Change-Id: I50c5660072d40f6e297e58fd026ea04c89d6a70a
related-to-bug: 6732061
|
|
|
|
|
|
|
| |
of ACodec get notified about codec buffers and buffer ids.
Change-Id: I962f873262dae7aa7b43f5f68a6d60268282f91e
related-to-bug: 6478823
|
|
|
|
|
| |
Change-Id: Ib5bf90a3b81fca8ff2346235bc28a2bd0bc7bfb1
related-to-bug: 6472161
|
|
|
|
|
|
|
| |
if it is contained in the format passed to MediaCodec::configure.
Change-Id: I8ef6755e8389ec47b44a9c70904ea6c03a00f4f2
related-to-bug: 6364139
|
|
|
|
|
|
|
| |
the higher layers.
Change-Id: I9f434ad55cdf575803c208bedf47b607baff2330
related-to-bug: 6365261
|
|
|
|
|
| |
Change-Id: I69dd60e43078c4211c6123cf6e0ce90e676bf873
related-to-bug: 6275919
|
|
|
|
|
| |
Change-Id: I69ed31e7a8b4d69d1209d2d516f94d258f072566
related-to-bug: 6275919
|
|
|
|
| |
Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
|
|
|
|
|
|
|
|
|
| |
stop - means transition back to LOADED state and keeping the component
instance allocated.
release - means we get rid of the component completely.
Change-Id: I40ad01ce70821faaad43f57999249904f9144924
|
|\ |
|
| |
| |
| |
| |
| |
| | |
flushing but also while stopping.
Change-Id: I23534008b93654c9b9c022c0b1d204c2b546d566
|
|/
|
|
| |
Change-Id: I6bcbfd35fdf5a2b0260b8f07a630a5b380e139a0
|
|
|
|
|
|
| |
ABuffer objects through messages.
Change-Id: I9f8b4e4c4767d0d70a0105e0c0813b754379b49d
|
|
Change-Id: I13e54062d4de584355c5d82bb027a68aeaf2923b
|