Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-26avcodec/mediacodec_wrapper: remove unused local variables in ↵Matthieu Bouron
ff_AMediaCodec_getCodecNameByType() (cherry picked from commit 817235b195f55746893629bd8e6fa3501ea7b38e)
2019-07-26avcodec/mediacodec_wrapper: fix a potential local reference leak in ↵Matthieu Bouron
ff_AMediaCodec_getCodecNameByType() (cherry picked from commit 3f232d713db3cb665c265387c7009904c2e85e58)
2019-07-26avcodec/mediacodec_wrapper: fix a local reference leak in ↵Matthieu Bouron
ff_AMediaCodec_getName() (cherry picked from commit 9cb8875c165e6377a3eebdce9743c5579f131248)
2018-10-12avcodec/mediacodec: add av_mediacodec_render_buffer_at_time()Aman Gupta
The existing av_mediacodec_release_buffer allows the user to render or discard the Surface-backed frame. This new method allows the user to control exactly when the frame will be rendered to its SurfaceView. Available since Android API 21. Signed-off-by: Aman Gupta <aman@tmm1.net>
2018-05-04avcodec/mediacodec_wrapper: add helper to fetch SDK_INTAman Gupta
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com> Signed-off-by: Aman Gupta <aman@tmm1.net>
2018-04-20avcodec: Fix AVClass .versionMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-03-07avcodec/mediacodec_wrapper: fix false positives in swdec blacklistStefan _
'OMX.SEC.avc.dec' is a valid hardware decoder, while the decoders we seek to blacklist all match 'OMX.SEC.*.sw.dec'.
2018-03-07avcodec/mediacodec_wrapper: blacklist more software decodersStefan _
Additionally blacklist ffmpeg, Samsung and Qualcomm software implementations offered through MediaCodec. Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
2018-03-03avcodec/mediacodec_wrapper: load and use MediaFormat.constainsKey()Matthieu Bouron
Avoids triggering an exception in MediaFormat getter functions if the key does not exist.
2018-01-07lavc/mediacodec_wrapper: allocate MediaCodec.BufferInfo onceMatthieu Bouron
2017-12-16lavc/mediacodec_wrapper: fix potential jni global reference leakMatthieu Bouron
2017-12-16lavc/mediacodec_wrapper: factorize MediaCodec creation functionsMatthieu Bouron
2017-09-15lavc/mediacodec_wrapper: fix jni vaargs typesMatthieu Bouron
Fixes decoding on 32-bit devices with Android NDK >= 15.
2017-05-23lavc/mediacodec_wrapper: do not declare ↵Matthieu Bouron
JNIAMedia{Codec,CodecList,Format}Fields on the stack
2017-05-23lavc/mediacodec_wrapper: fix local reference leaksMatthieu Bouron
2017-05-11lavc/mediacodec_wrapper: fix local reference leaksMatthieu Bouron
Reviewed-by: Clément Bœsch <u@pkh.me>
2016-10-19lavc/mediacodec_wrapper: do not discard codecs reporting they do not support ↵Matthieu Bouron
any profile Depending on the device, some (VP8/VP9/...) decoders report that they do not support any profiles.
2016-09-15lavc: add hevc mediacodec decoderMatthieu Bouron
2016-07-27lavc/ffjni: replace ff_jni_{attach,detach} with ff_jni_get_envMatthieu Bouron
If a JNI environment is not already attached to the thread where the MediaCodec calls are made the current implementation will attach / detach an environment for each MediaCodec call wasting some CPU time. ff_jni_get_env replaces ff_jni_{attach,detach} by permanently attaching an environment (if it is not already the case) to the current thread. The environment will be automatically detached at the thread destruction using a pthread_key callback. Saves around 5% of CPU time (out of 20%) while decoding a stream with MediaCodec.
2016-07-08lavc: add mediacodec hwaccel supportMatthieu Bouron
2016-06-15lavc/mediacodec: re-indent after previous commitMatthieu Bouron
2016-06-15lavc/mediacodec: refactor ff_AMediaCodecList_getCodecByTypeMatthieu Bouron
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.
2016-06-07lavc/mediacodec: bypass width/height restrictions when looking for a decoderMatthieu Bouron
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.
2016-06-07lavc/mediacodec: rename MediaFormat field clazz to mediaformat_class for ↵Matthieu Bouron
consistency
2016-06-07lavc/mediacodec: move struct declarations at the beginMatthieu Bouron
2016-06-07lavc/mediacodec: rename jfields_mapping to jni_amediacodeclist_mappingMatthieu Bouron
2016-06-07lavc/mediacodec: do not delete a local reference twice in case of errorMatthieu Bouron
2016-05-25lavc/mediacodec: add missing MediaCodec.Get{Input,Output}Buffer() checksMatthieu Bouron
2016-05-25lavc/mediacodec: factorize static fields initializationMatthieu Bouron
2016-03-15lavc/mediacodec: remove stray empty linesMatthieu Bouron
2016-03-07lavc: add h264 mediacodec decoderMatthieu Bouron