Fix VP8 layer 2 sync dependencies.
BUG= TEST= Review URL: http://webrtc-codereview.appspot.com/333010 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1259 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
00e730730e
commit
8c5d24266e
@ -161,7 +161,7 @@ int TemporalLayers::EncodeFlags() {
|
|||||||
break;
|
break;
|
||||||
case kTemporalUpdateGoldenWithoutDependency:
|
case kTemporalUpdateGoldenWithoutDependency:
|
||||||
flags |= VP8_EFLAG_NO_REF_GF;
|
flags |= VP8_EFLAG_NO_REF_GF;
|
||||||
// Deliberetely no break here.
|
// Deliberately no break here.
|
||||||
case kTemporalUpdateGolden:
|
case kTemporalUpdateGolden:
|
||||||
flags |= VP8_EFLAG_NO_REF_ARF;
|
flags |= VP8_EFLAG_NO_REF_ARF;
|
||||||
flags |= VP8_EFLAG_NO_UPD_ARF;
|
flags |= VP8_EFLAG_NO_UPD_ARF;
|
||||||
@ -169,7 +169,8 @@ int TemporalLayers::EncodeFlags() {
|
|||||||
break;
|
break;
|
||||||
case kTemporalUpdateAltrefWithoutDependency:
|
case kTemporalUpdateAltrefWithoutDependency:
|
||||||
flags |= VP8_EFLAG_NO_REF_ARF;
|
flags |= VP8_EFLAG_NO_REF_ARF;
|
||||||
// Deliberetely no break here.
|
flags |= VP8_EFLAG_NO_REF_GF;
|
||||||
|
// Deliberately no break here.
|
||||||
case kTemporalUpdateAltref:
|
case kTemporalUpdateAltref:
|
||||||
flags |= VP8_EFLAG_NO_UPD_GF;
|
flags |= VP8_EFLAG_NO_UPD_GF;
|
||||||
flags |= VP8_EFLAG_NO_UPD_LAST;
|
flags |= VP8_EFLAG_NO_UPD_LAST;
|
||||||
|
@ -31,6 +31,7 @@ enum {
|
|||||||
VP8_EFLAG_NO_UPD_ARF |
|
VP8_EFLAG_NO_UPD_ARF |
|
||||||
VP8_EFLAG_NO_UPD_LAST,
|
VP8_EFLAG_NO_UPD_LAST,
|
||||||
kTemporalUpdateAltrefWithoutDependency = VP8_EFLAG_NO_REF_ARF |
|
kTemporalUpdateAltrefWithoutDependency = VP8_EFLAG_NO_REF_ARF |
|
||||||
|
VP8_EFLAG_NO_REF_GF |
|
||||||
VP8_EFLAG_NO_UPD_GF |
|
VP8_EFLAG_NO_UPD_GF |
|
||||||
VP8_EFLAG_NO_UPD_LAST,
|
VP8_EFLAG_NO_UPD_LAST,
|
||||||
kTemporalUpdateAltref = VP8_EFLAG_NO_UPD_GF |
|
kTemporalUpdateAltref = VP8_EFLAG_NO_UPD_GF |
|
||||||
|
Loading…
Reference in New Issue
Block a user