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
e589e4b8
Commit
e589e4b8
authored
Jul 03, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused static tables and static inline functions.
parent
94350ab9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
32 deletions
+0
-32
rv34.c
libavcodec/rv34.c
+0
-20
vc1dec.c
libavcodec/vc1dec.c
+0
-1
swscale.c
libswscale/swscale.c
+0
-11
No files found.
libavcodec/rv34.c
View file @
e589e4b8
...
...
@@ -423,17 +423,6 @@ static inline RV34VLC* choose_vlc_set(int quant, int mod, int type)
:
&
intra_vlcs
[
rv34_quant_to_vlc_set
[
0
][
av_clip
(
quant
,
0
,
30
)]];
}
/**
* Decode quantizer difference and return modified quantizer.
*/
static
inline
int
rv34_decode_dquant
(
GetBitContext
*
gb
,
int
quant
)
{
if
(
get_bits1
(
gb
))
return
rv34_dquant_tab
[
get_bits1
(
gb
)][
quant
];
else
return
get_bits
(
gb
,
5
);
}
/**
* Decode macroblock header and return CBP in case of success, -1 otherwise.
*/
...
...
@@ -1255,15 +1244,6 @@ static int check_slice_end(RV34DecContext *r, MpegEncContext *s)
return
0
;
}
static
inline
int
slice_compare
(
SliceInfo
*
si1
,
SliceInfo
*
si2
)
{
return
si1
->
type
!=
si2
->
type
||
si1
->
start
>=
si2
->
start
||
si1
->
width
!=
si2
->
width
||
si1
->
height
!=
si2
->
height
||
si1
->
pts
!=
si2
->
pts
;
}
static
int
rv34_decode_slice
(
RV34DecContext
*
r
,
int
end
,
const
uint8_t
*
buf
,
int
buf_size
)
{
MpegEncContext
*
s
=
&
r
->
s
;
...
...
libavcodec/vc1dec.c
View file @
e589e4b8
...
...
@@ -45,7 +45,6 @@
#define MB_INTRA_VLC_BITS 9
#define DC_VLC_BITS 9
#define AC_VLC_BITS 9
static
const
uint16_t
table_mb_intra
[
64
][
2
];
static
const
uint16_t
vlc_offs
[]
=
{
...
...
libswscale/swscale.c
View file @
e589e4b8
...
...
@@ -80,17 +80,6 @@ untested special converters
#define RV ( (int)(0.500*224/255*(1<<RGB2YUV_SHIFT)+0.5))
#define RU (-(int)(0.169*224/255*(1<<RGB2YUV_SHIFT)+0.5))
static
const
double
rgb2yuv_table
[
8
][
9
]
=
{
{
0
.
7152
,
0
.
0722
,
0
.
2126
,
-
0
.
386
,
0
.
5
,
-
0
.
115
,
-
0
.
454
,
-
0
.
046
,
0
.
5
},
//ITU709
{
0
.
7152
,
0
.
0722
,
0
.
2126
,
-
0
.
386
,
0
.
5
,
-
0
.
115
,
-
0
.
454
,
-
0
.
046
,
0
.
5
},
//ITU709
{
0
.
587
,
0
.
114
,
0
.
299
,
-
0
.
331
,
0
.
5
,
-
0
.
169
,
-
0
.
419
,
-
0
.
081
,
0
.
5
},
//DEFAULT / ITU601 / ITU624 / SMPTE 170M
{
0
.
587
,
0
.
114
,
0
.
299
,
-
0
.
331
,
0
.
5
,
-
0
.
169
,
-
0
.
419
,
-
0
.
081
,
0
.
5
},
//DEFAULT / ITU601 / ITU624 / SMPTE 170M
{
0
.
59
,
0
.
11
,
0
.
30
,
-
0
.
331
,
0
.
5
,
-
0
.
169
,
-
0
.
421
,
-
0
.
07
9
,
0
.
5
},
//FCC
{
0
.
587
,
0
.
114
,
0
.
299
,
-
0
.
331
,
0
.
5
,
-
0
.
169
,
-
0
.
419
,
-
0
.
081
,
0
.
5
},
//DEFAULT / ITU601 / ITU624 / SMPTE 170M
{
0
.
587
,
0
.
114
,
0
.
299
,
-
0
.
331
,
0
.
5
,
-
0
.
169
,
-
0
.
419
,
-
0
.
081
,
0
.
5
},
//DEFAULT / ITU601 / ITU624 / SMPTE 170M
{
0
.
701
,
0
.
087
,
0
.
212
,
-
0
.
384
,
0
.
5
,
-
0
.
116
,
-
0
.
445
,
-
0
.
055
,
0
.
5
},
//SMPTE 240M
};
/*
NOTES
Special versions: fast Y 1:1 scaling (no interpolation in y direction)
...
...
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