TUT HEVC Encoder
Loading...
Searching...
No Matches
ml_intra_cu_depth_pred.h File Reference
#include <stdio.h>
#include "global.h"
#include "kvazaar.h"
Include dependency graph for ml_intra_cu_depth_pred.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vect_2D
 
struct  ml_intra_ctu_pred_t
 
struct  features_s
 

Macros

#define LCU_DEPTH_MAT_SIZE   64
 
#define RESTRAINED_FLAG   1
 
#define pow2(x)
 
#define CR_XMAX(x_px, block_size, width)
 
#define CR_YMAX(y_px, block_size, height)
 
#define CR_GET_X_LCU(lcu_id, nb_lcu_width)
 
#define CR_GET_Y_LCU(lcu_id, nb_lcu_width)
 
#define CR_GET_CU_D3(x, y, depth)
 
#define CR_GET_CU_D4(x, y, depth)
 
#define CR_GET_DEPTH_MIN(x, y, depth_min_mat)
 
#define CR_GET_DEPTH_MAX(x, y, depth_max_mat)
 

Typedefs

typedef int(* tree_predict) (features_s *, double *, double *)
 

Functions

ml_intra_ctu_pred_tkvz_init_ml_intra_depth_const (void)
 Allocate the structure and buffer.
 
void kvz_end_ml_intra_depth_const (ml_intra_ctu_pred_t *ml_intra_depth_ctu)
 Fee the bufer and structure.
 
void kvz_lcu_luma_depth_pred (ml_intra_ctu_pred_t *ml_intra_depth_ctu, kvz_pixel *luma_px, int8_t qp)
 Generate the interval of depth predictions based on the luma samples.
 

Macro Definition Documentation

◆ CR_GET_CU_D3

#define CR_GET_CU_D3 ( x,
y,
depth )
Value:
((x)*(1 << (3-depth)) + ((y) << (6 - depth)))

◆ CR_GET_CU_D4

#define CR_GET_CU_D4 ( x,
y,
depth )
Value:
((x)*(1 << (4-depth)) + ((y) << (8 - depth)))

◆ CR_GET_DEPTH_MAX

#define CR_GET_DEPTH_MAX ( x,
y,
depth_max_mat )
Value:
*(depth_max_mat + (x >> 3) + ((y >> 3) << 3))

◆ CR_GET_DEPTH_MIN

#define CR_GET_DEPTH_MIN ( x,
y,
depth_min_mat )
Value:
*(depth_min_mat + (x >> 3) + ((y >> 3) << 3))

◆ CR_GET_X_LCU

#define CR_GET_X_LCU ( lcu_id,
nb_lcu_width )
Value:
(((lcu_id) % (nb_lcu_width)) << 6)

◆ CR_GET_Y_LCU

#define CR_GET_Y_LCU ( lcu_id,
nb_lcu_width )
Value:
(((lcu_id) / (nb_lcu_width)) << 6)

◆ CR_XMAX

#define CR_XMAX ( x_px,
block_size,
width )
Value:
(MIN((x_px) + (block_size), (width)) - (x_px))
#define MIN(a, b)
Definition global.h:202

◆ CR_YMAX

#define CR_YMAX ( y_px,
block_size,
height )
Value:
(MIN((y_px) + (block_size), (height)) - (y_px))

◆ LCU_DEPTH_MAT_SIZE

#define LCU_DEPTH_MAT_SIZE   64

◆ pow2

#define pow2 ( x)
Value:
((x)*(x))

◆ RESTRAINED_FLAG

#define RESTRAINED_FLAG   1

Typedef Documentation

◆ tree_predict

typedef int(* tree_predict) (features_s *, double *, double *)

Function Documentation

◆ kvz_end_ml_intra_depth_const()

void kvz_end_ml_intra_depth_const ( ml_intra_ctu_pred_t * ml_intra_depth_ctu)
Here is the caller graph for this function:

◆ kvz_init_ml_intra_depth_const()

ml_intra_ctu_pred_t * kvz_init_ml_intra_depth_const ( void )
Here is the caller graph for this function:

◆ kvz_lcu_luma_depth_pred()

void kvz_lcu_luma_depth_pred ( ml_intra_ctu_pred_t * ml_intra_depth_ctu,
kvz_pixel * luma_px,
int8_t qp )
Here is the call graph for this function:
Here is the caller graph for this function: