kodi
xbmc
utils
VC1BitstreamParser.h
1
/*
2
* Copyright (C) 2017-2018 Team Kodi
3
* This file is part of Kodi - https://kodi.tv
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
* See LICENSES/README.md for more information.
7
*/
8
9
#pragma once
10
11
#include <stdint.h>
12
13
class
CVC1BitstreamParser
14
{
15
public
:
16
CVC1BitstreamParser
();
17
~
CVC1BitstreamParser
() =
default
;
18
19
void
Reset();
20
21
inline
bool
IsRecoveryPoint(
const
uint8_t *buf,
int
buf_size);
22
inline
bool
IsIFrame(
const
uint8_t *buf,
int
buf_size);
23
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;
31
};
CVC1BitstreamParser
Definition:
VC1BitstreamParser.h:13
Generated by
1.8.13