digiKam
cb-intra-inter.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 CB_INTRA_INTER_H
24 #define CB_INTRA_INTER_H
25 
26 #include "libde265/nal-parser.h"
27 #include "libde265/decctx.h"
28 #include "libde265/slice.h"
29 #include "libde265/scan.h"
30 #include "libde265/intrapred.h"
31 #include "libde265/transform.h"
32 #include "libde265/fallback-dct.h"
33 #include "libde265/quality.h"
34 #include "libde265/fallback.h"
35 #include "libde265/configparam.h"
36 
41 
42 
43 // ========== CB Intra/Inter decision ==========
44 
46 {
47  public:
48  virtual ~Algo_CB_IntraInter() { }
49 
50  void setIntraChildAlgo(Algo_CB* algo) { mIntraAlgo = algo; }
51  void setInterChildAlgo(Algo_CB* algo) { mInterAlgo = algo; }
52 
53  virtual const char* name() const { return "cb-intra-inter"; }
54 
55  protected:
58 };
59 
61 {
62  public:
65  enc_cb* cb);
66 };
67 
68 #endif
Definition: cb-intra-inter.h:61
virtual enc_cb * analyze(encoder_context *, context_model_table &, enc_cb *cb)
Definition: cb-intra-inter.h:46
virtual const char * name() const
Definition: cb-intra-inter.h:53
Algo_CB * mInterAlgo
Definition: cb-intra-inter.h:57
virtual ~Algo_CB_IntraInter()
Definition: cb-intra-inter.h:48
Algo_CB * mIntraAlgo
Definition: cb-intra-inter.h:56
void setInterChildAlgo(Algo_CB *algo)
Definition: cb-intra-inter.h:51
void setIntraChildAlgo(Algo_CB *algo)
Definition: cb-intra-inter.h:50
Definition: algo.h:67
Definition: contextmodel.h:100
Definition: encoder-types.h:248
Definition: encoder-context.h:39