Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
x264
Commits
b7fa2857
Commit
b7fa2857
authored
Dec 13, 2009
by
Fiona Glaser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't do sum/ssd analysis if weightp == 1
Typo fixes in comments and help.
parent
f30aed6d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
encoder/encoder.c
encoder/encoder.c
+1
-1
x264.c
x264.c
+1
-1
x264.h
x264.h
+1
-1
No files found.
encoder/encoder.c
View file @
b7fa2857
...
@@ -2042,7 +2042,7 @@ int x264_encoder_encode( x264_t *h,
...
@@ -2042,7 +2042,7 @@ int x264_encoder_encode( x264_t *h,
if
(
h
->
frames
.
b_have_lowres
)
if
(
h
->
frames
.
b_have_lowres
)
{
{
if
(
h
->
param
.
analyse
.
i_weighted_pred
)
if
(
h
->
param
.
analyse
.
i_weighted_pred
==
X264_WEIGHTP_FAKE
||
h
->
param
.
analyse
.
i_weighted_pred
==
X264_WEIGHTP_SMART
)
x264_weight_plane_analyse
(
h
,
fenc
);
x264_weight_plane_analyse
(
h
,
fenc
);
x264_frame_init_lowres
(
h
,
fenc
);
x264_frame_init_lowres
(
h
,
fenc
);
}
}
...
...
x264.c
View file @
b7fa2857
...
@@ -235,7 +235,7 @@ static void Help( x264_param_t *defaults, int longhelp )
...
@@ -235,7 +235,7 @@ static void Help( x264_param_t *defaults, int longhelp )
" --ref {Double if >1 else 1}
\n
"
" --ref {Double if >1 else 1}
\n
"
" - grain:
\n
"
" - grain:
\n
"
" --aq-strength 0.5 --no-dct-decimate
\n
"
" --aq-strength 0.5 --no-dct-decimate
\n
"
" --deadzone
inter 6 --deadzone-intra 6
\n
"
" --deadzone
-
inter 6 --deadzone-intra 6
\n
"
" --deblock -2:-2 --ipratio 1.1
\n
"
" --deblock -2:-2 --ipratio 1.1
\n
"
" --pbratio 1.1 --psy-rd <unset>:0.25
\n
"
" --pbratio 1.1 --psy-rd <unset>:0.25
\n
"
" --qcomp 0.8
\n
"
" --qcomp 0.8
\n
"
...
...
x264.h
View file @
b7fa2857
...
@@ -204,7 +204,7 @@ typedef struct x264_param_t
...
@@ -204,7 +204,7 @@ typedef struct x264_param_t
int
i_bframe
;
/* how many b-frame between 2 references pictures */
int
i_bframe
;
/* how many b-frame between 2 references pictures */
int
i_bframe_adaptive
;
int
i_bframe_adaptive
;
int
i_bframe_bias
;
int
i_bframe_bias
;
int
i_bframe_pyramid
;
/* Keep some B-frames as references: 0=off, 1=strict h
e
irarchical, 2=normal */
int
i_bframe_pyramid
;
/* Keep some B-frames as references: 0=off, 1=strict hi
e
rarchical, 2=normal */
int
b_deblocking_filter
;
int
b_deblocking_filter
;
int
i_deblocking_filter_alphac0
;
/* [-6, 6] -6 light filter, 6 strong */
int
i_deblocking_filter_alphac0
;
/* [-6, 6] -6 light filter, 6 strong */
...
...
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