TUT HEVC Encoder
|
Functions | |
cu_info_t * | kvz_cu_array_at (cu_array_t *cua, unsigned x_px, unsigned y_px) |
const cu_info_t * | kvz_cu_array_at_const (const cu_array_t *cua, unsigned x_px, unsigned y_px) |
cu_array_t * | kvz_cu_array_alloc (const int width, const int height) |
Allocate a CU array. More... | |
cu_array_t * | kvz_cu_subarray (cu_array_t *base, const unsigned x_offset, const unsigned y_offset, const unsigned width, const unsigned height) |
void | kvz_cu_array_free (cu_array_t **cua_ptr) |
cu_array_t * | kvz_cu_array_copy_ref (cu_array_t *cua) |
Get a new pointer to a cu array. More... | |
void | kvz_cu_array_copy_from_lcu (cu_array_t *dst, int dst_x, int dst_y, const lcu_t *src) |
Copy an lcu to a cu array. More... | |
Variables | |
const uint8_t | kvz_part_mode_num_parts [] |
Number of PUs in a CU. More... | |
const uint8_t | kvz_part_mode_offsets [][4][2] |
PU offsets. More... | |
const uint8_t | kvz_part_mode_sizes [][4][2] |
PU sizes. More... | |
cu_array_t * kvz_cu_array_alloc | ( | const int | width, |
const int | height | ||
) |
width | width of the array in luma pixels |
height | height of the array in luma pixels |
cu_info_t * kvz_cu_array_at | ( | cu_array_t * | cua, |
unsigned | x_px, | ||
unsigned | y_px | ||
) |
const cu_info_t * kvz_cu_array_at_const | ( | const cu_array_t * | cua, |
unsigned | x_px, | ||
unsigned | y_px | ||
) |
void kvz_cu_array_copy_from_lcu | ( | cu_array_t * | dst, |
int | dst_x, | ||
int | dst_y, | ||
const lcu_t * | src | ||
) |
All values are in luma pixels.
dst | destination array |
dst_x | x-coordinate of the left edge of the copied area in dst |
dst_y | y-coordinate of the top edge of the copied area in dst |
src | source lcu |
cu_array_t * kvz_cu_array_copy_ref | ( | cu_array_t * | cua | ) |
Increment reference count and return the cu array.
void kvz_cu_array_free | ( | cu_array_t ** | cua_ptr | ) |
cu_array_t * kvz_cu_subarray | ( | cu_array_t * | base, |
const unsigned | x_offset, | ||
const unsigned | y_offset, | ||
const unsigned | width, | ||
const unsigned | height | ||
) |
const uint8_t kvz_part_mode_num_parts[] |
Indexed by part_mode_t values.
const uint8_t kvz_part_mode_offsets[][4][2] |
Indexed by [part mode][PU number][axis].
Units are 1/4 of the width of the CU.
const uint8_t kvz_part_mode_sizes[][4][2] |
Indexed by [part mode][PU number][axis].
Units are 1/4 of the width of the CU.