projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c5a4ef
)
Make SVC compatible with external resize.
author
Alex Converse
<aconverse@google.com>
Wed, 25 Feb 2015 22:05:51 +0000
(14:05 -0800)
committer
Alex Converse
<aconverse@google.com>
Wed, 25 Feb 2015 22:05:51 +0000
(14:05 -0800)
Fixes https://code.google.com/p/webm/issues/detail?id=943
Change-Id: I6177bf6ab6b31a22d2652732f579b8aed3f28887
vp9/encoder/vp9_svc_layercontext.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_svc_layercontext.c
b/vp9/encoder/vp9_svc_layercontext.c
index
82bce37
..
161b5a2
100644
(file)
--- a/
vp9/encoder/vp9_svc_layercontext.c
+++ b/
vp9/encoder/vp9_svc_layercontext.c
@@
-380,13
+380,14
@@
int vp9_svc_start_frame(VP9_COMP *const cpi) {
}
}
- if (vp9_set_size_literal(cpi, width, height) != 0)
- return VPX_CODEC_INVALID_PARAM;
-
cpi->oxcf.worst_allowed_q = vp9_quantizer_to_qindex(lc->max_q);
cpi->oxcf.best_allowed_q = vp9_quantizer_to_qindex(lc->min_q);
vp9_change_config(cpi, &cpi->oxcf);
+
+ if (vp9_set_size_literal(cpi, width, height) != 0)
+ return VPX_CODEC_INVALID_PARAM;
+
vp9_set_high_precision_mv(cpi, 1);
cpi->alt_ref_source = get_layer_context(cpi)->alt_ref_source;