MeiCam SDK For Android  3.10.1
Public Attributes | List of all members
com.meicam.sdk.NvsVideoFrameInfo Class Reference

Gets information about the image. More...

Public Attributes

int frameWidth
 Gets the width of the image in pixels. More...
 
int frameHeight
 Gets the height of the image in pixels. More...
 
int rowPitchY = 0
 The number of bytes per line. If the image format is NV21, YUV420, it is generally referred to as the Y plane. More...
 
int rowPitchUV = 0
 The number of bytes per line of UV plane. If the format is RGBA, this quantity has no meaning. More...
 
int pixelFormat
 Gets the format of the image. (VIDEO_FRAME_PIXEL_FROMAT) More...
 
long frameTimestamp
 Gets the timestamp of the image in microseconds. More...
 
boolean isRec601
 Whether color space is BT.601. More...
 
boolean isFullRangeYuv
 Whether the yuv value range is full range(0-255) More...
 
int displayRotation
 Shows the angle at which the current image needs to be rotated. More...
 
boolean flipHorizontally
 Shows whether current image requires horizontal flip. More...
 
Image buddyImage
 

Static Public Attributes

Video Frame Pixel Format

static final int VIDEO_FRAME_PIXEL_FROMAT_NV21 = 0
 YUV 4:2:0 12bpp (2 channels, one channel is a continuous luminance channel, and the other channel is a VU component interlaced) More...
 
static final int VIDEO_FRAME_PIXEL_FROMAT_YUV420 = 1
 YUV 4:2:0 12bpp (3 channels, one luminance channel, the other two are U component and V component channels. All channels are continuous) More...
 
static final int VIDEO_FRAME_PIXEL_FROMAT_RGBA = 2
 RGBA 32bpp. More...
 
static final int VIDEO_FRAME_PIXEL_FROMAT_JPG_DATA = 3
 compress JPG data More...
 
static final int VIDEO_FRAME_PIXEL_FROMAT_NV12 = 4
 YUV 4:2:0 12bpp (2 channels, one channel is a continuous luminance channel, and the other channel is a VU component interlaced), Only used by custom video fx buddy buffer. More...
 
static final int VIDEO_FRAME_PIXEL_FROMAT_GRAY8 = 5
 

Detailed Description

Gets information about the image.

Defines the relevant properties of the image, including width, height, pixel format, etc.

Member Data Documentation

◆ buddyImage

Image com.meicam.sdk.NvsVideoFrameInfo.buddyImage

◆ displayRotation

int com.meicam.sdk.NvsVideoFrameInfo.displayRotation

Shows the angle at which the current image needs to be rotated.

◆ flipHorizontally

boolean com.meicam.sdk.NvsVideoFrameInfo.flipHorizontally

Shows whether current image requires horizontal flip.

◆ frameHeight

int com.meicam.sdk.NvsVideoFrameInfo.frameHeight

Gets the height of the image in pixels.

◆ frameTimestamp

long com.meicam.sdk.NvsVideoFrameInfo.frameTimestamp

Gets the timestamp of the image in microseconds.

◆ frameWidth

int com.meicam.sdk.NvsVideoFrameInfo.frameWidth

Gets the width of the image in pixels.

◆ isFullRangeYuv

boolean com.meicam.sdk.NvsVideoFrameInfo.isFullRangeYuv

Whether the yuv value range is full range(0-255)

◆ isRec601

boolean com.meicam.sdk.NvsVideoFrameInfo.isRec601

Whether color space is BT.601.

◆ pixelFormat

int com.meicam.sdk.NvsVideoFrameInfo.pixelFormat

Gets the format of the image. (VIDEO_FRAME_PIXEL_FROMAT)

◆ rowPitchUV

int com.meicam.sdk.NvsVideoFrameInfo.rowPitchUV = 0

The number of bytes per line of UV plane. If the format is RGBA, this quantity has no meaning.

◆ rowPitchY

int com.meicam.sdk.NvsVideoFrameInfo.rowPitchY = 0

The number of bytes per line. If the image format is NV21, YUV420, it is generally referred to as the Y plane.

◆ VIDEO_FRAME_PIXEL_FROMAT_GRAY8

final int com.meicam.sdk.NvsVideoFrameInfo.VIDEO_FRAME_PIXEL_FROMAT_GRAY8 = 5
static

◆ VIDEO_FRAME_PIXEL_FROMAT_JPG_DATA

final int com.meicam.sdk.NvsVideoFrameInfo.VIDEO_FRAME_PIXEL_FROMAT_JPG_DATA = 3
static

compress JPG data

◆ VIDEO_FRAME_PIXEL_FROMAT_NV12

final int com.meicam.sdk.NvsVideoFrameInfo.VIDEO_FRAME_PIXEL_FROMAT_NV12 = 4
static

YUV 4:2:0 12bpp (2 channels, one channel is a continuous luminance channel, and the other channel is a VU component interlaced), Only used by custom video fx buddy buffer.

◆ VIDEO_FRAME_PIXEL_FROMAT_NV21

final int com.meicam.sdk.NvsVideoFrameInfo.VIDEO_FRAME_PIXEL_FROMAT_NV21 = 0
static

YUV 4:2:0 12bpp (2 channels, one channel is a continuous luminance channel, and the other channel is a VU component interlaced)

◆ VIDEO_FRAME_PIXEL_FROMAT_RGBA

final int com.meicam.sdk.NvsVideoFrameInfo.VIDEO_FRAME_PIXEL_FROMAT_RGBA = 2
static

RGBA 32bpp.

◆ VIDEO_FRAME_PIXEL_FROMAT_YUV420

final int com.meicam.sdk.NvsVideoFrameInfo.VIDEO_FRAME_PIXEL_FROMAT_YUV420 = 1
static

YUV 4:2:0 12bpp (3 channels, one luminance channel, the other two are U component and V component channels. All channels are continuous)


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