FFmpeg
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
libavcodec
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
)(
struct
HEVCContext
*
s
,
int
x0,
int
y0,
int
log2_size,
int
c_idx);
33
34
void
(*
pred_planar
[4])(
uint8_t
*
src
,
const
uint8_t
*top,
const
uint8_t
*left, ptrdiff_t
stride
);
35
void
(*
pred_dc
)(
uint8_t
*
src
,
const
uint8_t
*top,
const
uint8_t
*left, ptrdiff_t
stride
,
36
int
log2_size,
int
c_idx);
37
void
(*
pred_angular
[4])(
uint8_t
*
src
,
const
uint8_t
*top,
const
uint8_t
*left, ptrdiff_t
stride
,
38
int
c_idx,
int
mode
);
39
}
HEVCPredContext
;
40
41
void
ff_hevc_pred_init
(
HEVCPredContext
*
hpc
,
int
bit_depth);
42
43
#endif
/* AVCODEC_HEVCPRED_H */
Generated on Sat Jan 25 2014 19:51:49 for FFmpeg by
1.8.2