51 typedef struct _VAEncPictureParameterBufferJPEG {
103 uint8_t component_id[4];
105 uint8_t quantiser_table_selector[4];
120 typedef struct _VAEncSliceParameterBufferJPEG {
142 typedef struct _VAQMatrixBufferJPEG {
148 uint8_t lum_quantiser_matrix[64];
150 uint8_t chroma_quantiser_matrix[64];
#define VA_PADDING_LOW
Definition: va.h:360
VAGenericID VABufferID
Definition: va.h:2019
JPEG Encoding Picture Parameter Buffer Structure.
Definition: va_enc_jpeg.h:51
uint8_t sample_bit_depth
number of bits per sample.
Definition: va_enc_jpeg.h:97
uint32_t interleaved
interleaved: 0 - non interleaved, 1 - interleaved
Definition: va_enc_jpeg.h:86
uint8_t num_scan
total number of scans in image.
Definition: va_enc_jpeg.h:99
uint32_t profile
profile: 0 - Baseline, 1 - Extended, 2 - Lossless, 3 - Hierarchical
Definition: va_enc_jpeg.h:71
uint16_t picture_width
picture width.
Definition: va_enc_jpeg.h:55
uint16_t num_components
number of image components in frame.
Definition: va_enc_jpeg.h:101
VABufferID coded_buf
holds coded data.
Definition: va_enc_jpeg.h:59
uint8_t quality
number from 1 to 100 that specifies quality of image.
Definition: va_enc_jpeg.h:107
uint32_t huffman
huffman: 0 - arithmetic, 1 - huffman
Definition: va_enc_jpeg.h:81
uint32_t differential
differential: 0 - non differential, 1 - differential
Definition: va_enc_jpeg.h:91
VASurfaceID reconstructed_picture
holds reconstructed picture.
Definition: va_enc_jpeg.h:53
uint16_t picture_height
picture height.
Definition: va_enc_jpeg.h:57
uint32_t progressive
progressive: 0 - sequential, 1 - extended, 2 - progressive
Definition: va_enc_jpeg.h:76
Slice parameter for JPEG encoding.
Definition: va_enc_jpeg.h:120
uint8_t component_selector
Scan component selector (Csj).
Definition: va_enc_jpeg.h:127
uint16_t restart_interval
Restart interval definition (Ri).
Definition: va_enc_jpeg.h:122
uint8_t ac_table_selector
AC entropy coding table selector (Taj).
Definition: va_enc_jpeg.h:131
uint16_t num_components
number of image components in a scan.
Definition: va_enc_jpeg.h:124
uint8_t dc_table_selector
DC entropy coding table selector (Tdj).
Definition: va_enc_jpeg.h:129
Quantization table for JPEG encoding.
Definition: va_enc_jpeg.h:142
int32_t load_lum_quantiser_matrix
load luma quantization table.
Definition: va_enc_jpeg.h:144
int32_t load_chroma_quantiser_matrix
load chroma quantization table.
Definition: va_enc_jpeg.h:146