Coding Unit data structure and related functions.
Header that is included in every other header.
This file defines the public API of Kvazaar when used as a library.
kvz_chroma_format
Chroma subsampling format used for encoding.
Definition kvazaar.h:209
Struct which contains all picture data.
Definition kvazaar.h:504
Struct which contains all picture data.
Definition videoframe.h:50
int32_t width
Luma pixel array width.
Definition videoframe.h:54
int32_t poc
Picture order count.
Definition videoframe.h:62
kvz_picture * source
Source image.
Definition videoframe.h:51
cu_array_t * cu_array
Info for each CU at each depth.
Definition videoframe.h:59
kvz_picture * rec
Reconstructed image.
Definition videoframe.h:52
struct sao_info_t * sao_luma
Array of sao parameters for every LCU.
Definition videoframe.h:60
int32_t height_in_lcu
Picture width in number of LCU's.
Definition videoframe.h:56
int32_t height
Luma pixel array height.
Definition videoframe.h:55
int32_t width_in_lcu
Picture height in number of LCU's.
Definition videoframe.h:57
struct sao_info_t * sao_chroma
Array of sao parameters for every LCU.
Definition videoframe.h:61
struct videoframe videoframe_t
Struct which contains all picture data.
videoframe_t * kvz_videoframe_alloc(int32_t width, int32_t height, enum kvz_chroma_format chroma_format)
Allocate new frame.
Definition videoframe.c:46
void kvz_videoframe_set_poc(videoframe_t *frame, int32_t poc)
Definition videoframe.c:88
int kvz_videoframe_free(videoframe_t *const frame)
Free memory allocated to frame.
Definition videoframe.c:71