Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
c591d457
Commit
c591d457
authored
Aug 15, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: Replace local extern declarations for tables with header #includes
parent
aa2ba8c9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
13 deletions
+11
-13
binkaudio.c
libavcodec/binkaudio.c
+1
-2
h263.h
libavcodec/h263.h
+4
-0
intrax8.c
libavcodec/intrax8.c
+0
-1
mpeg4video.h
libavcodec/mpeg4video.h
+3
-0
msmpeg4data.c
libavcodec/msmpeg4data.c
+2
-8
svq1dec.c
libavcodec/svq1dec.c
+1
-2
No files found.
libavcodec/binkaudio.c
View file @
c591d457
...
...
@@ -36,10 +36,9 @@
#include "rdft.h"
#include "fmtconvert.h"
#include "internal.h"
#include "wma.h"
#include "libavutil/intfloat.h"
extern
const
uint16_t
ff_wma_critical_freqs
[
25
];
static
float
quant_table
[
96
];
#define MAX_CHANNELS 2
...
...
libavcodec/h263.h
View file @
c591d457
...
...
@@ -53,6 +53,10 @@ extern VLC ff_h263_intra_MCBPC_vlc;
extern
VLC
ff_h263_inter_MCBPC_vlc
;
extern
VLC
ff_h263_cbpy_vlc
;
extern
const
uint16_t
ff_inter_vlc
[
103
][
2
];
extern
const
int8_t
ff_inter_level
[
102
];
extern
const
int8_t
ff_inter_run
[
102
];
extern
RLTable
ff_h263_rl_inter
;
extern
RLTable
ff_rl_intra_aic
;
...
...
libavcodec/intrax8.c
View file @
c591d457
...
...
@@ -724,7 +724,6 @@ av_cold void ff_intrax8_common_end(IntraX8Context * w)
* @param dquant doubled quantizer, it would be odd in case of VC-1 halfpq==1.
* @param quant_offset offset away from zero
*/
//FIXME extern uint8_t ff_wmv3_dc_scale_table[32];
int
ff_intrax8_decode_picture
(
IntraX8Context
*
const
w
,
int
dquant
,
int
quant_offset
){
MpegEncContext
*
const
s
=
w
->
s
;
int
mb_xy
;
...
...
libavcodec/mpeg4video.h
View file @
c591d457
...
...
@@ -63,6 +63,9 @@ extern const uint8_t ff_mpeg4_DCtab_lum[13][2];
extern
const
uint8_t
ff_mpeg4_DCtab_chrom
[
13
][
2
];
extern
const
uint16_t
ff_mpeg4_intra_vlc
[
103
][
2
];
extern
const
int8_t
ff_mpeg4_intra_level
[
102
];
extern
const
int8_t
ff_mpeg4_intra_run
[
102
];
extern
RLTable
ff_mpeg4_rl_intra
;
/* Note this is identical to the intra rvlc except that it is reordered. */
...
...
libavcodec/msmpeg4data.c
View file @
c591d457
...
...
@@ -27,6 +27,8 @@
* MSMPEG4 data tables.
*/
#include "h263.h"
#include "mpeg4video.h"
#include "msmpeg4data.h"
uint32_t
ff_v2_dc_lum_table
[
512
][
2
];
...
...
@@ -596,14 +598,6 @@ static const int8_t table4_run[168] = {
29
,
30
,
31
,
32
,
33
,
34
,
35
,
36
,
};
extern
const
uint16_t
ff_inter_vlc
[
103
][
2
];
extern
const
int8_t
ff_inter_level
[
102
];
extern
const
int8_t
ff_inter_run
[
102
];
extern
const
uint16_t
ff_mpeg4_intra_vlc
[
103
][
2
];
extern
const
int8_t
ff_mpeg4_intra_level
[
102
];
extern
const
int8_t
ff_mpeg4_intra_run
[
102
];
RLTable
ff_rl_table
[
NB_RL_TABLES
]
=
{
/* intra luminance tables */
/* low motion */
...
...
libavcodec/svq1dec.c
View file @
c591d457
...
...
@@ -34,6 +34,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "h263.h"
#include "hpeldsp.h"
#include "internal.h"
#include "mathops.h"
...
...
@@ -42,8 +43,6 @@
#undef NDEBUG
#include <assert.h>
extern
const
uint8_t
ff_mvtab
[
33
][
2
];
static
VLC
svq1_block_type
;
static
VLC
svq1_motion_component
;
static
VLC
svq1_intra_multistage
[
6
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment