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
378a0008
Commit
378a0008
authored
May 29, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: Move tables to a separate file
parent
31a117a0
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
151 additions
and
92 deletions
+151
-92
Makefile
libavcodec/Makefile
+2
-1
flvdec.c
libavcodec/flvdec.c
+1
-0
flvenc.c
libavcodec/flvenc.c
+1
-0
h261enc.c
libavcodec/h261enc.c
+1
-0
intelh263dec.c
libavcodec/intelh263dec.c
+1
-0
ituh263dec.c
libavcodec/ituh263dec.c
+1
-0
ituh263enc.c
libavcodec/ituh263enc.c
+1
-0
mpeg12.c
libavcodec/mpeg12.c
+1
-0
mpeg12dec.c
libavcodec/mpeg12dec.c
+1
-0
mpeg4videodec.c
libavcodec/mpeg4videodec.c
+1
-0
mpegvideo.c
libavcodec/mpegvideo.c
+1
-83
mpegvideo.h
libavcodec/mpegvideo.h
+0
-8
mpegvideo_enc.c
libavcodec/mpegvideo_enc.c
+1
-0
mpegvideodata.c
libavcodec/mpegvideodata.c
+102
-0
mpegvideodata.h
libavcodec/mpegvideodata.h
+33
-0
msmpeg4.c
libavcodec/msmpeg4.c
+1
-0
rv10.c
libavcodec/rv10.c
+1
-0
rv20enc.c
libavcodec/rv20enc.c
+1
-0
No files found.
libavcodec/Makefile
View file @
378a0008
...
...
@@ -76,7 +76,8 @@ OBJS-$(CONFIG_MPEGAUDIODSP) += mpegaudiodsp.o \
mpegaudiodsp_fixed.o
\
mpegaudiodsp_float.o
OBJS-$(CONFIG_MPEGVIDEO)
+=
mpegvideo.o
mpegvideodsp.o
rl.o
\
mpegvideo_motion.o
mpegutils.o
mpegvideo_motion.o
mpegutils.o
\
mpegvideodata.o
OBJS-$(CONFIG_MPEGVIDEOENC)
+=
mpegvideo_enc.o
mpeg12data.o
\
motion_est.o
ratecontrol.o
\
mpegvideoencdsp.o
...
...
libavcodec/flvdec.c
View file @
378a0008
...
...
@@ -23,6 +23,7 @@
#include "flv.h"
#include "h263.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
void
ff_flv2_decode_ac_esc
(
GetBitContext
*
gb
,
int
*
level
,
int
*
run
,
int
*
last
)
{
...
...
libavcodec/flvenc.c
View file @
378a0008
...
...
@@ -21,6 +21,7 @@
#include "flv.h"
#include "h263.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
void
ff_flv_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
)
{
...
...
libavcodec/h261enc.c
View file @
378a0008
...
...
@@ -31,6 +31,7 @@
#include "mpegvideo.h"
#include "h263.h"
#include "h261.h"
#include "mpegvideodata.h"
int
ff_h261_get_picture_format
(
int
width
,
int
height
)
{
...
...
libavcodec/intelh263dec.c
View file @
378a0008
...
...
@@ -20,6 +20,7 @@
#include "mpegvideo.h"
#include "h263.h"
#include "mpegvideodata.h"
/* don't understand why they choose a different header ! */
int
ff_intel_h263_decode_picture_header
(
MpegEncContext
*
s
)
...
...
libavcodec/ituh263dec.c
View file @
378a0008
...
...
@@ -41,6 +41,7 @@
#include "unary.h"
#include "flv.h"
#include "mpeg4video.h"
#include "mpegvideodata.h"
// The defines below define the number of bits that are read at once for
// reading vlc values. Changing these may improve speed and data cache needs
...
...
libavcodec/ituh263enc.c
View file @
378a0008
...
...
@@ -32,6 +32,7 @@
#include "libavutil/attributes.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
#include "h263.h"
#include "mathops.h"
#include "mpegutils.h"
...
...
libavcodec/mpeg12.c
View file @
378a0008
...
...
@@ -32,6 +32,7 @@
#include "error_resilience.h"
#include "mpeg12.h"
#include "mpeg12data.h"
#include "mpegvideodata.h"
#include "bytestream.h"
#include "thread.h"
...
...
libavcodec/mpeg12dec.c
View file @
378a0008
...
...
@@ -41,6 +41,7 @@
#include "mpeg12data.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
#include "thread.h"
#include "version.h"
#include "xvmc_internal.h"
...
...
libavcodec/mpeg4videodec.c
View file @
378a0008
...
...
@@ -25,6 +25,7 @@
#include "internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
#include "mpeg4video.h"
#include "h263.h"
#include "thread.h"
...
...
libavcodec/mpegvideo.c
View file @
378a0008
...
...
@@ -39,6 +39,7 @@
#include "mathops.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
#include "mjpegenc.h"
#include "msmpeg4.h"
#include "qpeldsp.h"
...
...
@@ -47,89 +48,6 @@
#include "wmv2.h"
#include <limits.h>
static
const
uint8_t
ff_default_chroma_qscale_table
[
32
]
=
{
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0
,
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
};
const
uint8_t
ff_mpeg1_dc_scale_table
[
128
]
=
{
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
8
,
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
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
};
const
uint8_t
*
const
ff_mpeg2_dc_scale_table
[
4
]
=
{
ff_mpeg1_dc_scale_table
,
mpeg2_dc_scale_table1
,
mpeg2_dc_scale_table2
,
mpeg2_dc_scale_table3
,
};
const
uint8_t
ff_alternate_horizontal_scan
[
64
]
=
{
0
,
1
,
2
,
3
,
8
,
9
,
16
,
17
,
10
,
11
,
4
,
5
,
6
,
7
,
15
,
14
,
13
,
12
,
19
,
18
,
24
,
25
,
32
,
33
,
26
,
27
,
20
,
21
,
22
,
23
,
28
,
29
,
30
,
31
,
34
,
35
,
40
,
41
,
48
,
49
,
42
,
43
,
36
,
37
,
38
,
39
,
44
,
45
,
46
,
47
,
50
,
51
,
56
,
57
,
58
,
59
,
52
,
53
,
54
,
55
,
60
,
61
,
62
,
63
,
};
const
uint8_t
ff_alternate_vertical_scan
[
64
]
=
{
0
,
8
,
16
,
24
,
1
,
9
,
2
,
10
,
17
,
25
,
32
,
40
,
48
,
56
,
57
,
49
,
41
,
33
,
26
,
18
,
3
,
11
,
4
,
12
,
19
,
27
,
34
,
42
,
50
,
58
,
35
,
43
,
51
,
59
,
20
,
28
,
5
,
13
,
6
,
14
,
21
,
29
,
36
,
44
,
52
,
60
,
37
,
45
,
53
,
61
,
22
,
30
,
7
,
15
,
23
,
31
,
38
,
46
,
54
,
62
,
39
,
47
,
55
,
63
,
};
static
void
dct_unquantize_mpeg1_intra_c
(
MpegEncContext
*
s
,
int16_t
*
block
,
int
n
,
int
qscale
)
{
...
...
libavcodec/mpegvideo.h
View file @
378a0008
...
...
@@ -88,10 +88,6 @@ enum OutputFormat {
#define EXT_START_CODE 0x000001b5
#define USER_START_CODE 0x000001b2
/* encoding scans */
extern
const
uint8_t
ff_alternate_horizontal_scan
[
64
];
extern
const
uint8_t
ff_alternate_vertical_scan
[
64
];
struct
MpegEncContext
;
/**
...
...
@@ -821,10 +817,6 @@ int ff_epzs_motion_search(MpegEncContext * s, int *mx_ptr, int *my_ptr,
int
ff_get_mb_score
(
MpegEncContext
*
s
,
int
mx
,
int
my
,
int
src_index
,
int
ref_index
,
int
size
,
int
h
,
int
add_rate
);
/* mpeg12.c */
extern
const
uint8_t
ff_mpeg1_dc_scale_table
[
128
];
extern
const
uint8_t
*
const
ff_mpeg2_dc_scale_table
[
4
];
void
ff_mpeg1_encode_picture_header
(
MpegEncContext
*
s
,
int
picture_number
);
void
ff_mpeg1_encode_mb
(
MpegEncContext
*
s
,
int16_t
block
[
8
][
64
],
...
...
libavcodec/mpegvideo_enc.c
View file @
378a0008
...
...
@@ -40,6 +40,7 @@
#include "idctdsp.h"
#include "mpeg12.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
#include "h261.h"
#include "h263.h"
#include "mjpegenc_common.h"
...
...
libavcodec/mpegvideodata.c
0 → 100644
View file @
378a0008
/*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Libav is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <stdint.h>
const
uint8_t
ff_default_chroma_qscale_table
[
32
]
=
{
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0
,
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
};
const
uint8_t
ff_mpeg1_dc_scale_table
[
128
]
=
{
// 0 1 2 3 4 5 6 7 8 9 10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1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
};
const
uint8_t
*
const
ff_mpeg2_dc_scale_table
[
4
]
=
{
ff_mpeg1_dc_scale_table
,
mpeg2_dc_scale_table1
,
mpeg2_dc_scale_table2
,
mpeg2_dc_scale_table3
,
};
const
uint8_t
ff_alternate_horizontal_scan
[
64
]
=
{
0
,
1
,
2
,
3
,
8
,
9
,
16
,
17
,
10
,
11
,
4
,
5
,
6
,
7
,
15
,
14
,
13
,
12
,
19
,
18
,
24
,
25
,
32
,
33
,
26
,
27
,
20
,
21
,
22
,
23
,
28
,
29
,
30
,
31
,
34
,
35
,
40
,
41
,
48
,
49
,
42
,
43
,
36
,
37
,
38
,
39
,
44
,
45
,
46
,
47
,
50
,
51
,
56
,
57
,
58
,
59
,
52
,
53
,
54
,
55
,
60
,
61
,
62
,
63
,
};
const
uint8_t
ff_alternate_vertical_scan
[
64
]
=
{
0
,
8
,
16
,
24
,
1
,
9
,
2
,
10
,
17
,
25
,
32
,
40
,
48
,
56
,
57
,
49
,
41
,
33
,
26
,
18
,
3
,
11
,
4
,
12
,
19
,
27
,
34
,
42
,
50
,
58
,
35
,
43
,
51
,
59
,
20
,
28
,
5
,
13
,
6
,
14
,
21
,
29
,
36
,
44
,
52
,
60
,
37
,
45
,
53
,
61
,
22
,
30
,
7
,
15
,
23
,
31
,
38
,
46
,
54
,
62
,
39
,
47
,
55
,
63
,
};
libavcodec/mpegvideodata.h
0 → 100644
View file @
378a0008
/*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Libav is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVCODEC_MPEGVIDEODATA_H
#define AVCODEC_MPEGVIDEODATA_H
#include <stdint.h>
/* encoding scans */
extern
const
uint8_t
ff_alternate_horizontal_scan
[
64
];
extern
const
uint8_t
ff_alternate_vertical_scan
[
64
];
extern
const
uint8_t
ff_mpeg1_dc_scale_table
[
128
];
extern
const
uint8_t
*
const
ff_mpeg2_dc_scale_table
[
4
];
extern
const
uint8_t
ff_default_chroma_qscale_table
[
32
];
#endif
/* AVCODEC_MPEGVIDEODATA_H */
libavcodec/msmpeg4.c
View file @
378a0008
...
...
@@ -35,6 +35,7 @@
#include "h263.h"
#include "mpeg4video.h"
#include "msmpeg4data.h"
#include "mpegvideodata.h"
#include "vc1data.h"
/*
...
...
libavcodec/rv10.c
View file @
378a0008
...
...
@@ -36,6 +36,7 @@
#include "mpeg_er.h"
#include "mpegvideo.h"
#include "mpeg4video.h"
#include "mpegvideodata.h"
#define RV_GET_MAJOR_VER(x) ((x) >> 28)
#define RV_GET_MINOR_VER(x) (((x) >> 20) & 0xFF)
...
...
libavcodec/rv20enc.c
View file @
378a0008
...
...
@@ -26,6 +26,7 @@
*/
#include "mpegvideo.h"
#include "mpegvideodata.h"
#include "h263.h"
#include "put_bits.h"
...
...
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