1 /*---------------------------------------------------------------------------*
2   Project:  THP demo
3   File:     THPVideoDecode.h
4 
5   Copyright (C)2002-2006 Nintendo  All Rights Reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Log: THPVideoDecode.h,v $
14   Revision 1.1  02/03/2006 10:00:34  aka
15   Imported from Dolphin tree.
16 
17 
18     2     02/05/14 9:22a Suzuki
19     Changed return value type and argument type of PopFreeTextureSet(),
20      PushFreeTextureSet(), PopDecodedTextureSet(), PushDecodedTextureSet().
21 
22     1     02/01/16 11:04a Akagi
23     Initial revision made by Suzuki-san (IRD).
24 
25   $NoKeywords: $
26 
27  *---------------------------------------------------------------------------*/
28 
29 #ifndef __THP_VIDEO_DECODE_H__
30 #define __THP_VIDEO_DECODE_H__
31 
32 #include <revolution.h>
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 extern BOOL  CreateVideoDecodeThread(OSPriority priority, u8 *ptr);
39 extern void  VideoDecodeThreadStart(void);
40 extern void  VideoDecodeThreadCancel(void);
41 extern void  *PopFreeTextureSet();
42 extern void  PushFreeTextureSet(void *buffer);
43 extern void  *PopDecodedTextureSet(s32 flag);
44 extern void  PushDecodedTextureSet(void *buffer);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif // __THP_VIDEO_DECODE_H__
51