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
3efbbbb5
Commit
3efbbbb5
authored
Mar 11, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/newdev/master'
Merged-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parents
2800e8d6
35d7d6f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
avcodec.h
libavcodec/avcodec.h
+8
-0
mpeg12.c
libavcodec/mpeg12.c
+13
-0
isom.c
libavformat/isom.c
+3
-2
No files found.
libavcodec/avcodec.h
View file @
3efbbbb5
...
...
@@ -2286,6 +2286,7 @@ typedef struct AVCodecContext {
*/
int
profile
;
#define FF_PROFILE_UNKNOWN -99
#define FF_PROFILE_RESERVED -100
#define FF_PROFILE_AAC_MAIN 0
#define FF_PROFILE_AAC_LOW 1
...
...
@@ -2298,6 +2299,13 @@ typedef struct AVCodecContext {
#define FF_PROFILE_DTS_HD_HRA 50
#define FF_PROFILE_DTS_HD_MA 60
#define FF_PROFILE_MPEG2_422 0
#define FF_PROFILE_MPEG2_HIGH 1
#define FF_PROFILE_MPEG2_SS 2
#define FF_PROFILE_MPEG2_SNR_SCALABLE 3
#define FF_PROFILE_MPEG2_MAIN 4
#define FF_PROFILE_MPEG2_SIMPLE 5
#define FF_PROFILE_H264_CONSTRAINED (1<<9) // 8+1; constraint_set1_flag
#define FF_PROFILE_H264_INTRA (1<<11) // 8+3; constraint_set3_flag
...
...
libavcodec/mpeg12.c
View file @
3efbbbb5
...
...
@@ -2471,6 +2471,18 @@ static int mpeg_decode_end(AVCodecContext *avctx)
return
0
;
}
static
const
AVProfile
mpeg2_video_profiles
[]
=
{
{
FF_PROFILE_MPEG2_422
,
"4:2:2"
},
{
FF_PROFILE_MPEG2_HIGH
,
"High"
},
{
FF_PROFILE_MPEG2_SS
,
"Spatially Scalable"
},
{
FF_PROFILE_MPEG2_SNR_SCALABLE
,
"SNR Scalable"
},
{
FF_PROFILE_MPEG2_MAIN
,
"Main"
},
{
FF_PROFILE_MPEG2_SIMPLE
,
"Simple"
},
{
FF_PROFILE_RESERVED
,
"Reserved"
},
{
FF_PROFILE_RESERVED
,
"Reserved"
},
};
AVCodec
ff_mpeg1video_decoder
=
{
"mpeg1video"
,
AVMEDIA_TYPE_VIDEO
,
...
...
@@ -2499,6 +2511,7 @@ AVCodec ff_mpeg2video_decoder = {
.
flush
=
flush
,
.
max_lowres
=
3
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"MPEG-2 video"
),
.
profiles
=
NULL_IF_CONFIG_SMALL
(
mpeg2_video_profiles
),
};
//legacy decoder
...
...
libavformat/isom.c
View file @
3efbbbb5
...
...
@@ -134,10 +134,11 @@ const AVCodecTag codec_movvideo_tags[] = {
{
CODEC_ID_RAWVIDEO
,
MKTAG
(
'W'
,
'R'
,
'A'
,
'W'
)
},
{
CODEC_ID_H264
,
MKTAG
(
'a'
,
'v'
,
'c'
,
'1'
)
},
/* AVC-1/H.264 */
{
CODEC_ID_H264
,
MKTAG
(
'a'
,
'i'
,
'5'
,
'5'
)
},
/* AVC Intra 50 / 1080 */
{
CODEC_ID_H264
,
MKTAG
(
'a'
,
'i'
,
'5'
,
'5'
)
},
/* AVC Intra 50 / 1080
interlace
*/
{
CODEC_ID_H264
,
MKTAG
(
'a'
,
'i'
,
'5'
,
'q'
)
},
/* AVC Intra 50 / 720 */
{
CODEC_ID_H264
,
MKTAG
(
'a'
,
'i'
,
'1'
,
'5'
)
},
/* AVC Intra 100 / 1080 */
{
CODEC_ID_H264
,
MKTAG
(
'a'
,
'i'
,
'1'
,
'5'
)
},
/* AVC Intra 100 / 1080
interlace
*/
{
CODEC_ID_H264
,
MKTAG
(
'a'
,
'i'
,
'1'
,
'q'
)
},
/* AVC Intra 100 / 720 */
{
CODEC_ID_H264
,
MKTAG
(
'a'
,
'i'
,
'1'
,
'2'
)
},
/* AVC Intra 100 / 1080 */
{
CODEC_ID_MPEG1VIDEO
,
MKTAG
(
'm'
,
'1'
,
'v'
,
'1'
)
},
/* Apple MPEG-1 Camcorder */
{
CODEC_ID_MPEG1VIDEO
,
MKTAG
(
'm'
,
'p'
,
'e'
,
'g'
)
},
/* MPEG */
...
...
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