blob: 4249c0b495e341a83fc5fbfc8ebd951a0a5579a8 [file] [log] [blame]
// 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_VPX_QUANTIZER_PARSER_H_
#define MEDIA_CAST_SENDER_VPX_QUANTIZER_PARSER_H_
#include <stddef.h>
#include <stdint.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 ParseVpxHeaderQuantizer(const uint8_t* data, size_t size);
} // namespace cast
} // namespace media
#endif // MEDIA_CAST_SENDER_VPX_QUANTIZER_PARSER_H_