harmony 鸿蒙CodecVideoPortCap

  • 2025-06-16
  • 浏览 (3)

CodecVideoPortCap

概述

定义视频编解码能力。

起始版本: 3.2

相关模块:Codec

汇总

Public 属性

名称 描述
struct RectminSize 支持的最小分辨率。
struct RectmaxSize 支持的最大分辨率。
struct AlignmentwhAlignment 宽高对齐值。
struct RangeValueblockCount 支持的块数量范围。
struct RangeValueblocksPerSecond 每秒可处理的块数量范围。
struct RectblockSize 支持的块大小。
int[] supportPixFmts 支持的像素格式,详见PixeFormat
enum BitRateMode[] bitRatemode 传输速率模式,有恒定的,有变化的等几种模式。详见BitRateMode
struct RangeValueframeRate 帧率的范围。
int[] measuredFrameRate 实测的帧率。

类成员变量说明

bitRatemode

enum BitRateMode[] CodecVideoPortCap::bitRatemode 

描述

传输速率模式,有恒定的,有变化的等几种模式。详见BitRateMode

blockCount

struct RangeValue CodecVideoPortCap::blockCount

描述

支持的块数量范围。

blockSize

struct Rect CodecVideoPortCap::blockSize

描述

支持的块大小。

blocksPerSecond

struct RangeValue CodecVideoPortCap::blocksPerSecond

描述

每秒可处理的块数量范围。

frameRate

struct RangeValue CodecVideoPortCap::frameRate

描述

帧率的范围。

maxSize

struct Rect CodecVideoPortCap::maxSize

描述

支持的最大分辨率。

measuredFrameRate

 int [] CodecVideoPortCap::measuredFrameRate

描述

实测的帧率。

minSize

struct Rect CodecVideoPortCap::minSize

描述

支持的最小分辨率。

supportPixFmts

int [] CodecVideoPortCap::supportPixFmts

描述

支持的像素格式,详见Display中display_type.h定义的PixeFormat

whAlignment

struct Alignment CodecVideoPortCap::whAlignment

描述

宽高对齐值。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙CodeC HDI 参考

harmony 鸿蒙Alignment

harmony 鸿蒙Alignment

harmony 鸿蒙CodecAudioPortCap

harmony 鸿蒙CodecAudioPortCap

harmony 鸿蒙CodecCompCapability

harmony 鸿蒙CodecCompCapability

harmony 鸿蒙CodecExtTypes.idl

harmony 鸿蒙CodecImageBuffer

harmony 鸿蒙CodecImageBuffer

0  赞