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
7b6e6895
Commit
7b6e6895
authored
Jan 14, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: Move VScalerContext into vscale.c
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
653f9d84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
swscale_internal.h
libswscale/swscale_internal.h
+0
-9
vscale.c
libswscale/vscale.c
+10
-0
No files found.
libswscale/swscale_internal.h
View file @
7b6e6895
...
...
@@ -1004,15 +1004,6 @@ typedef struct FilterContext
int
xInc
;
}
FilterContext
;
typedef
struct
VScalerContext
{
uint16_t
*
filter
[
2
];
int32_t
*
filter_pos
;
int
filter_size
;
int
isMMX
;
void
*
pfn
;
}
VScalerContext
;
// warp input lines in the form (src + width*i + j) to slice format (line[i][j])
// relative=true means first line src[x][0] otherwise first line is src[x][lum/crh Y]
int
ff_init_slice_from_src
(
SwsSlice
*
s
,
uint8_t
*
src
[
4
],
int
stride
[
4
],
int
srcW
,
int
lumY
,
int
lumH
,
int
chrY
,
int
chrH
,
int
relative
);
...
...
libswscale/vscale.c
View file @
7b6e6895
...
...
@@ -19,6 +19,16 @@
*/
#include "swscale_internal.h"
typedef
struct
VScalerContext
{
uint16_t
*
filter
[
2
];
int32_t
*
filter_pos
;
int
filter_size
;
int
isMMX
;
void
*
pfn
;
}
VScalerContext
;
static
int
lum_planar_vscale
(
SwsContext
*
c
,
SwsFilterDescriptor
*
desc
,
int
sliceY
,
int
sliceH
)
{
VScalerContext
*
inst
=
desc
->
instance
;
...
...
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