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
4da950c0
Commit
4da950c0
authored
Feb 28, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lls: #ifndef --> #if in FF_API_ version guard
parent
e8c52271
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
lls.c
libavutil/lls.c
+3
-2
lls.h
libavutil/lls.h
+5
-2
No files found.
libavutil/lls.c
View file @
4da950c0
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include <math.h>
#include <math.h>
#include <string.h>
#include <string.h>
#include "version.h"
#include "lls.h"
#include "lls.h"
void
avpriv_init_lls
(
LLSModel
*
m
,
int
indep_count
)
void
avpriv_init_lls
(
LLSModel
*
m
,
int
indep_count
)
...
@@ -116,7 +117,7 @@ double avpriv_evaluate_lls(LLSModel *m, double *param, int order)
...
@@ -116,7 +117,7 @@ double avpriv_evaluate_lls(LLSModel *m, double *param, int order)
return
out
;
return
out
;
}
}
#if
ndef
FF_API_LLS_PRIVATE
#if FF_API_LLS_PRIVATE
void
av_init_lls
(
LLSModel
*
m
,
int
indep_count
)
void
av_init_lls
(
LLSModel
*
m
,
int
indep_count
)
{
{
return
avpriv_init_lls
(
m
,
indep_count
);
return
avpriv_init_lls
(
m
,
indep_count
);
...
@@ -133,7 +134,7 @@ double av_evaluate_lls(LLSModel *m, double *param, int order)
...
@@ -133,7 +134,7 @@ double av_evaluate_lls(LLSModel *m, double *param, int order)
{
{
return
avpriv_evaluate_lls
(
m
,
param
,
order
);
return
avpriv_evaluate_lls
(
m
,
param
,
order
);
}
}
#endif
#endif
/* FF_API_LLS_PRIVATE */
#ifdef TEST
#ifdef TEST
...
...
libavutil/lls.h
View file @
4da950c0
...
@@ -23,6 +23,8 @@
...
@@ -23,6 +23,8 @@
#ifndef AVUTIL_LLS_H
#ifndef AVUTIL_LLS_H
#define AVUTIL_LLS_H
#define AVUTIL_LLS_H
#include "version.h"
#define MAX_VARS 32
#define MAX_VARS 32
//FIXME avoid direct access to LLSModel from outside
//FIXME avoid direct access to LLSModel from outside
...
@@ -42,10 +44,11 @@ void avpriv_update_lls(LLSModel *m, double *param, double decay);
...
@@ -42,10 +44,11 @@ void avpriv_update_lls(LLSModel *m, double *param, double decay);
void
avpriv_solve_lls
(
LLSModel
*
m
,
double
threshold
,
unsigned
short
min_order
);
void
avpriv_solve_lls
(
LLSModel
*
m
,
double
threshold
,
unsigned
short
min_order
);
double
avpriv_evaluate_lls
(
LLSModel
*
m
,
double
*
param
,
int
order
);
double
avpriv_evaluate_lls
(
LLSModel
*
m
,
double
*
param
,
int
order
);
#if
ndef
FF_API_LLS_PRIVATE
#if FF_API_LLS_PRIVATE
void
av_init_lls
(
LLSModel
*
m
,
int
indep_count
);
void
av_init_lls
(
LLSModel
*
m
,
int
indep_count
);
void
av_update_lls
(
LLSModel
*
m
,
double
*
param
,
double
decay
);
void
av_update_lls
(
LLSModel
*
m
,
double
*
param
,
double
decay
);
void
av_solve_lls
(
LLSModel
*
m
,
double
threshold
,
int
min_order
);
void
av_solve_lls
(
LLSModel
*
m
,
double
threshold
,
int
min_order
);
double
av_evaluate_lls
(
LLSModel
*
m
,
double
*
param
,
int
order
);
double
av_evaluate_lls
(
LLSModel
*
m
,
double
*
param
,
int
order
);
#endif
#endif
/* FF_API_LLS_PRIVATE */
#endif
/* AVUTIL_LLS_H */
#endif
/* AVUTIL_LLS_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