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
58a840e2
Commit
58a840e2
authored
Mar 17, 2015
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace a few leftover instances of enum PixelFormat with enum AVPixelFormat
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
6289706b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
libopenh264enc.c
libavcodec/libopenh264enc.c
+2
-2
imgutils.h
libavutil/imgutils.h
+3
-3
No files found.
libavcodec/libopenh264enc.c
View file @
58a840e2
...
...
@@ -228,7 +228,7 @@ AVCodec ff_libopenh264_encoder = {
.
encode2
=
svc_encode_frame
,
.
close
=
svc_encode_close
,
.
capabilities
=
CODEC_CAP_AUTO_THREADS
,
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
AV_PIX_FMT_YUV420P
,
.
pix_fmts
=
(
const
enum
AV
PixelFormat
[]){
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
},
.
priv_class
=
&
class
,
};
libavutil/imgutils.h
View file @
58a840e2
...
...
@@ -145,7 +145,7 @@ void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
*/
int
av_image_fill_arrays
(
uint8_t
*
dst_data
[
4
],
int
dst_linesize
[
4
],
const
uint8_t
*
src
,
enum
PixelFormat
pix_fmt
,
int
width
,
int
height
,
int
align
);
enum
AV
PixelFormat
pix_fmt
,
int
width
,
int
height
,
int
align
);
/**
* Return the size in bytes of the amount of data required to store an
...
...
@@ -153,7 +153,7 @@ int av_image_fill_arrays(uint8_t *dst_data[4], int dst_linesize[4],
*
* @param[in] align the assumed linesize alignment
*/
int
av_image_get_buffer_size
(
enum
PixelFormat
pix_fmt
,
int
width
,
int
height
,
int
align
);
int
av_image_get_buffer_size
(
enum
AV
PixelFormat
pix_fmt
,
int
width
,
int
height
,
int
align
);
/**
* Copy image data from an image into a buffer.
...
...
@@ -174,7 +174,7 @@ int av_image_get_buffer_size(enum PixelFormat pix_fmt, int width, int height, in
*/
int
av_image_copy_to_buffer
(
uint8_t
*
dst
,
int
dst_size
,
const
uint8_t
*
const
src_data
[
4
],
const
int
src_linesize
[
4
],
enum
PixelFormat
pix_fmt
,
int
width
,
int
height
,
int
align
);
enum
AV
PixelFormat
pix_fmt
,
int
width
,
int
height
,
int
align
);
/**
* Check if the given dimension of an image is valid, meaning that all
...
...
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