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
b8d78175
Commit
b8d78175
authored
Feb 05, 2012
by
Paul B Mahol
Committed by
Carl Eugen Hoyos
Feb 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v408: do not unconditionally compile codecs
parent
bb9c8d94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
v408dec.c
libavcodec/v408dec.c
+4
-2
v408enc.c
libavcodec/v408enc.c
+4
-1
No files found.
libavcodec/v408dec.c
View file @
b8d78175
...
@@ -103,6 +103,7 @@ static av_cold int v408_decode_close(AVCodecContext *avctx)
...
@@ -103,6 +103,7 @@ static av_cold int v408_decode_close(AVCodecContext *avctx)
return
0
;
return
0
;
}
}
#if CONFIG_AYUV_DECODER
AVCodec
ff_ayuv_decoder
=
{
AVCodec
ff_ayuv_decoder
=
{
.
name
=
"ayuv"
,
.
name
=
"ayuv"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
...
@@ -113,7 +114,8 @@ AVCodec ff_ayuv_decoder = {
...
@@ -113,7 +114,8 @@ AVCodec ff_ayuv_decoder = {
.
capabilities
=
CODEC_CAP_DR1
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed MS 4:4:4:4"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed MS 4:4:4:4"
),
};
};
#endif
#if CONFIG_V408_DECODER
AVCodec
ff_v408_decoder
=
{
AVCodec
ff_v408_decoder
=
{
.
name
=
"v408"
,
.
name
=
"v408"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
...
@@ -124,4 +126,4 @@ AVCodec ff_v408_decoder = {
...
@@ -124,4 +126,4 @@ AVCodec ff_v408_decoder = {
.
capabilities
=
CODEC_CAP_DR1
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed QT 4:4:4:4"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed QT 4:4:4:4"
),
};
};
#endif
libavcodec/v408enc.c
View file @
b8d78175
...
@@ -89,6 +89,7 @@ static av_cold int v408_encode_close(AVCodecContext *avctx)
...
@@ -89,6 +89,7 @@ static av_cold int v408_encode_close(AVCodecContext *avctx)
return
0
;
return
0
;
}
}
#if CONFIG_AYUV_ENCODER
AVCodec
ff_ayuv_encoder
=
{
AVCodec
ff_ayuv_encoder
=
{
.
name
=
"ayuv"
,
.
name
=
"ayuv"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
...
@@ -99,7 +100,8 @@ AVCodec ff_ayuv_encoder = {
...
@@ -99,7 +100,8 @@ AVCodec ff_ayuv_encoder = {
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_YUVA444P
,
PIX_FMT_NONE
},
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_YUVA444P
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed MS 4:4:4:4"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed MS 4:4:4:4"
),
};
};
#endif
#if CONFIG_V408_ENCODER
AVCodec
ff_v408_encoder
=
{
AVCodec
ff_v408_encoder
=
{
.
name
=
"v408"
,
.
name
=
"v408"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
...
@@ -110,3 +112,4 @@ AVCodec ff_v408_encoder = {
...
@@ -110,3 +112,4 @@ AVCodec ff_v408_encoder = {
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_YUVA444P
,
PIX_FMT_NONE
},
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_YUVA444P
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed QT 4:4:4:4"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed QT 4:4:4:4"
),
};
};
#endif
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