codecapi.h 标头

此标头由多种技术使用。 有关详细信息,请参阅:

codecapi.h 包含以下编程接口:

枚举

 
eAVAudioChannelConfig

指定音频位流中音频通道的扬声器配置。 此枚举与 AVAudioChannelConfig 属性一起使用。
eAVDDSurroundMode

指定是否在 Dolby Surround 中编码音频。 此枚举与 AVDDSurroundMode 属性一起使用。
eAVDecAACDownmixMode

指定 AAC 解码器是否使用标准 MPEG-2/MPEG-4 立体声向下混合公式。
eAVDecAudioDualMono

指定输入音频流是立体声还是双声道。 此枚举与 AVDecAudioDualMono 属性一起使用。
eAVDecAudioDualMonoReproMode

指定解码器如何重现双声道音频。 此枚举与 AVDecAudioDualMonoReproMode 属性一起使用。
eAVDecDDOperationalMode

指定 Dolby AC-3 音频流的压缩控制模式。 此枚举与 AVDecDDOperationalMode 属性一起使用。
eAVDecDDStereoDownMixMode

指定 Dolby Digital 音频解码器的立体声向下混合模式。
eAVDecHEAACDynamicRangeControl

指定 AAC 解码器是否执行动态范围控制。
eAVDecVideoInputScanType

指定解码的视频流如何交错。 此枚举与 AVDecVideoInputScanType 属性一起使用。
eAVDecVideoSoftwareDeinterlaceMode

指定视频解码器的软件反交错模式。 此枚举与 AVDecVideoSoftwareDeinterlaceMode 属性一起使用。
eAVDecVideoSWPowerLevel

指定视频解码器的节能级别。
eAVDSPLoudnessEqualization

指定是否在音频解码器或数字信号处理器(DSP)中启用音量均衡。
eAVDSPSpeakerFill

指定扬声器填充是在音频解码器还是数字信号处理器(DSP)中启用。
eAVEncAdaptiveMode

指定视频编码器的自适应编码模式。
eAVEncAudioDualMono

指定 2 声道音频是编码为立体声还是双声道。 此枚举与 AVEncAudioDualMono 属性一起使用。
eAVEncAudioInputContent

指定音频内容是否包含音乐或语音。 此枚举与 AVEncAudioInputContent 属性一起使用。
eAVEncCommonRateControlMode

指定编码器的速率控制模式。 此枚举与 AVEncCommonRateControlMode codec 属性一起使用。
eAVEncCommonStreamEndHandling

指定编码器是否放弃流末尾的部分图片组(GOP)。 此枚举与 AVEncCommonStreamEndHandling 编解码器属性一起使用。
eAVEncDDAtoDConverterType

指定 Dolby Digital 音频流的模拟到数字(A/D)转换的类型。 此枚举与 AVEncDDAtoDConverterType 属性一起使用。
eAVEncDDDynamicRangeCompressionControl

指定 Dolby Digital 音频流中的动态范围控制配置文件。 此枚举与 AVEncDDDynamicRangeCompressionControl 属性一起使用。
eAVEncDDHeadphoneMode

指定 Dolby Digital 音频流的耳机模式。 此枚举与 AVEncDDHeadphoneMode 属性一起使用。
eAVEncDDPreferredStereoDownMixMode

指定 Dolby Digital 音频流的首选立体声向下混合模式。 此枚举与 AVEncDDPreferredStereoDownMixMode 属性一起使用。
eAVEncDDProductionRoomType

指定 Dolby Digital 音频流的会议室类型。 此枚举与 AVEncDDProductionRoomType 属性一起使用。
eAVEncDDService

指定 Dolby Digital 音频流中包含的音频服务。 此枚举与 AVEncDDService 属性一起使用。
eAVEncDDSurroundExMode

指定 Dolby 数字音频流是否在 Dolby Digital Surround EX 中编码。 此枚举与 AVEncDDSurroundExMode 属性一起使用。
eAVEncH264PictureType

指定视频编码器输出的图片类型。
eAVEncH264VLevel

指定 H.264 编码级别。
eAVEncH264VProfile

指定 H.264 视频配置文件。
eAVEncH265VLevel

指定 H.265 编码级别。
eAVEncH265VProfile

