aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mediacodecdec.c
Commit message (Collapse)AuthorAgeFilesLines
* lavc/mediacodec: use more meaningful filenamesMatthieu Bouron2016-10-191-615/+449
| | | | | | Adds the following changes: * mediacodecdec.{c,h} -> mediacodecdec_common.{c,h} * mediacodecdec_h2645.c -> mediacodecdec.c
* lavc: add mpeg4 mediacodec decoderMatthieu Bouron2016-10-191-0/+7
|
* lavc: add vp8/vp9 mediacodec decodersMatthieu Bouron2016-10-191-0/+14
|
* lavc/mediacodecdec: rename dequeued_buffer_nb to output_buffer_countMatthieu Bouron2016-10-121-3/+3
|
* lavc/mediacodecdec: remove first output buffer timing debug logMatthieu Bouron2016-10-121-8/+0
|
* Merge commit '32c8359093d1ff4f45ed19518b449b3ac3769d27'Hendrik Leppkes2016-10-071-2/+12
| | | | | | | * commit '32c8359093d1ff4f45ed19518b449b3ac3769d27': lavc: export the timestamps when decoding in AVFrame.pts Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
* lavc/mediacodecdec: fix size variable shadowing in ff_mediacodec_dec_decodeMatthieu Bouron2016-10-061-1/+0
| | | | Fixes incompatible pointer type warning on 64-bit systems.
* lavc: add hevc mediacodec decoderMatthieu Bouron2016-09-151-0/+7
|
* lavc: add mediacodec hwaccel supportMatthieu Bouron2016-07-081-46/+226
|
* lavc/mediacodec: increase buffer dequeue timeout when the codec needs to be ↵Matthieu Bouron2016-06-231-3/+3
| | | | | | | | | | | drained Increase buffer dequeue timeout when the codec needs to be drained as it could happen that no input buffer is available when we receive a null packet for the first time (meaning we are unable to signal end of stream and mark the codec as draining). Fixes potential loss of last frames after sending a null packet.
* lavc/mediacodec: rely on buffer flags to detect end of streamMatthieu Bouron2016-06-231-9/+8
|
* lavc/mediacodec: re-indent after previous commitMatthieu Bouron2016-06-231-12/+12
|
* lavc/mediacodec: discard 0-sized buffersMatthieu Bouron2016-06-231-0/+7
| | | | Their only purpose is to carry the end of stream flag.
* lavc/mediacodecdec{,_h264}: set FF_CODEC_CAP_SETS_PKT_DTS capabilityMatthieu Bouron2016-06-201-0/+1
| | | | | | And sets frames pkt_dts to AV_NOPTS_VALUE as we do not want lavc/utils to overwrite the field with incorrect values as the decoder is asynchronous.
* lavc/mediacodec: refactor ff_AMediaCodecList_getCodecByTypeMatthieu Bouron2016-06-151-1/+7
| | | | | | | | | | | | | Allows to select a codec (encoder or decoder) only if it supports a specific profile. Adds ff_AMediaCodecProfile_getProfileFromAVCodecContext to convert an AVCodecContext profile to a MediaCodec profile. It only supports H264 for now. The codepath using MediaCodecList.findDecoderForFormat() (Android >= 5.0) has been dropped as this method does not allow to select a decoder compatible with a specific profile.
* lavc/mediacodec: improve error messagesMatthieu Bouron2016-06-071-2/+2
|
* lavc/mediacodec: bypass width/height restrictions when looking for a decoderMatthieu Bouron2016-06-071-1/+1
| | | | | | | | | Codec width/height restrictions seem hardcoded at the OMX level and seem arbitrary. Bypassing those restrictions allows a device to decode streams at higher resolutions. For example it allows a Nexus 5 to decode h264 streams with a resolution higher than 1920x1080.
* lavc/mediacodec: fix zero stride for OMX.allwinner.video.decoder.avcKirill Gavrilov2016-03-281-1/+1
|
* lavc/mediacodec: use ternary operator to set slice-height valueMatthieu Bouron2016-03-281-5/+1
|
* lavc/mediacodec: remove stray empty linesMatthieu Bouron2016-03-151-1/+0
|
* lavc/mediacodec: fix codec_name leakMatthieu Bouron2016-03-151-0/+2
|
* lavc: add h264 mediacodec decoderMatthieu Bouron2016-03-071-0/+570