xbmc
DVDDemuxUtils.h
1 /*
2  * Copyright (C) 2005-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 "cores/VideoPlayer/Interface/DemuxPacket.h"
12 extern "C" {
13 #include <libavcodec/avcodec.h>
14 }
15 
17 {
18 public:
19  static void FreeDemuxPacket(DemuxPacket* pPacket);
20  static DemuxPacket* AllocateDemuxPacket(int iDataSize = 0);
21  static DemuxPacket* AllocateDemuxPacket(unsigned int iDataSize, unsigned int encryptedSubsampleCount);
22  static void StoreSideData(DemuxPacket *pkt, AVPacket *src);
23 };
24 
static void FreeDemuxPacket(DemuxPacket *pPacket)
Definition: DVDDemuxUtils.cpp:19
static DemuxPacket * AllocateDemuxPacket(int iDataSize=0)
Definition: DVDDemuxUtils.cpp:52
static void StoreSideData(DemuxPacket *pkt, AVPacket *src)
Definition: DVDDemuxUtils.cpp:89
Definition: DemuxPacket.h:22
Definition: DVDDemuxUtils.h:16