Lines Matching defs:hic

197 	HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiOutput,LPVOID lpData,
203 #define ICCompressGetFormat(hic, lpbiInput, lpbiOutput) \
205 hic,ICM_COMPRESS_GET_FORMAT,(DWORD_PTR)(LPVOID)(lpbiInput), \
209 #define ICCompressGetFormatSize(hic,lpbi) ICCompressGetFormat(hic,lpbi,NULL)
211 #define ICCompressBegin(hic, lpbiInput, lpbiOutput) \
213 hic, ICM_COMPRESS_BEGIN, (DWORD_PTR)(LPVOID)(lpbiInput), \
217 #define ICCompressGetSize(hic, lpbiInput, lpbiOutput) \
219 hic, ICM_COMPRESS_GET_SIZE, (DWORD_PTR)(LPVOID)(lpbiInput), \
223 #define ICCompressQuery(hic, lpbiInput, lpbiOutput) \
225 hic, ICM_COMPRESS_QUERY, (DWORD_PTR)(LPVOID)(lpbiInput), \
229 #define ICCompressEnd(hic) ICSendMessage(hic, ICM_COMPRESS_END, 0, 0)
312 #define ICQueryAbout(hic) \
313 (ICSendMessage(hic,ICM_ABOUT,(DWORD_PTR)-1,ICMF_ABOUT_QUERY)==ICERR_OK)
315 #define ICAbout(hic, hwnd) ICSendMessage(hic,ICM_ABOUT,(DWORD_PTR)(UINT_PTR)(hwnd),0)
319 #define ICQueryConfigure(hic) \
320 (ICSendMessage(hic,ICM_CONFIGURE,(DWORD_PTR)-1,ICMF_CONFIGURE_QUERY)==ICERR_OK)
322 #define ICConfigure(hic,hwnd) \
323 ICSendMessage(hic,ICM_CONFIGURE,(DWORD_PTR)(UINT_PTR)(hwnd),0)
360 DWORD VFWAPIV ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,LPVOID lpData,LPBITMAPINFOHEADER lpbi,LPVOID lpBits);
362 #define ICDecompressBegin(hic, lpbiInput, lpbiOutput) \
364 hic, ICM_DECOMPRESS_BEGIN, (DWORD_PTR)(LPVOID)(lpbiInput), \
368 #define ICDecompressQuery(hic, lpbiInput, lpbiOutput) \
370 hic,ICM_DECOMPRESS_QUERY, (DWORD_PTR)(LPVOID)(lpbiInput), \
374 #define ICDecompressGetFormat(hic, lpbiInput, lpbiOutput) \
376 hic,ICM_DECOMPRESS_GET_FORMAT, (DWORD_PTR)(LPVOID)(lpbiInput), \
380 #define ICDecompressGetFormatSize(hic, lpbi) \
381 ICDecompressGetFormat(hic, lpbi, NULL)
383 #define ICDecompressGetPalette(hic, lpbiInput, lpbiOutput) \
385 hic, ICM_DECOMPRESS_GET_PALETTE, (DWORD_PTR)(LPVOID)(lpbiInput), \
389 #define ICDecompressSetPalette(hic,lpbiPalette) \
391 hic,ICM_DECOMPRESS_SET_PALETTE, \
395 #define ICDecompressEnd(hic) ICSendMessage(hic, ICM_DECOMPRESS_END, 0, 0)
397 LRESULT VFWAPI ICSendMessage(HIC hic, UINT msg, DWORD_PTR dw1, DWORD_PTR dw2);
399 static inline LRESULT VFWAPI ICDecompressEx(HIC hic, DWORD dwFlags,
420 return ICSendMessage(hic, ICM_DECOMPRESSEX, (DWORD_PTR)&ic, sizeof(ic));
423 static inline LRESULT VFWAPI ICDecompressExBegin(HIC hic, DWORD dwFlags,
449 return ICSendMessage(hic, ICM_DECOMPRESSEX_BEGIN, (DWORD_PTR)&ic, sizeof(ic));
451 static inline LRESULT VFWAPI ICDecompressExQuery(HIC hic, DWORD dwFlags,
477 return ICSendMessage(hic, ICM_DECOMPRESSEX_QUERY, (DWORD_PTR)&ic, sizeof(ic));
480 #define ICDecompressExEnd(hic) \
481 ICSendMessage(hic, ICM_DECOMPRESSEX_END, 0, 0)
499 HANDLE VFWAPI ICImageCompress(HIC hic, UINT uiFlags, LPBITMAPINFO lpbiIn,
503 HANDLE VFWAPI ICImageDecompress(HIC hic, UINT uiFlags, LPBITMAPINFO lpbiIn,
509 LRESULT VFWAPI ICGetInfo(HIC hic,ICINFO *picinfo, DWORD cb);
517 LRESULT VFWAPI ICClose(HIC hic);
519 HIC VFWAPI ICGetDisplayFormat(HIC hic, LPBITMAPINFOHEADER lpbiIn, LPBITMAPINFOHEADER lpbiOut, int BitDepth, int dx, int dy);
528 #define ICGetState(hic, pv, cb) \
529 ICSendMessage(hic, ICM_GETSTATE, (DWORD_PTR)(LPVOID)(pv), (DWORD_PTR)(cb))
530 #define ICSetState(hic, pv, cb) \
531 ICSendMessage(hic, ICM_SETSTATE, (DWORD_PTR)(LPVOID)(pv), (DWORD_PTR)(cb))
532 #define ICGetStateSize(hic) \
533 ICGetState(hic, NULL, 0)
535 static inline DWORD ICGetDefaultQuality(HIC hic)
538 ICSendMessage(hic, ICM_GETDEFAULTQUALITY, (DWORD_PTR)(LPVOID)&dwICValue, sizeof(DWORD));
542 static inline DWORD ICGetDefaultKeyFrameRate(HIC hic)
545 ICSendMessage(hic, ICM_GETDEFAULTKEYFRAMERATE, (DWORD_PTR)(LPVOID)&dwICValue, sizeof(DWORD));
549 #define ICDrawWindow(hic, prc) \
550 ICSendMessage(hic, ICM_DRAW_WINDOW, (DWORD_PTR)(LPVOID)(prc), sizeof(RECT))
572 HIC hic,
623 DWORD VFWAPIV ICDraw(HIC hic,DWORD dwFlags,LPVOID lpFormat,LPVOID lpData,DWORD cbData,LONG lTime);
625 static inline LRESULT VFWAPI ICDrawSuggestFormat(HIC hic, LPBITMAPINFOHEADER lpbiIn,
640 return ICSendMessage(hic, ICM_DRAW_SUGGESTFORMAT, (DWORD_PTR)&ic, sizeof(ic));
643 #define ICDrawQuery(hic, lpbiInput) \
644 ICSendMessage(hic, ICM_DRAW_QUERY, (DWORD_PTR)(LPVOID)(lpbiInput), 0L)
646 #define ICDrawChangePalette(hic, lpbiInput) \
647 ICSendMessage(hic, ICM_DRAW_CHANGEPALETTE, (DWORD_PTR)(LPVOID)(lpbiInput), 0L)
649 #define ICGetBuffersWanted(hic, lpdwBuffers) \
650 ICSendMessage(hic, ICM_GETBUFFERSWANTED, (DWORD_PTR)(LPVOID)(lpdwBuffers), 0)
652 #define ICDrawEnd(hic) \
653 ICSendMessage(hic, ICM_DRAW_END, 0, 0)
655 #define ICDrawStart(hic) \
656 ICSendMessage(hic, ICM_DRAW_START, 0, 0)
658 #define ICDrawStartPlay(hic, lFrom, lTo) \
659 ICSendMessage(hic, ICM_DRAW_START_PLAY, (DWORD_PTR)(lFrom), (DWORD_PTR)(lTo))
661 #define ICDrawStop(hic) \
662 ICSendMessage(hic, ICM_DRAW_STOP, 0, 0)
664 #define ICDrawStopPlay(hic) \
665 ICSendMessage(hic, ICM_DRAW_STOP_PLAY, 0, 0)
667 #define ICDrawGetTime(hic, lplTime) \
668 ICSendMessage(hic, ICM_DRAW_GETTIME, (DWORD_PTR)(LPVOID)(lplTime), 0)
670 #define ICDrawSetTime(hic, lTime) \
671 ICSendMessage(hic, ICM_DRAW_SETTIME, (DWORD_PTR)lTime, 0)
673 #define ICDrawRealize(hic, hdc, fBackground) \
674 ICSendMessage(hic, ICM_DRAW_REALIZE, (DWORD_PTR)(UINT_PTR)(HDC)(hdc), (DWORD_PTR)(BOOL)(fBackground))
676 #define ICDrawFlush(hic) \
677 ICSendMessage(hic, ICM_DRAW_FLUSH, 0, 0)
679 #define ICDrawRenderBuffer(hic) \
680 ICSendMessage(hic, ICM_DRAW_RENDERBUFFER, 0, 0)
682 static inline LRESULT VFWAPI ICSetStatusProc(HIC hic, DWORD dwFlags, LRESULT lParam,
692 return ICSendMessage(hic, ICM_SET_STATUS_PROC, (DWORD_PTR)&ic, sizeof(ic));
698 HIC hic;