MPMovieVideoDecoderMode Constants Reference

Declared in KSYMoviePlayerDefines.h

MPMovieVideoDecoderMode

视频解码模式

Definition

typedef NS_ENUM(NSUInteger, MPMovieVideoDecoderMode ) {
   MPMovieVideoDecoderMode_Software = 0,
   MPMovieVideoDecoderMode_Hardware,
   MPMovieVideoDecoderMode_AUTO,
   MPMovieVideoDecoderMode_DisplayLayer,
};

Constants

MPMovieVideoDecoderMode_Software

视频解码方式采用软解

Declared In KSYMoviePlayerDefines.h.

MPMovieVideoDecoderMode_Hardware

视频解码方式采用硬解

Declared In KSYMoviePlayerDefines.h.

MPMovieVideoDecoderMode_AUTO

自动选择解码方式,8.0以上的系统优先选择硬解

Declared In KSYMoviePlayerDefines.h.

MPMovieVideoDecoderMode_DisplayLayer

使用系统接口进行解码和渲染,只适用于8.0及以上系统,低于8.0的系统自动使用软解

Declared In KSYMoviePlayerDefines.h.

Declared In

KSYMoviePlayerDefines.h