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
326d40af
Commit
326d40af
authored
Nov 02, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
Originally committed as revision 8041 to
svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent
c41d972d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
postprocess.c
postproc/postprocess.c
+1
-6
postprocess.h
postproc/postprocess.h
+7
-2
No files found.
postproc/postprocess.c
View file @
326d40af
...
...
@@ -518,11 +518,6 @@ char *pp_help=
"fq forceQuant <quantizer> Force quantizer
\n
"
;
/**
* returns a PPMode struct which will have a non 0 error variable if an error occured
* name is the string after "-pp" on the command line
* quality is a number from 0 to GET_PP_QUALITY_MAX
*/
pp_mode_t
*
pp_get_mode_by_name_and_quality
(
char
*
name
,
int
quality
)
{
char
temp
[
GET_MODE_BUFFER_SIZE
];
...
...
@@ -553,7 +548,7 @@ pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality)
for
(;;){
char
*
filterName
;
int
q
=
1000000
;
//
GET_
PP_QUALITY_MAX;
int
q
=
1000000
;
//PP_QUALITY_MAX;
int
chrom
=-
1
;
char
*
option
;
char
*
options
[
OPTIONS_ARRAY_SIZE
];
...
...
postproc/postprocess.h
View file @
326d40af
...
...
@@ -19,7 +19,7 @@
#ifndef NEWPOSTPROCESS_H
#define NEWPOSTPROCESS_H
#define
GET_
PP_QUALITY_MAX 6
#define PP_QUALITY_MAX 6
#define QP_STORE_T int8_t
...
...
@@ -34,7 +34,12 @@ void pp_postprocess(uint8_t * src[3], int srcStride[3],
QP_STORE_T
*
QP_store
,
int
QP_stride
,
pp_mode_t
*
mode
,
pp_context_t
*
ppContext
,
int
pict_type
);
// name is the stuff after "-pp" on the command line
/**
* returns a pp_mode_t or NULL if an error occured
* name is the string after "-pp" on the command line
* quality is a number from 0 to PP_QUALITY_MAX
*/
pp_mode_t
*
pp_get_mode_by_name_and_quality
(
char
*
name
,
int
quality
);
void
pp_free_mode
(
pp_mode_t
*
mode
);
...
...
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