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
ee435580
Commit
ee435580
authored
Jul 08, 2010
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reindent after r24101.
Originally committed as revision 24126 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
efdccce5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
vf_pixdesctest.c
libavfilter/vf_pixdesctest.c
+8
-8
pixdesc.c
libavutil/pixdesc.c
+2
-2
pixdesc.h
libavutil/pixdesc.h
+2
-2
No files found.
libavfilter/vf_pixdesctest.c
View file @
ee435580
...
...
@@ -91,16 +91,16 @@ static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)
for
(
i
=
y1
;
i
<
y1
+
h1
;
i
++
)
{
av_read_image_line
(
priv
->
line
,
inpic
->
data
,
inpic
->
linesize
,
priv
->
pix_desc
,
0
,
i
,
c
,
w1
,
0
);
inpic
->
data
,
inpic
->
linesize
,
priv
->
pix_desc
,
0
,
i
,
c
,
w1
,
0
);
av_write_image_line
(
priv
->
line
,
outpic
->
data
,
outpic
->
linesize
,
priv
->
pix_desc
,
0
,
i
,
c
,
w1
);
outpic
->
data
,
outpic
->
linesize
,
priv
->
pix_desc
,
0
,
i
,
c
,
w1
);
}
}
...
...
libavutil/pixdesc.c
View file @
ee435580
...
...
@@ -25,7 +25,7 @@
#include "intreadwrite.h"
void
av_read_image_line
(
uint16_t
*
dst
,
const
uint8_t
*
data
[
4
],
const
int
linesize
[
4
],
const
AVPixFmtDescriptor
*
desc
,
int
x
,
int
y
,
int
c
,
int
w
,
int
read_pal_component
)
const
AVPixFmtDescriptor
*
desc
,
int
x
,
int
y
,
int
c
,
int
w
,
int
read_pal_component
)
{
AVComponentDescriptor
comp
=
desc
->
comp
[
c
];
int
plane
=
comp
.
plane
;
...
...
@@ -66,7 +66,7 @@ void av_read_image_line(uint16_t *dst, const uint8_t *data[4], const int linesiz
}
void
av_write_image_line
(
const
uint16_t
*
src
,
uint8_t
*
data
[
4
],
const
int
linesize
[
4
],
const
AVPixFmtDescriptor
*
desc
,
int
x
,
int
y
,
int
c
,
int
w
)
const
AVPixFmtDescriptor
*
desc
,
int
x
,
int
y
,
int
c
,
int
w
)
{
AVComponentDescriptor
comp
=
desc
->
comp
[
c
];
int
plane
=
comp
.
plane
;
...
...
libavutil/pixdesc.h
View file @
ee435580
...
...
@@ -109,7 +109,7 @@ extern const AVPixFmtDescriptor av_pix_fmt_descriptors[];
* data[0]. The behavior is undefined if the format is not paletted.
*/
void
av_read_image_line
(
uint16_t
*
dst
,
const
uint8_t
*
data
[
4
],
const
int
linesize
[
4
],
const
AVPixFmtDescriptor
*
desc
,
int
x
,
int
y
,
int
c
,
int
w
,
int
read_pal_component
);
const
AVPixFmtDescriptor
*
desc
,
int
x
,
int
y
,
int
c
,
int
w
,
int
read_pal_component
);
/**
* Write the values from src to the pixel format component c of an
...
...
@@ -126,7 +126,7 @@ void av_read_image_line(uint16_t *dst, const uint8_t *data[4], const int linesiz
* values to write to the image line
*/
void
av_write_image_line
(
const
uint16_t
*
src
,
uint8_t
*
data
[
4
],
const
int
linesize
[
4
],
const
AVPixFmtDescriptor
*
desc
,
int
x
,
int
y
,
int
c
,
int
w
);
const
AVPixFmtDescriptor
*
desc
,
int
x
,
int
y
,
int
c
,
int
w
);
/**
* Return the pixel format corresponding to name.
...
...
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