// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // This file contains an implementation of an H264 Annex-B video stream parser. #ifndef MEDIA_PARSERS_H264_BIT_READER_H_ #define MEDIA_PARSERS_H264_BIT_READER_H_ #include <stddef.h> #include <stdint.h> #include <sys/types.h> #include "base/memory/raw_ptr.h" #include "media/base/media_export.h" namespace media { // A class to provide bit-granularity reading of H.264 streams. // This is not a generic bit reader class, as it takes into account // H.264 stream-specific constraints, such as skipping emulation-prevention // bytes and stop bits. See spec for more details. class MEDIA_EXPORT H264BitReader { … }; } // namespace media #endif // MEDIA_PARSERS_H264_BIT_READER_H_