MeiCam SDK For Android  3.16.2
Public Member Functions | Public Attributes | List of all members
com.meicam.sdk.NvsVideoResolution Class Reference

Video resolution. More...

Public Member Functions

 NvsVideoResolution ()
 

Public Attributes

int imageWidth
 Image width. More...
 
int imageHeight
 Image height. More...
 
NvsRational imagePAR
 Pixel ratio (only 1:1) More...
 
int bitDepth
 Default is 8Bit. More...
 
int colorTransfer
 Default is 8Bit. More...
 
int colorPrimaries
 The color primaries of the current image. (VIDEO_FRAME_COLOR_PRIMARIES) More...
 

Static Public Attributes

Video Frame Pixel Format

static final int VIDEO_RESOLUTION_BIT_DEPTH_8_BIT = 0
 The bit depth of processing pixel is 8bit. More...
 
static final int VIDEO_RESOLUTION_BIT_DEPTH_16_BIT_FLOAT = 1
 The bit depth of processing pixel is half float. More...
 
static final int VIDEO_RESOLUTION_BIT_DEPTH_AUTO = 2
 
Color Transfer Characteristic.

static final int COLOR_TRANSFER_unspecified = 0
 
static final int COLOR_TRANSFER_sRGB_SDR = 1
 
static final int COLOR_TRANSFER_ST2084 = 2
 
static final int COLOR_TRANSFER_HLG = 3
 
static final int COLOR_TRANSFER_sRGB_HDR = 4
 The eotf curve is sRGB, with 203 nits corresponding to 1.0. Values exceeding 1.0 are used to represent HDR signals. If this electro-optical conversion is used, the bit depth must be 16‑bit float. More...
 
Chromaticity coordinates of the source primaries.

static final int COLOR_PRIMARIES_BT709 = 1
 RGB color space BT.709 standardized as Rec. ITU-R BT.709-5. More...
 
static final int COLOR_PRIMARIES_BT2020 = 2
 RGB color space BT.2020 standardized as Rec. ITU-R BT.2020-1. More...
 
static final int COLOR_PRIMARIES_DISPLAY_P3 = 3
 

Detailed Description

Video resolution.

Constructor & Destructor Documentation

◆ NvsVideoResolution()

com.meicam.sdk.NvsVideoResolution.NvsVideoResolution ( )
inline

Member Data Documentation

◆ bitDepth

int com.meicam.sdk.NvsVideoResolution.bitDepth

Default is 8Bit.

◆ COLOR_PRIMARIES_BT2020

final int com.meicam.sdk.NvsVideoResolution.COLOR_PRIMARIES_BT2020 = 2
static

RGB color space BT.2020 standardized as Rec. ITU-R BT.2020-1.

◆ COLOR_PRIMARIES_BT709

final int com.meicam.sdk.NvsVideoResolution.COLOR_PRIMARIES_BT709 = 1
static

RGB color space BT.709 standardized as Rec. ITU-R BT.709-5.

◆ COLOR_PRIMARIES_DISPLAY_P3

final int com.meicam.sdk.NvsVideoResolution.COLOR_PRIMARIES_DISPLAY_P3 = 3
static

RGB color space Display P3 based on SMPTE RP 431-2-2007 and IEC 61966-2.1:1999.

◆ COLOR_TRANSFER_HLG

final int com.meicam.sdk.NvsVideoResolution.COLOR_TRANSFER_HLG = 3
static

◆ COLOR_TRANSFER_sRGB_HDR

final int com.meicam.sdk.NvsVideoResolution.COLOR_TRANSFER_sRGB_HDR = 4
static

The eotf curve is sRGB, with 203 nits corresponding to 1.0. Values exceeding 1.0 are used to represent HDR signals. If this electro-optical conversion is used, the bit depth must be 16‑bit float.

◆ COLOR_TRANSFER_sRGB_SDR

final int com.meicam.sdk.NvsVideoResolution.COLOR_TRANSFER_sRGB_SDR = 1
static

◆ COLOR_TRANSFER_ST2084

final int com.meicam.sdk.NvsVideoResolution.COLOR_TRANSFER_ST2084 = 2
static

◆ COLOR_TRANSFER_unspecified

final int com.meicam.sdk.NvsVideoResolution.COLOR_TRANSFER_unspecified = 0
static

◆ colorPrimaries

int com.meicam.sdk.NvsVideoResolution.colorPrimaries

The color primaries of the current image. (VIDEO_FRAME_COLOR_PRIMARIES)

◆ colorTransfer

int com.meicam.sdk.NvsVideoResolution.colorTransfer

Default is 8Bit.

◆ imageHeight

int com.meicam.sdk.NvsVideoResolution.imageHeight

Image height.

◆ imagePAR

NvsRational com.meicam.sdk.NvsVideoResolution.imagePAR

Pixel ratio (only 1:1)

◆ imageWidth

int com.meicam.sdk.NvsVideoResolution.imageWidth

Image width.

◆ VIDEO_RESOLUTION_BIT_DEPTH_16_BIT_FLOAT

final int com.meicam.sdk.NvsVideoResolution.VIDEO_RESOLUTION_BIT_DEPTH_16_BIT_FLOAT = 1
static

The bit depth of processing pixel is half float.

◆ VIDEO_RESOLUTION_BIT_DEPTH_8_BIT

final int com.meicam.sdk.NvsVideoResolution.VIDEO_RESOLUTION_BIT_DEPTH_8_BIT = 0
static

The bit depth of processing pixel is 8bit.

◆ VIDEO_RESOLUTION_BIT_DEPTH_AUTO

final int com.meicam.sdk.NvsVideoResolution.VIDEO_RESOLUTION_BIT_DEPTH_AUTO = 2
static

The bit depth of processing pixel is adaptive. For example, for videos with HDR in editing, half precision floating point will be used for HDR video processing in SDK


The documentation for this class was generated from the following file: