Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: webrtc/modules/video_coding/utility/vp8_header_parser.cc

Issue 2891803003: Add vp9 QP parser. (Closed)
Patch Set: Fix compile warnings. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_coding/utility/vp8_header_parser.cc
diff --git a/webrtc/modules/video_coding/utility/vp8_header_parser.cc b/webrtc/modules/video_coding/utility/vp8_header_parser.cc
index d88fb6cc21ec4873c4d6763d99d0a2ec2a6463d3..95a749f35c428335389c8f0984da5b43075cc3a9 100644
--- a/webrtc/modules/video_coding/utility/vp8_header_parser.cc
+++ b/webrtc/modules/video_coding/utility/vp8_header_parser.cc
@@ -192,6 +192,7 @@ bool GetQp(const uint8_t* buf, size_t length, int* qp) {
VP8GetValue(&br, 2);
// Base QP.
const int base_q0 = VP8GetValue(&br, 7);
+ printf("vp8 parser qp %d\n", base_q0);
brandtr 2017/05/19 14:10:27 Remove.
jianj1 2017/05/19 21:20:56 Done.
if (br.eof_ == 1) {
LOG(LS_WARNING) << "Failed to get QP, end of file reached.";
return false;

Powered by Google App Engine
This is Rietveld 408576698