Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
027cc8c8
Commit
027cc8c8
authored
Feb 04, 2016
by
Yaowu Xu
Browse files
merge per-segment lossless feature in misc_fixes
Change-Id: I56d56781d371c99aa5cdd2db1cbc0a17437723e9
parent
9909b541
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp10/decoder/decodeframe.c
View file @
027cc8c8
...
...
@@ -3135,9 +3135,8 @@ static size_t read_uncompressed_header(VP10Decoder *pbi,
{
int
i
;
for
(
i
=
0
;
i
<
MAX_SEGMENTS
;
++
i
)
{
const
int
qindex
=
CONFIG_MISC_FIXES
&&
cm
->
seg
.
enabled
?
vp10_get_qindex
(
&
cm
->
seg
,
i
,
cm
->
base_qindex
)
:
cm
->
base_qindex
;
const
int
qindex
=
cm
->
seg
.
enabled
?
vp10_get_qindex
(
&
cm
->
seg
,
i
,
cm
->
base_qindex
)
:
cm
->
base_qindex
;
xd
->
lossless
[
i
]
=
qindex
==
0
&&
cm
->
y_dc_delta_q
==
0
&&
cm
->
uv_dc_delta_q
==
0
&&
...
...
vp10/encoder/encodeframe.c
View file @
027cc8c8
...
...
@@ -3906,9 +3906,8 @@ static void encode_frame_internal(VP10_COMP *cpi) {
rdc
->
ex_search_count
=
0
;
// Exhaustive mesh search hits.
for
(
i
=
0
;
i
<
MAX_SEGMENTS
;
++
i
)
{
const
int
qindex
=
CONFIG_MISC_FIXES
&&
cm
->
seg
.
enabled
?
vp10_get_qindex
(
&
cm
->
seg
,
i
,
cm
->
base_qindex
)
:
cm
->
base_qindex
;
const
int
qindex
=
cm
->
seg
.
enabled
?
vp10_get_qindex
(
&
cm
->
seg
,
i
,
cm
->
base_qindex
)
:
cm
->
base_qindex
;
xd
->
lossless
[
i
]
=
qindex
==
0
&&
cm
->
y_dc_delta_q
==
0
&&
cm
->
uv_dc_delta_q
==
0
&&
...
...
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