指定 H.265 视频配置文件。
eAVEncInputVideoSystem

指定视频源的名义范围。 此枚举与 AVEncInputVideoSystem 属性一起使用。
eAVEncMPACodingMode

指定 MPEG 音频编码模式。 此枚举与 AVEncMPACodingMode 属性一起使用。
eAVEncMPAEmphasisType

指定解码时应使用的去强调筛选器的类型。 此枚举与 AVEncMPAEmphasisType 属性一起使用。
eAVEncMPALayer

指定 MPEG 音频层。 此枚举与 AVEncMPALayer 属性一起使用。
eAVEncMPVFrameFieldMode

指定编码器是生成编码字段还是编码帧。 此枚举与 AVEncMPVFrameFieldMode 属性一起使用。
eAVEncMPVIntraVLCTable

指定要用于 entropy 编码的可变长度编码 (VLC) 表。 此枚举与 AVEncMPVIntraVLCTable 属性一起使用。
eAVEncMPVLevel

指定 MPEG-2 配置文件。 此枚举与 AVEncMPVLevel 属性一起使用。
eAVEncMPVProfile

指定 MPEG-2 配置文件。 此枚举与 AVEncMPVProfile 属性一起使用。
eAVEncMPVQScaleType

指定量化器刻度是线性还是非线性。 此枚举与 AVEncMPVQScaleType 属性一起使用。
eAVEncMPVScanPattern

指定宏块扫描模式。 此枚举与 AVEncMPVScanPattern 属性一起使用。
eAVEncMPVSceneDetection

指定编码器在检测到新场景时的行为方式。 此枚举与 AVEncMPVSceneDetection 属性一起使用。
eAVEncMuxOutput

指定多路复用器生成的输出流的类型。 此枚举与 AVEncMuxOutputStreamType 属性一起使用。
eAVEncVideoChromaResolution

指定色度分辨率。 此枚举与 AVEncVideoInputChromaResolution 和 AVEncVideoOutputChromaResolution 属性一起使用。
eAVEncVideoChromaSubsampling

指定色度放置。 色度定位定义色度样本相对于 luma 样本的位置。 此枚举与 AVEncVideoInputChromaSubsampling 和 AVEncVideoOutputChromaSubsampling 属性一起使用。
eAVEncVideoColorLighting

指定用于查看视频源的预期照明条件。 此枚举用于 AVEncVideoInputColorLighting 和 AVEncVideoOutputColorLighting 属性。
eAVEncVideoColorNominalRange

指定视频源的名义范围。 此枚举与 AVEncVideoInputChromaSubsampling 和 AVEncVideoOutputChromaSubsampling 属性一起使用。
eAVEncVideoColorPrimaries

指定视频的颜色初选。 此枚举用于 AVEncVideoInputColorPrimaries 和 AVEncVideoOutputColorPrimaries 属性。
eAVEncVideoColorTransferFunction

指定从 R'G'B' 转换为 RGB 的转换函数。 此枚举与 AVEncVideoInputColorTransferFunction 和 AVEncVideoOutputColorTransferFunction 属性一起使用。
eAVEncVideoColorTransferMatrix

指定从 Y'Cb'Cr' 颜色空间到 R'G'B' 颜色空间的转换矩阵。 此枚举用于 AVEncVideoInputColorTransferMatrix 和 AVEncVideoOutputColorTransferMatrix 属性。
eAVEncVideoContentType

指定视频内容类型。
eAVEncVideoFilmContent

指定输入视频的原始源是电影还是视频。 此枚举与 AVEncVideoSourceFilmContent 属性一起使用。
eAVEncVideoOutputFrameRateConversion

指定编码器是否转换帧速率(如果输出帧速率与输入帧速率不匹配)。 此枚举与 AVEncVideoOutputFrameRateConversion 属性一起使用。
eAVEncVideoOutputScanType

指定编码器如何交错输出视频。 此枚举与 AVEncVideoOutputScanType 属性一起使用。
eAVEncVideoSourceScanType

指定编码器的输入帧是渐进式还是交错。 此枚举与 AVEncVideoForceSourceScanType 属性一起使用。
eAVFastDecodeMode

指定视频解码速度。 此枚举与 AVDecVideoFastDecodeMode 属性一起使用。