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
6f6c0294
Commit
6f6c0294
authored
Mar 17, 2014
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: drop ff_pixfmt_list_420
parent
d5717bc4
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
52 additions
and
20 deletions
+52
-20
flvdec.c
libavcodec/flvdec.c
+4
-1
intelh263dec.c
libavcodec/intelh263dec.c
+4
-1
mpegvideo.c
libavcodec/mpegvideo.c
+0
-5
mpegvideo.h
libavcodec/mpegvideo.h
+0
-2
msmpeg4dec.c
libavcodec/msmpeg4dec.c
+16
-4
rv10.c
libavcodec/rv10.c
+8
-2
rv30.c
libavcodec/rv30.c
+4
-1
rv40.c
libavcodec/rv40.c
+4
-1
vc1dec.c
libavcodec/vc1dec.c
+8
-2
wmv2dec.c
libavcodec/wmv2dec.c
+4
-1
No files found.
libavcodec/flvdec.c
View file @
6f6c0294
...
...
@@ -129,5 +129,8 @@ AVCodec ff_flv_decoder = {
.
close
=
ff_h263_decode_end
,
.
decode
=
ff_h263_decode_frame
,
.
capabilities
=
CODEC_CAP_DRAW_HORIZ_BAND
|
CODEC_CAP_DR1
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
libavcodec/intelh263dec.c
View file @
6f6c0294
...
...
@@ -134,5 +134,8 @@ AVCodec ff_h263i_decoder = {
.
close
=
ff_h263_decode_end
,
.
decode
=
ff_h263_decode_frame
,
.
capabilities
=
CODEC_CAP_DRAW_HORIZ_BAND
|
CODEC_CAP_DR1
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
libavcodec/mpegvideo.c
View file @
6f6c0294
...
...
@@ -105,11 +105,6 @@ const uint8_t *const ff_mpeg2_dc_scale_table[4] = {
mpeg2_dc_scale_table3
,
};
const
enum
AVPixelFormat
ff_pixfmt_list_420
[]
=
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
};
static
void
dct_unquantize_mpeg1_intra_c
(
MpegEncContext
*
s
,
int16_t
*
block
,
int
n
,
int
qscale
)
{
...
...
libavcodec/mpegvideo.h
View file @
6f6c0294
...
...
@@ -735,8 +735,6 @@ void ff_MPV_motion(MpegEncContext *s,
*/
int
ff_alloc_picture
(
MpegEncContext
*
s
,
Picture
*
pic
,
int
shared
);
extern
const
enum
AVPixelFormat
ff_pixfmt_list_420
[];
/**
* permute block according to permuatation.
* @param last last non zero element in scantable order
...
...
libavcodec/msmpeg4dec.c
View file @
6f6c0294
...
...
@@ -911,7 +911,10 @@ AVCodec ff_msmpeg4v1_decoder = {
.
close
=
ff_h263_decode_end
,
.
decode
=
ff_h263_decode_frame
,
.
capabilities
=
CODEC_CAP_DRAW_HORIZ_BAND
|
CODEC_CAP_DR1
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
AVCodec
ff_msmpeg4v2_decoder
=
{
...
...
@@ -924,7 +927,10 @@ AVCodec ff_msmpeg4v2_decoder = {
.
close
=
ff_h263_decode_end
,
.
decode
=
ff_h263_decode_frame
,
.
capabilities
=
CODEC_CAP_DRAW_HORIZ_BAND
|
CODEC_CAP_DR1
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
AVCodec
ff_msmpeg4v3_decoder
=
{
...
...
@@ -937,7 +943,10 @@ AVCodec ff_msmpeg4v3_decoder = {
.
close
=
ff_h263_decode_end
,
.
decode
=
ff_h263_decode_frame
,
.
capabilities
=
CODEC_CAP_DRAW_HORIZ_BAND
|
CODEC_CAP_DR1
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
AVCodec
ff_wmv1_decoder
=
{
...
...
@@ -950,5 +959,8 @@ AVCodec ff_wmv1_decoder = {
.
close
=
ff_h263_decode_end
,
.
decode
=
ff_h263_decode_frame
,
.
capabilities
=
CODEC_CAP_DRAW_HORIZ_BAND
|
CODEC_CAP_DR1
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
libavcodec/rv10.c
View file @
6f6c0294
...
...
@@ -769,7 +769,10 @@ AVCodec ff_rv10_decoder = {
.
close
=
rv10_decode_end
,
.
decode
=
rv10_decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
AVCodec
ff_rv20_decoder
=
{
...
...
@@ -783,5 +786,8 @@ AVCodec ff_rv20_decoder = {
.
decode
=
rv10_decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
|
CODEC_CAP_DELAY
,
.
flush
=
ff_mpeg_flush
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
libavcodec/rv30.c
View file @
6f6c0294
...
...
@@ -285,7 +285,10 @@ AVCodec ff_rv30_decoder = {
.
capabilities
=
CODEC_CAP_DR1
|
CODEC_CAP_DELAY
|
CODEC_CAP_FRAME_THREADS
,
.
flush
=
ff_mpeg_flush
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
.
init_thread_copy
=
ONLY_IF_THREADS_ENABLED
(
ff_rv34_decode_init_thread_copy
),
.
update_thread_context
=
ONLY_IF_THREADS_ENABLED
(
ff_rv34_decode_update_thread_context
),
};
libavcodec/rv40.c
View file @
6f6c0294
...
...
@@ -573,7 +573,10 @@ AVCodec ff_rv40_decoder = {
.
capabilities
=
CODEC_CAP_DR1
|
CODEC_CAP_DELAY
|
CODEC_CAP_FRAME_THREADS
,
.
flush
=
ff_mpeg_flush
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
.
init_thread_copy
=
ONLY_IF_THREADS_ENABLED
(
ff_rv34_decode_init_thread_copy
),
.
update_thread_context
=
ONLY_IF_THREADS_ENABLED
(
ff_rv34_decode_update_thread_context
),
};
libavcodec/vc1dec.c
View file @
6f6c0294
...
...
@@ -6179,7 +6179,10 @@ AVCodec ff_wmv3image_decoder = {
.
decode
=
vc1_decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
.
flush
=
vc1_sprite_flush
,
.
pix_fmts
=
ff_pixfmt_list_420
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
#endif
...
...
@@ -6195,6 +6198,9 @@ AVCodec ff_vc1image_decoder = {
.
decode
=
vc1_decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
.
flush
=
vc1_sprite_flush
,
.
pix_fmts
=
ff_pixfmt_list_420
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
#endif
libavcodec/wmv2dec.c
View file @
6f6c0294
...
...
@@ -475,5 +475,8 @@ AVCodec ff_wmv2_decoder = {
.
close
=
wmv2_decode_end
,
.
decode
=
ff_h263_decode_frame
,
.
capabilities
=
CODEC_CAP_DRAW_HORIZ_BAND
|
CODEC_CAP_DR1
,
.
pix_fmts
=
ff_pixfmt_list_420
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
};
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