diff options
Diffstat (limited to 'chromium/media/cast/sender/vp8_quantizer_parser.h')
-rw-r--r-- | chromium/media/cast/sender/vp8_quantizer_parser.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chromium/media/cast/sender/vp8_quantizer_parser.h b/chromium/media/cast/sender/vp8_quantizer_parser.h new file mode 100644 index 00000000000..abd0d5e0c25 --- /dev/null +++ b/chromium/media/cast/sender/vp8_quantizer_parser.h @@ -0,0 +1,20 @@ +// Copyright 2015 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef MEDIA_CAST_SENDER_VP8_QUANTIZER_PARSER_H_ +#define MEDIA_CAST_SENDER_VP8_QUANTIZER_PARSER_H_ + +#include "media/cast/cast_config.h" + +namespace media { +namespace cast { + +// Partially parse / skip data in the header and the first partition, +// and return the base quantizer in the range [0,63], or -1 on parse error. +int ParseVp8HeaderQuantizer(const uint8* data, size_t size); + +} // namespace cast +} // namespace media + +#endif // MEDIA_CAST_SENDER_VP8_QUANTIZER_PARSER_H_ |