[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / utils / VC1BitstreamParser.h
blob882160cf019953ee33f92f26fb2e96fb9e37374c
1 /*
2 * Copyright (C) 2017-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include <stdint.h>
13 class CVC1BitstreamParser
15 public:
16 CVC1BitstreamParser();
17 ~CVC1BitstreamParser() = default;
19 void Reset();
21 inline bool IsRecoveryPoint(const uint8_t *buf, int buf_size);
22 inline bool IsIFrame(const uint8_t *buf, int buf_size);
24 protected:
25 bool vc1_parse_frame(const uint8_t *buf, const uint8_t *buf_end, bool sequenceOnly);
26 private:
27 uint8_t m_Profile;
28 uint8_t m_MaxBFrames;
29 uint8_t m_SimpleSkipBits;
30 uint8_t m_AdvInterlace;