Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
58fd70b0
Commit
58fd70b0
authored
Jun 01, 2011
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port remove of get_sws_cpuflags from MPlayer's libmpcodecs.
parent
3c194f39
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
7 deletions
+2
-7
vf_sab.c
libavfilter/libmpcodecs/vf_sab.c
+1
-1
vf_scale.h
libavfilter/libmpcodecs/vf_scale.h
+0
-1
vf_smartblur.c
libavfilter/libmpcodecs/vf_smartblur.c
+1
-1
vf_mp.c
libavfilter/vf_mp.c
+0
-4
No files found.
libavfilter/libmpcodecs/vf_sab.c
View file @
58fd70b0
...
@@ -102,7 +102,7 @@ static int allocStuff(FilterParam *f, int width, int height){
...
@@ -102,7 +102,7 @@ static int allocStuff(FilterParam *f, int width, int height){
swsF
.
lumH
=
swsF
.
lumV
=
vec
;
swsF
.
lumH
=
swsF
.
lumV
=
vec
;
swsF
.
chrH
=
swsF
.
chrV
=
NULL
;
swsF
.
chrH
=
swsF
.
chrV
=
NULL
;
f
->
preFilterContext
=
sws_getContext
(
f
->
preFilterContext
=
sws_getContext
(
width
,
height
,
PIX_FMT_GRAY8
,
width
,
height
,
PIX_FMT_GRAY8
,
get_sws_cpuflags
()
|
SWS_POINT
,
&
swsF
,
NULL
,
NULL
);
width
,
height
,
PIX_FMT_GRAY8
,
width
,
height
,
PIX_FMT_GRAY8
,
SWS_POINT
,
&
swsF
,
NULL
,
NULL
);
sws_freeVec
(
vec
);
sws_freeVec
(
vec
);
vec
=
sws_getGaussianVec
(
f
->
strength
,
5
.
0
);
vec
=
sws_getGaussianVec
(
f
->
strength
,
5
.
0
);
...
...
libavfilter/libmpcodecs/vf_scale.h
View file @
58fd70b0
...
@@ -29,7 +29,6 @@ extern float sws_lum_sharpen;
...
@@ -29,7 +29,6 @@ extern float sws_lum_sharpen;
extern
int
sws_flags
;
extern
int
sws_flags
;
int
get_sws_cpuflags
(
void
);
struct
SwsContext
*
sws_getContextFromCmdLine
(
int
srcW
,
int
srcH
,
int
srcFormat
,
int
dstW
,
int
dstH
,
int
dstFormat
);
struct
SwsContext
*
sws_getContextFromCmdLine
(
int
srcW
,
int
srcH
,
int
srcFormat
,
int
dstW
,
int
dstH
,
int
dstFormat
);
#endif
/* MPLAYER_VF_SCALE_H */
#endif
/* MPLAYER_VF_SCALE_H */
libavfilter/libmpcodecs/vf_smartblur.c
View file @
58fd70b0
...
@@ -87,7 +87,7 @@ static int allocStuff(FilterParam *f, int width, int height){
...
@@ -87,7 +87,7 @@ static int allocStuff(FilterParam *f, int width, int height){
swsF
.
lumH
=
swsF
.
lumV
=
vec
;
swsF
.
lumH
=
swsF
.
lumV
=
vec
;
swsF
.
chrH
=
swsF
.
chrV
=
NULL
;
swsF
.
chrH
=
swsF
.
chrV
=
NULL
;
f
->
filterContext
=
sws_getContext
(
f
->
filterContext
=
sws_getContext
(
width
,
height
,
PIX_FMT_GRAY8
,
width
,
height
,
PIX_FMT_GRAY8
,
SWS_BICUBIC
|
get_sws_cpuflags
()
,
&
swsF
,
NULL
,
NULL
);
width
,
height
,
PIX_FMT_GRAY8
,
width
,
height
,
PIX_FMT_GRAY8
,
SWS_BICUBIC
,
&
swsF
,
NULL
,
NULL
);
sws_freeVec
(
vec
);
sws_freeVec
(
vec
);
...
...
libavfilter/vf_mp.c
View file @
58fd70b0
...
@@ -287,10 +287,6 @@ zrmjpeg
...
@@ -287,10 +287,6 @@ zrmjpeg
CpuCaps
gCpuCaps
;
//FIXME initialize this so optims work
CpuCaps
gCpuCaps
;
//FIXME initialize this so optims work
int
get_sws_cpuflags
(
void
){
return
0
;
}
static
void
sws_getFlagsAndFilterFromCmdLine
(
int
*
flags
,
SwsFilter
**
srcFilterParam
,
SwsFilter
**
dstFilterParam
)
static
void
sws_getFlagsAndFilterFromCmdLine
(
int
*
flags
,
SwsFilter
**
srcFilterParam
,
SwsFilter
**
dstFilterParam
)
{
{
static
int
firstTime
=
1
;
static
int
firstTime
=
1
;
...
...
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