FFmpeg
libavcodec
asv.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2003 Michael Niedermayer
3
*
4
* This file is part of FFmpeg.
5
*
6
* FFmpeg is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* FFmpeg is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with FFmpeg; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
/**
22
* @file
23
* ASUS V1/V2 encoder/decoder common data.
24
*/
25
26
#ifndef AVCODEC_ASV_H
27
#define AVCODEC_ASV_H
28
29
#include <stdint.h>
30
31
#include "
avcodec.h
"
32
#include "
bswapdsp.h
"
33
34
typedef
struct
ASVCommonContext
{
35
AVCodecContext
*
avctx
;
36
BswapDSPContext
bbdsp
;
37
int
mb_width
;
38
int
mb_height
;
39
int
mb_width2
;
40
int
mb_height2
;
41
}
ASVCommonContext
;
42
43
extern
const
uint8_t
ff_asv_scantab
[64];
44
extern
const
uint8_t
ff_asv_ccp_tab
[17][2];
45
extern
const
uint8_t
ff_asv_level_tab
[7][2];
46
extern
const
uint8_t
ff_asv_dc_ccp_tab
[8][2];
47
extern
const
uint8_t
ff_asv_ac_ccp_tab
[16][2];
48
extern
const
uint16_t
ff_asv2_level_tab
[63][2];
49
50
void
ff_asv_common_init
(
AVCodecContext
*avctx);
51
52
#endif
/* AVCODEC_ASV_H */
ASVCommonContext::bbdsp
BswapDSPContext bbdsp
Definition:
asv.h:36
bswapdsp.h
ff_asv_ac_ccp_tab
const uint8_t ff_asv_ac_ccp_tab[16][2]
Definition:
asv.c:62
ff_asv_dc_ccp_tab
const uint8_t ff_asv_dc_ccp_tab[8][2]
Definition:
asv.c:57
ASVCommonContext
Definition:
asv.h:34
ASVCommonContext::mb_height2
int mb_height2
Definition:
asv.h:40
ASVCommonContext::mb_width
int mb_width
Definition:
asv.h:37
ASVCommonContext::mb_height
int mb_height
Definition:
asv.h:38
ff_asv_scantab
const uint8_t ff_asv_scantab[64]
Definition:
asv.c:34
ff_asv_common_init
void ff_asv_common_init(AVCodecContext *avctx)
Definition:
asv.c:91
ff_asv2_level_tab
const uint16_t ff_asv2_level_tab[63][2]
Definition:
asv.c:69
ASVCommonContext::avctx
AVCodecContext * avctx
Definition:
asv.h:35
ff_asv_ccp_tab
const uint8_t ff_asv_ccp_tab[17][2]
Definition:
asv.c:45
avcodec.h
AVCodecContext
main external API structure.
Definition:
avcodec.h:445
ff_asv_level_tab
const uint8_t ff_asv_level_tab[7][2]
Definition:
asv.c:53
BswapDSPContext
Definition:
bswapdsp.h:24
ASVCommonContext::mb_width2
int mb_width2
Definition:
asv.h:39
Generated on Thu Sep 26 2024 23:14:49 for FFmpeg by
1.8.17