Zhao Zhili
9aacbfb6ca
avcodec/mediacodec_wrapper: add async mode support
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com >
2024-11-20 19:23:13 +08:00
Zhao Zhili
d0c6389e91
avcodec/mediacodecdec: refactor color space utils
...
So it can be shared with encoder.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com >
2023-03-18 00:13:12 +08:00
Zhao Zhili
a63834b236
avcodec/mediacodec: fix missing crop info when use NDK MediaCodec
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com >
2022-12-08 23:52:39 +08:00
Zhao Zhili
0ff18a7d6d
avcodec: add MediaCodec encoder
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com >
2022-11-21 23:56:16 +08:00
Zhao Zhili
3a59446967
avcodec/mediacodec: add ANativeWindow support
...
ANativeWindow can be used without JVM.
2022-11-21 23:55:57 +08:00
Zhao Zhili
4df9cb918e
avcodec/mediacodec: add NDK media codec wrapper
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com >
2022-11-21 23:52:34 +08:00
Zhao Zhili
4f2ea862b3
avcodec/mediacodec_wrapper: separate implementation from interface
...
This is in preparation for NDK media codec wrapper.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com >
2022-11-21 23:52:25 +08:00
Matthieu Bouron
6251ad89a7
avcodec/mediacodec_wrapper: add missing "avcodec.h" include
2019-07-22 08:57:33 +02:00
Aman Gupta
fe0a6bcbda
avcodec/mediacodec_wrapper: add helper to fetch SDK_INT
...
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com >
Signed-off-by: Aman Gupta <aman@tmm1.net >
2018-05-04 11:51:45 -07:00
Andreas Cadhalpun
c8a6eb58d7
doc: fix spelling errors
...
Thanks to Mathieu Malaterre <malat@debian.org > for reporting the
Que/Queue typo. (https://bugs.debian.org/839542 )
Reviewed-by: Lou Logan <lou@lrcd.com >
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
2016-10-21 23:58:47 +02:00
Matthieu Bouron
e452abc5c2
lavc/mediacodec: refactor ff_AMediaCodecList_getCodecByType
...
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-15 16:36:13 +02:00
Matthieu Bouron
93f4d1646e
lavc/mediacodec: bypass width/height restrictions when looking for a decoder
...
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-07 10:22:20 +02:00
Matthieu Bouron
4737fe6907
lavc: add h264 mediacodec decoder
2016-03-07 11:28:29 +01:00