#include <stdio.h>
#include "global.h"
#include "kvazaar.h"
Go to the source code of this file.
|
#define | LCU_DEPTH_MAT_SIZE 64 |
|
#define | RESTRAINED_FLAG 1 |
|
#define | pow2(x) ((x)*(x)) |
|
#define | CR_XMAX(x_px, block_size, width) (MIN((x_px) + (block_size), (width)) - (x_px)) |
|
#define | CR_YMAX(y_px, block_size, height) (MIN((y_px) + (block_size), (height)) - (y_px)) |
|
#define | CR_GET_X_LCU(lcu_id, nb_lcu_width) (((lcu_id) % (nb_lcu_width)) << 6) |
|
#define | CR_GET_Y_LCU(lcu_id, nb_lcu_width) (((lcu_id) / (nb_lcu_width)) << 6) |
|
#define | CR_GET_CU_D3(x, y, depth) ((x)*(1 << (3-depth)) + ((y) << (6 - depth))) |
|
#define | CR_GET_CU_D4(x, y, depth) ((x)*(1 << (4-depth)) + ((y) << (8 - depth))) |
|
#define | CR_GET_DEPTH_MIN(x, y, depth_min_mat) *(depth_min_mat + (x >> 3) + ((y >> 3) << 3)) |
|
#define | CR_GET_DEPTH_MAX(x, y, depth_max_mat) *(depth_max_mat + (x >> 3) + ((y >> 3) << 3)) |
|
◆ CR_GET_CU_D3
#define CR_GET_CU_D3 |
( |
|
x, |
|
|
|
y, |
|
|
|
depth |
|
) |
| ((x)*(1 << (3-depth)) + ((y) << (6 - depth))) |
◆ CR_GET_CU_D4
#define CR_GET_CU_D4 |
( |
|
x, |
|
|
|
y, |
|
|
|
depth |
|
) |
| ((x)*(1 << (4-depth)) + ((y) << (8 - depth))) |
◆ CR_GET_DEPTH_MAX
◆ CR_GET_DEPTH_MIN
◆ CR_GET_X_LCU
◆ CR_GET_Y_LCU
◆ CR_XMAX
◆ CR_YMAX
◆ LCU_DEPTH_MAT_SIZE
◆ pow2
◆ RESTRAINED_FLAG
◆ tree_predict
◆ kvz_end_ml_intra_depth_const()
◆ kvz_init_ml_intra_depth_const()
◆ kvz_lcu_luma_depth_pred()