FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hevcpred.h
Go to the documentation of this file.
1 /*
2  * HEVC video Decoder
3  *
4  * Copyright (C) 2012 - 2013 Guillaume Martres
5  *
6  * This file is part of FFmpeg.
7  *
8  * FFmpeg is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * FFmpeg is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with FFmpeg; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 
23 #ifndef AVCODEC_HEVCPRED_H
24 #define AVCODEC_HEVCPRED_H
25 
26 #include <stddef.h>
27 #include <stdint.h>
28 
29 struct HEVCContext;
30 
31 typedef struct HEVCPredContext {
32  void (*intra_pred[4])(struct HEVCContext *s, int x0, int y0, int c_idx);
33 
34  void (*pred_planar[4])(uint8_t *src, const uint8_t *top,
35  const uint8_t *left, ptrdiff_t stride);
36  void (*pred_dc)(uint8_t *src, const uint8_t *top, const uint8_t *left,
37  ptrdiff_t stride, int log2_size, int c_idx);
38  void (*pred_angular[4])(uint8_t *src, const uint8_t *top,
39  const uint8_t *left, ptrdiff_t stride,
40  int c_idx, int mode);
42 
45 
46 #endif /* AVCODEC_HEVCPRED_H */
HEVCPredContext hpc
Definition: hevcdec.h:519
const char * s
Definition: avisynth_c.h:768
#define src
Definition: vp8dsp.c:254
uint8_t
void(* pred_dc)(uint8_t *src, const uint8_t *top, const uint8_t *left, ptrdiff_t stride, int log2_size, int c_idx)
Definition: hevcpred.h:36
void(* intra_pred[4])(struct HEVCContext *s, int x0, int y0, int c_idx)
Definition: hevcpred.h:32
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)
static void bit_depth(AudioStatsContext *s, uint64_t mask, uint64_t imask, AVRational *depth)
Definition: af_astats.c:150
void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth)
Definition: hevcpred.c:43
void(* pred_angular[4])(uint8_t *src, const uint8_t *top, const uint8_t *left, ptrdiff_t stride, int c_idx, int mode)
Definition: hevcpred.h:38
void ff_hevc_pred_init_mips(HEVCPredContext *hpc, int bit_depth)
void(* pred_planar[4])(uint8_t *src, const uint8_t *top, const uint8_t *left, ptrdiff_t stride)
Definition: hevcpred.h:34
#define stride
mode
Use these values in ebur128_init (or'ed).
Definition: ebur128.h:83