#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winerror.h"
#include "vfw.h"
#include "avifile_private.h"
#include "extrachunk.h"
#include "wine/debug.h"
Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (avifile) |
|
static ITmpFileImpl * | impl_from_IAVIFile (IAVIFile *iface) |
|
static HRESULT WINAPI | ITmpFile_fnQueryInterface (IAVIFile *iface, REFIID refiid, LPVOID *obj) |
|
static ULONG WINAPI | ITmpFile_fnAddRef (IAVIFile *iface) |
|
static ULONG WINAPI | ITmpFile_fnRelease (IAVIFile *iface) |
|
static HRESULT WINAPI | ITmpFile_fnInfo (IAVIFile *iface, AVIFILEINFOW *afi, LONG size) |
|
static HRESULT WINAPI | ITmpFile_fnGetStream (IAVIFile *iface, PAVISTREAM *avis, DWORD fccType, LONG lParam) |
|
static HRESULT WINAPI | ITmpFile_fnCreateStream (IAVIFile *iface, PAVISTREAM *avis, AVISTREAMINFOW *asi) |
|
static HRESULT WINAPI | ITmpFile_fnWriteData (IAVIFile *iface, DWORD ckid, LPVOID lpData, LONG size) |
|
static HRESULT WINAPI | ITmpFile_fnReadData (IAVIFile *iface, DWORD ckid, LPVOID lpData, LONG *size) |
|
static HRESULT WINAPI | ITmpFile_fnEndRecord (IAVIFile *iface) |
|
static HRESULT WINAPI | ITmpFile_fnDeleteStream (IAVIFile *iface, DWORD fccType, LONG lParam) |
|
PAVIFILE | AVIFILE_CreateAVITempFile (int nStreams, const PAVISTREAM *ppStreams) |
|
◆ ITmpFileImpl
◆ AVIFILE_CreateAVITempFile()
Definition at line 220 of file tmpfile.c.
221{
224
228
232
238 }
239
242
244
253 }
254 }
255
258
259 {
261
266
273 }
274 }
275
277}
LONG WINAPI AVIStreamSampleToTime(PAVISTREAM pstream, LONG lSample)
ULONG WINAPI AVIStreamAddRef(PAVISTREAM pstream)
HRESULT WINAPI AVIStreamInfoW(PAVISTREAM pstream, LPAVISTREAMINFOW asi, LONG size)
#define HeapFree(x, y, z)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
INT WINAPI MulDiv(INT nNumber, INT nNumerator, INT nDenominator)
DWORD dwSuggestedBufferSize
DWORD dwSuggestedBufferSize
static const struct IAVIFileVtbl itmpft
Referenced by AVIMakeFileFromStreams().
◆ impl_from_IAVIFile()
◆ ITmpFile_fnAddRef()
Definition at line 68 of file tmpfile.c.
69{
72
74
76}
#define InterlockedIncrement
static ITmpFileImpl * impl_from_IAVIFile(IAVIFile *iface)
◆ ITmpFile_fnCreateStream()
Definition at line 168 of file tmpfile.c.
170{
171 TRACE(
"(%p,%p,%p)\n",iface,avis,asi);
172
174}
#define AVIERR_UNSUPPORTED
◆ ITmpFile_fnDeleteStream()
◆ ITmpFile_fnEndRecord()
◆ ITmpFile_fnGetStream()
Definition at line 121 of file tmpfile.c.
123{
125
127
128 TRACE(
"(%p,%p,0x%08X,%d)\n", iface, avis, fccType,
lParam);
129
132
134
136
137 for (
i = 0;
i <
This->fInfo.dwStreams;
i++) {
140
144
145 if (sInfo.
fccType == fccType) {
148 break;
149 } else
151 }
152 }
153 } else
155
156
157 if (nStream < This->fInfo.dwStreams &&
This->ppStreams[nStream] !=
NULL) {
158 *avis =
This->ppStreams[nStream];
160
162 }
163
164
166}
◆ ITmpFile_fnInfo()
Definition at line 102 of file tmpfile.c.
104{
106
108
113
115
119}
#define memcpy(s1, s2, n)
#define AVIERR_BUFFERTOOSMALL
◆ ITmpFile_fnQueryInterface()
Definition at line 50 of file tmpfile.c.
52{
54
56
61
63 }
64
66}
#define IsEqualGUID(rguid1, rguid2)
#define IAVIFile_AddRef(p)
#define OLE_E_ENUM_NOMORE
◆ ITmpFile_fnReadData()
Definition at line 184 of file tmpfile.c.
186{
187 TRACE(
"(%p,0x%08X,%p,%p)\n", iface, ckid, lpData,
size);
188
190}
◆ ITmpFile_fnRelease()
Definition at line 78 of file tmpfile.c.
79{
82
84
87
88 for (
i = 0;
i <
This->fInfo.dwStreams;
i++) {
91
93 }
94 }
95
97 }
98
100}
#define InterlockedDecrement
ULONG WINAPI AVIStreamRelease(PAVISTREAM pstream)
◆ ITmpFile_fnWriteData()
Definition at line 176 of file tmpfile.c.
178{
179 TRACE(
"(%p,0x%08X,%p,%d)\n", iface, ckid, lpData,
size);
180
182}
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
avifile |
| ) |
|
◆ itmpft
Initial value:= {
}
static HRESULT WINAPI ITmpFile_fnCreateStream(IAVIFile *iface, PAVISTREAM *avis, AVISTREAMINFOW *asi)
static HRESULT WINAPI ITmpFile_fnDeleteStream(IAVIFile *iface, DWORD fccType, LONG lParam)
static HRESULT WINAPI ITmpFile_fnWriteData(IAVIFile *iface, DWORD ckid, LPVOID lpData, LONG size)
static HRESULT WINAPI ITmpFile_fnInfo(IAVIFile *iface, AVIFILEINFOW *afi, LONG size)
static HRESULT WINAPI ITmpFile_fnEndRecord(IAVIFile *iface)
static HRESULT WINAPI ITmpFile_fnReadData(IAVIFile *iface, DWORD ckid, LPVOID lpData, LONG *size)
static ULONG WINAPI ITmpFile_fnAddRef(IAVIFile *iface)
static ULONG WINAPI ITmpFile_fnRelease(IAVIFile *iface)
static HRESULT WINAPI ITmpFile_fnQueryInterface(IAVIFile *iface, REFIID refiid, LPVOID *obj)
static HRESULT WINAPI ITmpFile_fnGetStream(IAVIFile *iface, PAVISTREAM *avis, DWORD fccType, LONG lParam)
Definition at line 207 of file tmpfile.c.
Referenced by AVIFILE_CreateAVITempFile().