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
f06269dd
Commit
f06269dd
authored
Jun 12, 2012
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: align more codecs declarations
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
a7fbc5d0
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
40 additions
and
24 deletions
+40
-24
bintext.c
libavcodec/bintext.c
+3
-3
dcaenc.c
libavcodec/dcaenc.c
+2
-1
escape130.c
libavcodec/escape130.c
+1
-1
ffv1.c
libavcodec/ffv1.c
+9
-1
j2kenc.c
libavcodec/j2kenc.c
+7
-5
libaacplus.c
libavcodec/libaacplus.c
+3
-2
libopenjpegenc.c
libavcodec/libopenjpegenc.c
+12
-10
mjpegenc.c
libavcodec/mjpegenc.c
+3
-1
No files found.
libavcodec/bintext.c
View file @
f06269dd
...
...
@@ -225,7 +225,7 @@ AVCodec ff_bintext_decoder = {
.
close
=
decode_end
,
.
decode
=
decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Binary text"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Binary text"
),
};
#endif
#if CONFIG_XBIN_DECODER
...
...
@@ -238,7 +238,7 @@ AVCodec ff_xbin_decoder = {
.
close
=
decode_end
,
.
decode
=
decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"eXtended BINary text"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"eXtended BINary text"
),
};
#endif
#if CONFIG_IDF_DECODER
...
...
@@ -251,6 +251,6 @@ AVCodec ff_idf_decoder = {
.
close
=
decode_end
,
.
decode
=
decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"iCEDraw text"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"iCEDraw text"
),
};
#endif
libavcodec/dcaenc.c
View file @
f06269dd
...
...
@@ -596,6 +596,7 @@ AVCodec ff_dca_encoder = {
.
init
=
encode_init
,
.
encode2
=
encode_frame
,
.
capabilities
=
CODEC_CAP_EXPERIMENTAL
,
.
sample_fmts
=
(
const
enum
AVSampleFormat
[]){
AV_SAMPLE_FMT_S16
,
AV_SAMPLE_FMT_NONE
},
.
sample_fmts
=
(
const
enum
AVSampleFormat
[]){
AV_SAMPLE_FMT_S16
,
AV_SAMPLE_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"DCA (DTS Coherent Acoustics)"
),
};
libavcodec/escape130.c
View file @
f06269dd
...
...
@@ -315,5 +315,5 @@ AVCodec ff_escape130_decoder = {
.
close
=
escape130_decode_close
,
.
decode
=
escape130_decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Escape 130"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Escape 130"
),
};
libavcodec/ffv1.c
View file @
f06269dd
...
...
@@ -2067,7 +2067,15 @@ AVCodec ff_ffv1_encoder = {
.
encode2
=
encode_frame
,
.
close
=
common_end
,
.
capabilities
=
CODEC_CAP_SLICE_THREADS
,
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_YUV420P
,
PIX_FMT_YUVA420P
,
PIX_FMT_YUVA422P
,
PIX_FMT_YUV444P
,
PIX_FMT_YUVA444P
,
PIX_FMT_YUV440P
,
PIX_FMT_YUV422P
,
PIX_FMT_YUV411P
,
PIX_FMT_YUV410P
,
PIX_FMT_0RGB32
,
PIX_FMT_RGB32
,
PIX_FMT_YUV420P16
,
PIX_FMT_YUV422P16
,
PIX_FMT_YUV444P16
,
PIX_FMT_YUV444P9
,
PIX_FMT_YUV422P9
,
PIX_FMT_YUV420P9
,
PIX_FMT_YUV420P10
,
PIX_FMT_YUV422P10
,
PIX_FMT_YUV444P10
,
PIX_FMT_GRAY16
,
PIX_FMT_GRAY8
,
PIX_FMT_NONE
},
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_YUV420P
,
PIX_FMT_YUVA420P
,
PIX_FMT_YUVA422P
,
PIX_FMT_YUV444P
,
PIX_FMT_YUVA444P
,
PIX_FMT_YUV440P
,
PIX_FMT_YUV422P
,
PIX_FMT_YUV411P
,
PIX_FMT_YUV410P
,
PIX_FMT_0RGB32
,
PIX_FMT_RGB32
,
PIX_FMT_YUV420P16
,
PIX_FMT_YUV422P16
,
PIX_FMT_YUV444P16
,
PIX_FMT_YUV444P9
,
PIX_FMT_YUV422P9
,
PIX_FMT_YUV420P9
,
PIX_FMT_YUV420P10
,
PIX_FMT_YUV422P10
,
PIX_FMT_YUV444P10
,
PIX_FMT_GRAY16
,
PIX_FMT_GRAY8
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"FFmpeg video codec #1"
),
.
priv_class
=
&
class
,
};
...
...
libavcodec/j2kenc.c
View file @
f06269dd
...
...
@@ -1052,9 +1052,11 @@ AVCodec ff_jpeg2000_encoder = {
.
close
=
j2kenc_destroy
,
.
capabilities
=
CODEC_CAP_EXPERIMENTAL
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"JPEG 2000"
),
.
pix_fmts
=
(
const
enum
PixelFormat
[])
{
PIX_FMT_RGB24
,
PIX_FMT_YUV444P
,
PIX_FMT_GRAY8
,
/* PIX_FMT_YUV420P,
PIX_FMT_YUV422P, PIX_FMT_YUV444P,
PIX_FMT_YUV410P, PIX_FMT_YUV411P,*/
PIX_FMT_NONE
}
.
pix_fmts
=
(
const
enum
PixelFormat
[])
{
PIX_FMT_RGB24
,
PIX_FMT_YUV444P
,
PIX_FMT_GRAY8
,
/* PIX_FMT_YUV420P,
PIX_FMT_YUV422P, PIX_FMT_YUV444P,
PIX_FMT_YUV410P, PIX_FMT_YUV411P,*/
PIX_FMT_NONE
}
};
libavcodec/libaacplus.c
View file @
f06269dd
...
...
@@ -137,6 +137,7 @@ AVCodec ff_libaacplus_encoder = {
.
init
=
aacPlus_encode_init
,
.
encode2
=
aacPlus_encode_frame
,
.
close
=
aacPlus_encode_close
,
.
sample_fmts
=
(
const
enum
AVSampleFormat
[]){
AV_SAMPLE_FMT_S16
,
AV_SAMPLE_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"libaacplus AAC+ (Advanced Audio Codec with SBR+PS)"
),
.
sample_fmts
=
(
const
enum
AVSampleFormat
[]){
AV_SAMPLE_FMT_S16
,
AV_SAMPLE_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"libaacplus AAC+ (Advanced Audio Codec with SBR+PS)"
),
};
libavcodec/libopenjpegenc.c
View file @
f06269dd
...
...
@@ -452,15 +452,17 @@ AVCodec ff_libopenjpeg_encoder = {
.
encode2
=
libopenjpeg_encode_frame
,
.
close
=
libopenjpeg_encode_close
,
.
capabilities
=
0
,
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_RGB24
,
PIX_FMT_RGBA
,
PIX_FMT_RGB48
,
PIX_FMT_RGBA64
,
PIX_FMT_GRAY8
,
PIX_FMT_GRAY8A
,
PIX_FMT_GRAY16
,
PIX_FMT_YUV420P
,
PIX_FMT_YUV422P
,
PIX_FMT_YUVA420P
,
PIX_FMT_YUV440P
,
PIX_FMT_YUV444P
,
PIX_FMT_YUVA422P
,
PIX_FMT_YUV411P
,
PIX_FMT_YUV410P
,
PIX_FMT_YUVA444P
,
PIX_FMT_YUV420P9
,
PIX_FMT_YUV422P9
,
PIX_FMT_YUV444P9
,
PIX_FMT_YUV420P10
,
PIX_FMT_YUV422P10
,
PIX_FMT_YUV444P10
,
PIX_FMT_YUV420P16
,
PIX_FMT_YUV422P16
,
PIX_FMT_YUV444P16
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"OpenJPEG JPEG 2000"
),
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_RGB24
,
PIX_FMT_RGBA
,
PIX_FMT_RGB48
,
PIX_FMT_RGBA64
,
PIX_FMT_GRAY8
,
PIX_FMT_GRAY8A
,
PIX_FMT_GRAY16
,
PIX_FMT_YUV420P
,
PIX_FMT_YUV422P
,
PIX_FMT_YUVA420P
,
PIX_FMT_YUV440P
,
PIX_FMT_YUV444P
,
PIX_FMT_YUVA422P
,
PIX_FMT_YUV411P
,
PIX_FMT_YUV410P
,
PIX_FMT_YUVA444P
,
PIX_FMT_YUV420P9
,
PIX_FMT_YUV422P9
,
PIX_FMT_YUV444P9
,
PIX_FMT_YUV420P10
,
PIX_FMT_YUV422P10
,
PIX_FMT_YUV444P10
,
PIX_FMT_YUV420P16
,
PIX_FMT_YUV422P16
,
PIX_FMT_YUV444P16
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"OpenJPEG JPEG 2000"
),
.
priv_class
=
&
class
,
};
libavcodec/mjpegenc.c
View file @
f06269dd
...
...
@@ -499,6 +499,8 @@ AVCodec ff_amv_encoder = {
.
init
=
ff_MPV_encode_init
,
.
encode2
=
amv_encode_picture
,
.
close
=
ff_MPV_encode_end
,
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_YUVJ420P
,
PIX_FMT_YUVJ422P
,
PIX_FMT_NONE
},
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_YUVJ420P
,
PIX_FMT_YUVJ422P
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"AMV Video"
),
};
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