digiKam
encoder-params.h
Go to the documentation of this file.
1 /*
2  * H.265 video codec.
3  * Copyright (c) 2013-2014 struktur AG, Dirk Farin <farin@struktur.de>
4  *
5  * Authors: Dirk Farin <farin@struktur.de>
6  *
7  * This file is part of libde265.
8  *
9  * libde265 is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU Lesser General Public License as
11  * published by the Free Software Foundation, either version 3 of
12  * the License, or (at your option) any later version.
13  *
14  * libde265 is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with libde265. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef ENCODER_PARAMS_H
24 #define ENCODER_PARAMS_H
25 
28 #include "libde265/encoder/sop.h"
29 
30 
32  {
35  };
36 
38  {
40  };
41 
42 
44  {
47  };
48 
49 class option_SOP_Structure : public choice_option<enum SOP_Structure>
50 {
51  public:
53  add_choice("intra", SOP_Intra);
54  add_choice("low-delay", SOP_LowDelay, true);
55  }
56 };
57 
58 
59 enum MEMode
60  {
63  };
64 
65 class option_MEMode : public choice_option<enum MEMode>
66 {
67  public:
69  add_choice("test", MEMode_Test, true);
70  add_choice("search", MEMode_Search);
71  }
72 };
73 
74 
76 {
78 
80 
81 
82  // CB quad-tree
83 
86 
89 
92 
93 
95 
97 
98 
99  // --- Algo_TB_IntraPredMode
100 
103 
104  //Algo_TB_IntraPredMode_FastBrute::params TB_IntraPredMode_FastBrute;
105  //Algo_TB_IntraPredMode_MinResidual::params TB_IntraPredMode_MinResidual;
106 
107 
108  // --- Algo_TB_Split_BruteForce
109 
110  //Algo_TB_Split_BruteForce::params TB_Split_BruteForce;
111 
112 
113  // --- Algo_CB_IntraPartMode
114 
116 
117  //Algo_CB_IntraPartMode_Fixed::params CB_IntraPartMode_Fixed;
118 
119  // --- Algo_CB_Split
120 
121  // --- Algo_CTB_QScale
122 
123  //Algo_CTB_QScale_Constant::params CTB_QScale_Constant;
124 
126 
127 
128  // intra-prediction
129 
131 
132 
133  // rate-control
134 
137 
138  //int constant_QP;
139  //int lambda;
140 };
141 
142 
143 #endif
Definition: configparam.h:258
void add_choice(const std::string &s, enum SOP_Structure id, bool default_value=false)
Definition: configparam.h:264
Definition: configparam.h:366
Definition: cb-intrapartmode.h:65
Definition: tb-intrapredmode.h:113
Definition: tb-intrapredmode.h:49
Definition: tb-rateestim.h:46
Definition: encoder-params.h:66
option_MEMode()
Definition: encoder-params.h:68
Definition: encoder-params.h:50
option_SOP_Structure()
Definition: encoder-params.h:52
Definition: configparam.h:182
MEMode
Definition: encoder-params.h:60
@ MEMode_Test
Definition: encoder-params.h:61
@ MEMode_Search
Definition: encoder-params.h:62
RateControlMethod
Definition: encoder-params.h:32
@ RateControlMethod_ConstantLambda
Definition: encoder-params.h:34
@ RateControlMethod_ConstantQP
Definition: encoder-params.h:33
IntraPredSearch
Definition: encoder-params.h:38
@ IntraPredSearch_Complete
Definition: encoder-params.h:39
SOP_Structure
Definition: encoder-params.h:44
@ SOP_LowDelay
Definition: encoder-params.h:46
@ SOP_Intra
Definition: encoder-params.h:45
Definition: encoder-params.h:76
void registerParams(config_parameters &config)
option_int max_transform_hierarchy_depth_inter
Definition: encoder-params.h:91
option_ALGO_TB_IntraPredMode_Subset mAlgo_TB_IntraPredMode_Subset
Definition: encoder-params.h:102
option_ALGO_TB_IntraPredMode mAlgo_TB_IntraPredMode
Definition: encoder-params.h:101
enum IntraPredSearch intraPredSearch
Definition: encoder-params.h:130
option_ALGO_TB_RateEstimation mAlgo_TB_RateEstimation
Definition: encoder-params.h:136
option_int max_transform_hierarchy_depth_intra
Definition: encoder-params.h:90
option_int min_cb_size
Definition: encoder-params.h:84
option_int max_tb_size
Definition: encoder-params.h:88
option_SOP_Structure sop_structure
Definition: encoder-params.h:94
option_int max_cb_size
Definition: encoder-params.h:85
enum RateControlMethod rateControlMethod
Definition: encoder-params.h:135
option_int min_tb_size
Definition: encoder-params.h:87
sop_creator_trivial_low_delay::params mSOP_LowDelay
Definition: encoder-params.h:96
option_MEMode mAlgo_MEMode
Definition: encoder-params.h:125
option_ALGO_CB_IntraPartMode mAlgo_CB_IntraPartMode
Definition: encoder-params.h:115