eBUS SDK v6.2.8.5877 API
PvH264Decoder.h
1
// *****************************************************************************
2
//
3
// Copyright (c) 2019, Pleora Technologies Inc., All rights reserved.
4
//
5
// *****************************************************************************
6
7
#ifndef __PVH264DECODER_H__
8
#define __PVH264DECODER_H__
9
10
#include <PvAppUtilsLib.h>
11
#include <PvBuffer.h>
12
13
14
#ifdef WIN32
15
struct
IMFSample;
16
#endif
17
18
namespace
PvAppUtilsLib
19
{
20
class
IH264Decoder;
21
}
22
23
24
class
PV_APPUTILS_API
PvH264Decoder
25
{
26
public
:
27
28
PvH264Decoder
();
29
~
PvH264Decoder
();
30
31
bool
IsAvailable()
const
;
32
33
PvResult
Reset();
34
PvResult
Process(
const
IPvH264AccessUnit
*aAccessUnit );
35
PvResult
Retrieve(
PvImage
*aImage );
36
#ifdef WIN32
37
PvResult
Retrieve( IMFSample *aSample );
38
#endif
39
40
void
GetLastError(
PvString
&aString )
const
;
41
void
ResetLastError();
42
43
private
:
44
45
PvAppUtilsLib::IH264Decoder *mThis;
46
47
// Not implemented
48
PvH264Decoder
(
const
PvH264Decoder
& );
49
const
PvH264Decoder
&operator=(
const
PvH264Decoder
& );
50
51
};
52
53
54
#endif
PvResult
Result information.
Definition:
PvResult.h:13
PvImage
Image interface to a PvBuffer.
Definition:
PvImage.h:48
PvString
String class.
Definition:
PvString.h:21
PvH264Decoder
Definition:
PvH264Decoder.h:24
IPvH264AccessUnit
Generic, read-only H264 access unit interface.
Definition:
PvH264AccessUnit.h:21
Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com