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
542b83fc
Commit
542b83fc
authored
Mar 07, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*.
parent
d8b31be6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
h264.c
libavcodec/h264.c
+1
-1
svq1enc.c
libavcodec/svq1enc.c
+2
-2
swscale_unscaled.c
libswscale/swscale_unscaled.c
+6
-6
No files found.
libavcodec/h264.c
View file @
542b83fc
...
...
@@ -2923,7 +2923,7 @@ static int h264_set_parameter_from_sps(H264Context *h)
return
0
;
}
static
enum
PixelFormat
get_pixel_format
(
H264Context
*
h
)
static
enum
AV
PixelFormat
get_pixel_format
(
H264Context
*
h
)
{
switch
(
h
->
sps
.
bit_depth_luma
)
{
case
9
:
...
...
libavcodec/svq1enc.c
View file @
542b83fc
...
...
@@ -627,7 +627,7 @@ AVCodec ff_svq1_encoder = {
.
init
=
svq1_encode_init
,
.
encode2
=
svq1_encode_frame
,
.
close
=
svq1_encode_end
,
.
pix_fmts
=
(
const
enum
PixelFormat
[])
{
AV_PIX_FMT_YUV410P
,
AV_PIX_FMT_NONE
},
.
pix_fmts
=
(
const
enum
AV
PixelFormat
[])
{
AV_PIX_FMT_YUV410P
,
AV_PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"
),
};
libswscale/swscale_unscaled.c
View file @
542b83fc
...
...
@@ -512,23 +512,23 @@ static int rgbToPlanarRgbWrapper(SwsContext *c, const uint8_t *src[],
dst
[
1
]
+
srcSliceY
*
dstStride
[
1
]
};
switch
(
c
->
srcFormat
)
{
case
PIX_FMT_RGB24
:
case
AV_
PIX_FMT_RGB24
:
packedtogbr24p
((
const
uint8_t
*
)
src
[
0
],
srcStride
[
0
],
dst201
,
stride201
,
srcSliceH
,
alpha_first
,
3
,
c
->
srcW
);
break
;
case
PIX_FMT_BGR24
:
case
AV_
PIX_FMT_BGR24
:
packedtogbr24p
((
const
uint8_t
*
)
src
[
0
],
srcStride
[
0
],
dst102
,
stride102
,
srcSliceH
,
alpha_first
,
3
,
c
->
srcW
);
break
;
case
PIX_FMT_ARGB
:
case
AV_
PIX_FMT_ARGB
:
alpha_first
=
1
;
case
PIX_FMT_RGBA
:
case
AV_
PIX_FMT_RGBA
:
packedtogbr24p
((
const
uint8_t
*
)
src
[
0
],
srcStride
[
0
],
dst201
,
stride201
,
srcSliceH
,
alpha_first
,
4
,
c
->
srcW
);
break
;
case
PIX_FMT_ABGR
:
case
AV_
PIX_FMT_ABGR
:
alpha_first
=
1
;
case
PIX_FMT_BGRA
:
case
AV_
PIX_FMT_BGRA
:
packedtogbr24p
((
const
uint8_t
*
)
src
[
0
],
srcStride
[
0
],
dst102
,
stride102
,
srcSliceH
,
alpha_first
,
4
,
c
->
srcW
);
break
;
...
...
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