TUT HEVC Encoder
Loading...
Searching...
No Matches
constraint.h
Go to the documentation of this file.
1#ifndef CONSTRAINT_H_
2#define CONSTRAINT_H_
3/*****************************************************************************
4 * This file is part of Kvazaar HEVC encoder.
5 *
6 * Copyright (c) 2021, Tampere University, ITU/ISO/IEC, project contributors
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without modification,
10 * are permitted provided that the following conditions are met:
11 *
12 * * Redistributions of source code must retain the above copyright notice, this
13 * list of conditions and the following disclaimer.
14 *
15 * * Redistributions in binary form must reproduce the above copyright notice, this
16 * list of conditions and the following disclaimer in the documentation and/or
17 * other materials provided with the distribution.
18 *
19 * * Neither the name of the Tampere University or ITU/ISO/IEC nor the names of its
20 * contributors may be used to endorse or promote products derived from
21 * this software without specific prior written permission.
22 *
23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
27 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 * INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON
30 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 * INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
33 ****************************************************************************/
34
36#include "encoderstate.h"
37
38
39 /* Constraint structure:
40 * Each field corresponds to a constraint technique. The encoder tests if the constraint
41 * pointer is allocated to apply the technique.
42 */
43typedef struct {
44 // Structure used for the CTU depth prediction using Machine Learning in All Intra
47
48
49void * kvz_init_constraint(encoder_state_t* state, const encoder_control_t * const);
51
52#endif
void kvz_constraint_free(encoder_state_t *state)
Deallocate the constraint_t structure.
Definition constraint.c:64
void * kvz_init_constraint(encoder_state_t *state, const encoder_control_t *const)
Allocate the constraint_t structure.
Definition constraint.c:41
Top level of the encoder implementation.
Definition constraint.h:43
ml_intra_ctu_pred_t * ml_intra_depth_ctu
Definition constraint.h:45
Definition encoder.h:49
Definition encoderstate.h:274
Definition ml_intra_cu_depth_pred.h:63