summaryrefslogtreecommitdiff
path: root/src/libw32dll/libwin32.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-11-15 00:41:28 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-11-15 00:41:28 +0000
commit2c82a5b3b2398de419ec33297fabf2a752539d80 (patch)
tree47dc944bc9e1fd0d44e0e61e5f0a508aa0901d8a /src/libw32dll/libwin32.h
parentd731e04a7ffc2bac45e975c9b35a16d3e632a91c (diff)
downloadxine-lib-2c82a5b3b2398de419ec33297fabf2a752539d80.tar.gz
xine-lib-2c82a5b3b2398de419ec33297fabf2a752539d80.tar.bz2
- audio bugfixes (dynamic buffers and Direct Show support). it show play
about any working audio codec now, no matter the rate and number of channels. unfortunately sync and seek might be broken. CVS patchset: 1041 CVS date: 2001/11/15 00:41:28
Diffstat (limited to 'src/libw32dll/libwin32.h')
-rw-r--r--src/libw32dll/libwin32.h38
1 files changed, 21 insertions, 17 deletions
diff --git a/src/libw32dll/libwin32.h b/src/libw32dll/libwin32.h
index 2155f9adf..cf57b2f88 100644
--- a/src/libw32dll/libwin32.h
+++ b/src/libw32dll/libwin32.h
@@ -34,21 +34,23 @@ typedef struct _CodecInfo
GUID guid;
}CodecInfo;
-/*
+
typedef struct _CImage // public your_libvo_mem
{
+ char* ptr;
+
char* (*Data)();
- {
+ /*{
return 0;
// pointer to memory block
- }
- bool (*Supported)(fourcc_t csp, int bits);
- {
+ }*/
+ int (*Supported)(fourcc_t csp, int bits);
+ /*{
return true;
// if you support such surface
- }
+ }*/
}CImage;
-*/
+
#if 0
struct BitmapInfo : public BITMAPINFOHEADER
@@ -77,14 +79,6 @@ struct IAudioEncoder
};
*/
-typedef struct _IVideoDecoder
-{
- int VBUFSIZE;
- int QMARKHI;
- int QMARKLO;
- int DMARKHI;
- int DMARKLO;
-
enum CAPS
{
CAP_NONE = 0,
@@ -106,6 +100,16 @@ typedef struct _IVideoDecoder
STOP = 0,
START,
};
+
+
+typedef struct _IVideoDecoder
+{
+ int VBUFSIZE;
+ int QMARKHI;
+ int QMARKLO;
+ int DMARKHI;
+ int DMARKLO;
+
/*
IVideoDecoder(CodecInfo& info, const BITMAPINFOHEADER& format) : record(info)
{
@@ -120,8 +124,8 @@ typedef struct _IVideoDecoder
}
*/
const CodecInfo record;
- //DecodingMode m_Mode; // should we do precaching (or even change Quality on the fly)
- //DecodingState m_State;
+ int m_Mode; // should we do precaching (or even change Quality on the fly)
+ int m_State;
int m_iDecpos;
int m_iPlaypos;
float m_fQuality; // quality for the progress bar 0..1(best)