NVIDIA DRIVE 5.0 Linux SDK API Reference

5.0.5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaJPEncAttributes Struct Reference

Detailed Description

image JPEG encoder attributes.

Definition at line 89 of file nvmedia_ijpe.h.

Collaboration diagram for NvMediaJPEncAttributes:

Data Fields

uint8_t quality
 A value clamped to between 1 and 100, set to generate luma/chroma Quant tables. More...
 
uint32_t restartInterval
 A value to specify restart interval, initialized to 0 at NvMediaIJPE creation. More...
 
uint32_t targetImageSize
 A value to specify target encode size, initialized to 0xffffffff at NvMediaIJPE creation. More...
 
uint8_t lumaQuant [64]
 A table for Luma quantization, initialized to default standard table at NvMediaIJPE creation. More...
 
uint8_t chromaQuant [64]
 A table for Chroma quantization, initialized to default standard table at NvMediaIJPE creation. More...
 
NvMediaJPHuffmanTableSpecficationlumaDC
 A Huffmann table for Luma DC sample, initialized to NULL for using default table in JPEG specification. More...
 
NvMediaJPHuffmanTableSpecficationlumaAC
 A Huffmann table for Luma AC sample, initialized to NULL for using default table in JPEG specification. More...
 
NvMediaJPHuffmanTableSpecficationchromaDC
 A Huffmann table for Chroma DC sample, initialized to NULL for using default table in JPEG specification. More...
 
NvMediaJPHuffmanTableSpecficationchromaAC
 A Huffmann table for Chroma AC sample, initialized to NULL for using default table in JPEG specification. More...
 

Field Documentation

NvMediaJPHuffmanTableSpecfication* NvMediaJPEncAttributes::chromaAC

A Huffmann table for Chroma AC sample, initialized to NULL for using default table in JPEG specification.

The corresponding attribute mask is NVMEDIA_IMAGE_JPEG_ATTRIBUTE_HUFFTABLE Only support in T210 or greater

Definition at line 135 of file nvmedia_ijpe.h.

NvMediaJPHuffmanTableSpecfication* NvMediaJPEncAttributes::chromaDC

A Huffmann table for Chroma DC sample, initialized to NULL for using default table in JPEG specification.

The corresponding attribute mask is NVMEDIA_IMAGE_JPEG_ATTRIBUTE_HUFFTABLE Only support in T210 or greater

Definition at line 129 of file nvmedia_ijpe.h.

uint8_t NvMediaJPEncAttributes::chromaQuant[64]

A table for Chroma quantization, initialized to default standard table at NvMediaIJPE creation.

The corresponding attribute mask is NVMEDIA_IMAGE_JPEG_ATTRIBUTE_QUANTTABLE

Definition at line 111 of file nvmedia_ijpe.h.

NvMediaJPHuffmanTableSpecfication* NvMediaJPEncAttributes::lumaAC

A Huffmann table for Luma AC sample, initialized to NULL for using default table in JPEG specification.

The corresponding attribute mask is NVMEDIA_IMAGE_JPEG_ATTRIBUTE_HUFFTABLE Only support in T210 or greater

Definition at line 123 of file nvmedia_ijpe.h.

NvMediaJPHuffmanTableSpecfication* NvMediaJPEncAttributes::lumaDC

A Huffmann table for Luma DC sample, initialized to NULL for using default table in JPEG specification.

The corresponding attribute mask is NVMEDIA_IMAGE_JPEG_ATTRIBUTE_HUFFTABLE Only support in T210 or greater

Definition at line 117 of file nvmedia_ijpe.h.

uint8_t NvMediaJPEncAttributes::lumaQuant[64]

A table for Luma quantization, initialized to default standard table at NvMediaIJPE creation.

The corresponding attribute mask is NVMEDIA_IMAGE_JPEG_ATTRIBUTE_QUANTTABLE

Definition at line 107 of file nvmedia_ijpe.h.

uint8_t NvMediaJPEncAttributes::quality

A value clamped to between 1 and 100, set to generate luma/chroma Quant tables.

It is initialized to 0 at NvMediaIJPE creation, so encoder will use default standard Luma/Chroma quant tables. The corresponding attribute mask is NVMEDIA_IMAGE_JPEG_ATTRIBUTE_QUALITY

Definition at line 95 of file nvmedia_ijpe.h.

uint32_t NvMediaJPEncAttributes::restartInterval

A value to specify restart interval, initialized to 0 at NvMediaIJPE creation.

The corresponding attribute mask is NVMEDIA_IMAGE_JPEG_ATTRIBUTE_RESTARTINTERVAL

Definition at line 99 of file nvmedia_ijpe.h.

uint32_t NvMediaJPEncAttributes::targetImageSize

A value to specify target encode size, initialized to 0xffffffff at NvMediaIJPE creation.

The corresponding attribute mask is NVMEDIA_IMAGE_JPEG_ATTRIBUTE_TARGETSIZE

Definition at line 103 of file nvmedia_ijpe.h.


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