[FFmpeg-devel] [PATCH 2/2] avcodec/videotoolbox: add hevc support

wm4 nfxjfg at googlemail.com
Wed Sep 27 15:51:49 EEST 2017


On Tue, 26 Sep 2017 18:08:10 -0700
Aman Gupta <ffmpeg at tmm1.net> wrote:

> From: Aman Gupta <aman at tmm1.net>
> 
> ---
>  configure                    |   2 +
>  libavcodec/allcodecs.c       |   1 +
>  libavcodec/hevc_refs.c       |   3 +
>  libavcodec/hevcdec.c         |  12 ++-
>  libavcodec/vda_vt_internal.h |   1 +
>  libavcodec/videotoolbox.c    | 203 +++++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 221 insertions(+), 1 deletion(-)

PS: A final patch should make sure these symbols don't cause build
failures with older SDKs:

> +        case kCMVideoCodecType_HEVC :

> +        videotoolbox->cm_codec_type = kCMVideoCodecType_HEVC;


Maybe with a configure check.


More information about the ffmpeg-devel mailing list