TUT HEVC Encoder
Loading...
Searching...
No Matches
encode_coding_tree-generic.h
Go to the documentation of this file.
1#ifndef ENCODE_CODING_TREE_GENERIC_H_
2#define ENCODE_CODING_TREE_GENERIC_H_
3
4/*****************************************************************************
5 * This file is part of Kvazaar HEVC encoder.
6 *
7 * Copyright (c) 2021, Tampere University, ITU/ISO/IEC, project contributors
8 * All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without modification,
11 * are permitted provided that the following conditions are met:
12 *
13 * * Redistributions of source code must retain the above copyright notice, this
14 * list of conditions and the following disclaimer.
15 *
16 * * Redistributions in binary form must reproduce the above copyright notice, this
17 * list of conditions and the following disclaimer in the documentation and/or
18 * other materials provided with the distribution.
19 *
20 * * Neither the name of the Tampere University or ITU/ISO/IEC nor the names of its
21 * contributors may be used to endorse or promote products derived from
22 * this software without specific prior written permission.
23 *
24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
25 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
28 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
29 * INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
30 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON
31 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 * INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
34 ****************************************************************************/
35
41#include "encoderstate.h"
42#include "global.h"
43
45 cabac_data_t * const cabac,
46 const coeff_t *coeff,
47 uint8_t width,
48 uint8_t type,
49 int8_t scan_mode,
50 int8_t tr_skip,
51 double* bits_out);
52
53int kvz_strategy_register_encode_generic(void* opaque, uint8_t bitdepth);
54
55#endif // ENCODE_CODING_TREE_GENERIC_H_
int kvz_strategy_register_encode_generic(void *opaque, uint8_t bitdepth)
Definition encode_coding_tree-generic.c:286
void kvz_encode_coeff_nxn_generic(encoder_state_t *const state, cabac_data_t *const cabac, const coeff_t *coeff, uint8_t width, uint8_t type, int8_t scan_mode, int8_t tr_skip, double *bits_out)
Definition encode_coding_tree-generic.c:40
Top level of the encoder implementation.
Header that is included in every other header.
int16_t coeff_t
Definition global.h:115
Definition cabac.h:54
Definition encoderstate.h:274