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
791da470
Commit
791da470
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/mandelbrot: switch to an AVOptions-based system.
parent
bd85fee9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
filters.texi
doc/filters.texi
+1
-3
avfilter.c
libavfilter/avfilter.c
+1
-0
vsrc_mandelbrot.c
libavfilter/vsrc_mandelbrot.c
+0
-6
No files found.
doc/filters.texi
View file @
791da470
...
...
@@ -5919,9 +5919,7 @@ cellauto=p='@@@@ @@ @@@@':s=100x400:full=0:rule=18
Generate a Mandelbrot set fractal, and progressively zoom towards the
point specified with @var{start_x} and @var{start_y}.
This source accepts a list of options in the form of
@var{key}=@var{value} pairs separated by ":". A description of the
accepted options follows.
This source accepts the following options:
@table @option
...
...
libavfilter/avfilter.c
View file @
791da470
...
...
@@ -684,6 +684,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"lut"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"lutyuv"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"lutrgb"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"mandelbrot"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"negate"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"overlay"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"pad"
)
||
...
...
libavfilter/vsrc_mandelbrot.c
View file @
791da470
...
...
@@ -122,13 +122,7 @@ AVFILTER_DEFINE_CLASS(mandelbrot);
static
av_cold
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
{
MBContext
*
mb
=
ctx
->
priv
;
int
err
;
mb
->
class
=
&
mandelbrot_class
;
av_opt_set_defaults
(
mb
);
if
((
err
=
(
av_set_options_string
(
mb
,
args
,
"="
,
":"
)))
<
0
)
return
err
;
mb
->
bailout
*=
mb
->
bailout
;
mb
->
start_scale
/=
mb
->
h
;
...
...
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