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
3f7bb50c
Commit
3f7bb50c
authored
Jun 23, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
Originally committed as revision 6521 to
svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent
c7a810cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
swscale.c
postproc/swscale.c
+0
-2
swscale_template.c
postproc/swscale_template.c
+3
-3
No files found.
postproc/swscale.c
View file @
3f7bb50c
...
...
@@ -102,8 +102,6 @@ untested special converters
//FIXME replace this with something faster
#define isPlanarYUV(x) ((x)==IMGFMT_YV12 || (x)==IMGFMT_I420 || (x)==IMGFMT_YVU9)
#define isYUV(x) ((x)==IMGFMT_YUY2 || isPlanarYUV(x))
#define isHalfChrV(x) ((x)==IMGFMT_YV12 || (x)==IMGFMT_I420)
#define isHalfChrH(x) ((x)==IMGFMT_YUY2 || (x)==IMGFMT_YV12 || (x)==IMGFMT_I420)
#define isGray(x) ((x)==IMGFMT_Y800)
#define isSupportedIn(x) ((x)==IMGFMT_YV12 || (x)==IMGFMT_I420 || (x)==IMGFMT_YUY2 \
|| (x)==IMGFMT_BGR32|| (x)==IMGFMT_BGR24|| (x)==IMGFMT_BGR16|| (x)==IMGFMT_BGR15\
...
...
postproc/swscale_template.c
View file @
3f7bb50c
...
...
@@ -2709,9 +2709,9 @@ i--;
for
(;
dstY
<
dstH
;
dstY
++
){
unsigned
char
*
dest
=
dst
[
0
]
+
dstStride
[
0
]
*
dstY
;
unsigned
char
*
uDest
=
dst
[
1
]
+
dstStride
[
1
]
*
(
dstY
>>
1
)
;
unsigned
char
*
vDest
=
dst
[
2
]
+
dstStride
[
2
]
*
(
dstY
>>
1
)
;
const
int
chrDstY
=
isHalfChrV
(
dstFormat
)
?
(
dstY
>>
1
)
:
d
stY
;
const
int
chrDstY
=
dstY
>>
c
->
chrDstVSubSample
;
unsigned
char
*
uDest
=
dst
[
1
]
+
dstStride
[
1
]
*
chrDstY
;
unsigned
char
*
vDest
=
dst
[
2
]
+
dstStride
[
2
]
*
chrD
stY
;
const
int
firstLumSrcY
=
vLumFilterPos
[
dstY
];
//First line needed as input
const
int
firstChrSrcY
=
vChrFilterPos
[
chrDstY
];
//First line needed as input
...
...
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