summaryrefslogtreecommitdiffstats
path: root/libhb/mcdeint.h
blob: 1429767c7cb982afe9133eebd7d8b7fb047e63cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* mcdeint.h

   Copyright (c) 2003-2012 HandBrake Team
   This file is part of the HandBrake source code
   Homepage: <http://handbrake.fr/>.
   It may be used under the terms of the GNU General Public License v2.
   For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
 */
 
struct mcdeint_private_s
{
    int              mcdeint_mode;
    int              mcdeint_qp;

    AVPacket         mcdeint_pkt;
    AVCodecContext * mcdeint_avctx_enc;
    AVFrame        * mcdeint_frame;
    AVFrame        * mcdeint_frame_dec;
};

typedef struct mcdeint_private_s mcdeint_private_t;

void mcdeint_init( mcdeint_private_t * pv,
                   int mode,
                   int qp,
                   int pix_fmt,
                   int width,
                   int height );

void mcdeint_close( mcdeint_private_t * pv );

void mcdeint_filter( hb_buffer_t * dst,
                     hb_buffer_t * src,
                     int parity,
                     mcdeint_private_t * pv );