亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? amvideo.h

?? directX8.1版本。的頭文件和庫 雖然現(xiàn)在directX9.0版本
?? H
?? 第 1 頁 / 共 2 頁
字號(hào):
    STDMETHOD(GetInputPinCount)(THIS_ int *piPinCount) PURE;
    STDMETHOD(IsUsingClock)(THIS_ int *pbValue) PURE;
    STDMETHOD(SetUsingClock)(THIS_ int bValue) PURE;
    STDMETHOD(GetClockPeriod)(THIS_ int *pbValue) PURE;
    STDMETHOD(SetClockPeriod)(THIS_ int bValue) PURE;
};

#define iPALETTE_COLORS 256     // Maximum colours in palette
#define iEGA_COLORS 16          // Number colours in EGA palette
#define iMASK_COLORS 3          // Maximum three components
#define iTRUECOLOR 16           // Minimum true colour device
#define iRED 0                  // Index position for RED mask
#define iGREEN 1                // Index position for GREEN mask
#define iBLUE 2                 // Index position for BLUE mask
#define iPALETTE 8              // Maximum colour depth using a palette
#define iMAXBITS 8              // Maximum bits per colour component


// Used for true colour images that also have a palette

typedef struct tag_TRUECOLORINFO {
    DWORD   dwBitMasks[iMASK_COLORS];
    RGBQUAD bmiColors[iPALETTE_COLORS];
} TRUECOLORINFO;


// The BITMAPINFOHEADER contains all the details about the video stream such
// as the actual image dimensions and their pixel depth. A source filter may
// also request that the sink take only a section of the video by providing a
// clipping rectangle in rcSource. In the worst case where the sink filter
// forgets to check this on connection it will simply render the whole thing
// which isn't a disaster. Ideally a sink filter will check the rcSource and
// if it doesn't support image extraction and the rectangle is not empty then
// it will reject the connection. A filter should use SetRectEmpty to reset a
// rectangle to all zeroes (and IsRectEmpty to later check the rectangle).
// The rcTarget specifies the destination rectangle for the video, for most
// source filters they will set this to all zeroes, a downstream filter may
// request that the video be placed in a particular area of the buffers it
// supplies in which case it will call QueryAccept with a non empty target

typedef struct tagVIDEOINFOHEADER {

    RECT            rcSource;          // The bit we really want to use
    RECT            rcTarget;          // Where the video should go
    DWORD           dwBitRate;         // Approximate bit data rate
    DWORD           dwBitErrorRate;    // Bit error rate for this stream
    REFERENCE_TIME  AvgTimePerFrame;   // Average time per frame (100ns units)

    BITMAPINFOHEADER bmiHeader;

} VIDEOINFOHEADER;

// make sure the pbmi is initialized before using these macros
#define TRUECOLOR(pbmi)  ((TRUECOLORINFO *)(((LPBYTE)&((pbmi)->bmiHeader)) \
					+ (pbmi)->bmiHeader.biSize))
#define COLORS(pbmi)	((RGBQUAD *)(((LPBYTE)&((pbmi)->bmiHeader)) 	\
					+ (pbmi)->bmiHeader.biSize))
#define BITMASKS(pbmi)	((DWORD *)(((LPBYTE)&((pbmi)->bmiHeader)) 	\
					+ (pbmi)->bmiHeader.biSize))

// All the image based filters use this to communicate their media types. It's
// centred principally around the BITMAPINFO. This structure always contains a
// BITMAPINFOHEADER followed by a number of other fields depending on what the
// BITMAPINFOHEADER contains. If it contains details of a palettised format it
// will be followed by one or more RGBQUADs defining the palette. If it holds
// details of a true colour format then it may be followed by a set of three
// DWORD bit masks that specify where the RGB data can be found in the image
// (For more information regarding BITMAPINFOs see the Win32 documentation)

// The rcSource and rcTarget fields are not for use by filters supplying the
// data. The destination (target) rectangle should be set to all zeroes. The
// source may also be zero filled or set with the dimensions of the video. So
// if the video is 352x288 pixels then set it to (0,0,352,288). These fields
// are mainly used by downstream filters that want to ask the source filter
// to place the image in a different position in an output buffer. So when
// using for example the primary surface the video renderer may ask a filter
// to place the video images in a destination position of (100,100,452,388)
// on the display since that's where the window is positioned on the display

// !!! WARNING !!!
// DO NOT use this structure unless you are sure that the BITMAPINFOHEADER
// has a normal biSize == sizeof(BITMAPINFOHEADER) !
// !!! WARNING !!!

typedef struct tagVIDEOINFO {

    RECT            rcSource;          // The bit we really want to use
    RECT            rcTarget;          // Where the video should go
    DWORD           dwBitRate;         // Approximate bit data rate
    DWORD           dwBitErrorRate;    // Bit error rate for this stream
    REFERENCE_TIME  AvgTimePerFrame;   // Average time per frame (100ns units)

    BITMAPINFOHEADER bmiHeader;

    union {
        RGBQUAD         bmiColors[iPALETTE_COLORS];     // Colour palette
        DWORD           dwBitMasks[iMASK_COLORS];       // True colour masks
        TRUECOLORINFO   TrueColorInfo;                  // Both of the above
    };

} VIDEOINFO;

// These macros define some standard bitmap format sizes

#define SIZE_EGA_PALETTE (iEGA_COLORS * sizeof(RGBQUAD))
#define SIZE_PALETTE (iPALETTE_COLORS * sizeof(RGBQUAD))
#define SIZE_MASKS (iMASK_COLORS * sizeof(DWORD))
#define SIZE_PREHEADER (FIELD_OFFSET(VIDEOINFOHEADER,bmiHeader))
#define SIZE_VIDEOHEADER (sizeof(BITMAPINFOHEADER) + SIZE_PREHEADER)
// !!! for abnormal biSizes
// #define SIZE_VIDEOHEADER(pbmi) ((pbmi)->bmiHeader.biSize + SIZE_PREHEADER)

// DIBSIZE calculates the number of bytes required by an image

#define WIDTHBYTES(bits) ((DWORD)(((bits)+31) & (~31)) / 8)
#define DIBWIDTHBYTES(bi) (DWORD)WIDTHBYTES((DWORD)(bi).biWidth * (DWORD)(bi).biBitCount)
#define _DIBSIZE(bi) (DIBWIDTHBYTES(bi) * (DWORD)(bi).biHeight)
#define DIBSIZE(bi) ((bi).biHeight < 0 ? (-1)*(_DIBSIZE(bi)) : _DIBSIZE(bi))

// This compares the bit masks between two VIDEOINFOHEADERs

#define BIT_MASKS_MATCH(pbmi1,pbmi2)                                \
    (((pbmi1)->dwBitMasks[iRED] == (pbmi2)->dwBitMasks[iRED]) &&        \
     ((pbmi1)->dwBitMasks[iGREEN] == (pbmi2)->dwBitMasks[iGREEN]) &&    \
     ((pbmi1)->dwBitMasks[iBLUE] == (pbmi2)->dwBitMasks[iBLUE]))

// These zero fill different parts of the VIDEOINFOHEADER structure

// Only use these macros for pbmi's with a normal BITMAPINFOHEADER biSize
#define RESET_MASKS(pbmi) (ZeroMemory((PVOID)(pbmi)->dwBitFields,SIZE_MASKS))
#define RESET_HEADER(pbmi) (ZeroMemory((PVOID)(pbmi),SIZE_VIDEOHEADER))
#define RESET_PALETTE(pbmi) (ZeroMemory((PVOID)(pbmi)->bmiColors,SIZE_PALETTE));

#if 0
// !!! This is the right way to do it, but may break existing code
#define RESET_MASKS(pbmi) (ZeroMemory((PVOID)(((LPBYTE)(pbmi)->bmiHeader) + \
			(pbmi)->bmiHeader.biSize,SIZE_MASKS)))
#define RESET_HEADER(pbmi) (ZeroMemory((PVOID)(pbmi), SIZE_PREHEADER +	    \
			sizeof(BITMAPINFOHEADER)))
#define RESET_PALETTE(pbmi) (ZeroMemory((PVOID)(((LPBYTE)(pbmi)->bmiHeader) + \
			(pbmi)->bmiHeader.biSize,SIZE_PALETTE))
#endif

// Other (hopefully) useful bits and bobs

#define PALETTISED(pbmi) ((pbmi)->bmiHeader.biBitCount <= iPALETTE)
#define PALETTE_ENTRIES(pbmi) ((DWORD) 1 << (pbmi)->bmiHeader.biBitCount)

// Returns the address of the BITMAPINFOHEADER from the VIDEOINFOHEADER
#define HEADER(pVideoInfo) (&(((VIDEOINFOHEADER *) (pVideoInfo))->bmiHeader))


// MPEG variant - includes a DWORD length followed by the
// video sequence header after the video header.
//
// The sequence header includes the sequence header start code and the
// quantization matrices associated with the first sequence header in the
// stream so is a maximum of 140 bytes long.

typedef struct tagMPEG1VIDEOINFO {

    VIDEOINFOHEADER hdr;                    // Compatible with VIDEOINFO
    DWORD           dwStartTimeCode;        // 25-bit Group of pictures time code
                                            // at start of data
    DWORD           cbSequenceHeader;       // Length in bytes of bSequenceHeader
    BYTE            bSequenceHeader[1];     // Sequence header including
                                            // quantization matrices if any
} MPEG1VIDEOINFO;

#define MAX_SIZE_MPEG1_SEQUENCE_INFO 140
#define SIZE_MPEG1VIDEOINFO(pv) (FIELD_OFFSET(MPEG1VIDEOINFO, bSequenceHeader[0]) + (pv)->cbSequenceHeader)
#define MPEG1_SEQUENCE_INFO(pv) ((const BYTE *)(pv)->bSequenceHeader)


// Analog video variant - Use this when the format is FORMAT_AnalogVideo
//
// rcSource defines the portion of the active video signal to use
// rcTarget defines the destination rectangle
//    both of the above are relative to the dwActiveWidth and dwActiveHeight fields
// dwActiveWidth is currently set to 720 for all formats (but could change for HDTV)
// dwActiveHeight is 483 for NTSC and 575 for PAL/SECAM  (but could change for HDTV)

typedef struct tagAnalogVideoInfo {
    RECT            rcSource;           // Width max is 720, height varies w/ TransmissionStd
    RECT            rcTarget;           // Where the video should go
    DWORD           dwActiveWidth;      // Always 720 (CCIR-601 active samples per line)
    DWORD           dwActiveHeight;     // 483 for NTSC, 575 for PAL/SECAM
    REFERENCE_TIME  AvgTimePerFrame;    // Normal ActiveMovie units (100 nS)
} ANALOGVIDEOINFO;

//
// AM_KSPROPSETID_FrameStep property set definitions
//
typedef enum {
        //  Step
	AM_PROPERTY_FRAMESTEP_STEP   = 0x01,
	AM_PROPERTY_FRAMESTEP_CANCEL = 0x02,

        //  S_OK for these 2 means we can - S_FALSE if we can't
        AM_PROPERTY_FRAMESTEP_CANSTEP = 0x03,
        AM_PROPERTY_FRAMESTEP_CANSTEPMULTIPLE = 0x04
} AM_PROPERTY_FRAMESTEP;

typedef struct _AM_FRAMESTEP_STEP
{
    //  1 means step 1 frame forward
    //  0 is invalid
    //  n (n > 1) means skip n - 1 frames and show the nth
    DWORD dwFramesToStep;
} AM_FRAMESTEP_STEP;

#ifdef __cplusplus
}
#endif // __cplusplus
#endif // __AMVIDEO__

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美日韩精品在线| 欧美日韩中字一区| 精品一区二区三区在线播放视频| 一区二区三区鲁丝不卡| 国产精品国产三级国产aⅴ原创 | 欧美日韩一区二区三区不卡| 99久久国产综合精品女不卡| 成人午夜在线视频| 成人av电影在线观看| av亚洲精华国产精华精华| av不卡免费电影| 91丨九色丨黑人外教| 色噜噜狠狠一区二区三区果冻| 色综合夜色一区| 日本韩国欧美在线| 欧美久久久一区| 日韩女优视频免费观看| 国产亚洲一区二区在线观看| 国产精品午夜电影| 亚洲综合一区二区| 三级欧美韩日大片在线看| 久久精品国产精品亚洲综合| 国产精品69毛片高清亚洲| www.视频一区| 欧美精品久久久久久久多人混战| 日韩欧美激情四射| 亚洲色欲色欲www在线观看| 亚洲高清免费观看高清完整版在线观看 | 欧美午夜精品一区二区三区| 在线综合+亚洲+欧美中文字幕| 精品国内二区三区| 亚洲欧美色一区| 免费观看在线色综合| 成人精品免费视频| 欧美日韩一二三| 久久久精品黄色| 亚洲成人一区二区| 国产精品一区二区你懂的| 91福利在线播放| 国产视频一区二区在线观看| 亚洲一区在线视频观看| 国产成人精品免费看| 欧美亚洲愉拍一区二区| 久久亚洲捆绑美女| 亚洲电影一区二区| zzijzzij亚洲日本少妇熟睡| 日韩一区二区免费高清| 椎名由奈av一区二区三区| 久久精品99国产国产精| 欧美视频在线一区二区三区| 久久久99精品久久| 日韩中文字幕av电影| av电影天堂一区二区在线| 精品捆绑美女sm三区| 亚洲一区在线观看视频| 成人成人成人在线视频| 日韩美女视频在线| 亚洲h动漫在线| 一本久久a久久精品亚洲| 久久久精品国产免大香伊 | 亚洲精品一区在线观看| 亚洲午夜电影在线观看| 99视频精品在线| 国产日韩欧美精品电影三级在线| 日韩电影免费一区| 在线播放视频一区| 亚洲超丰满肉感bbw| 91国在线观看| 一区二区三区欧美在线观看| 91免费观看视频| 国产精品理论片| 成人午夜av在线| 欧美韩日一区二区三区四区| 国产麻豆日韩欧美久久| 久久久高清一区二区三区| 免费成人在线观看视频| 制服丝袜日韩国产| 看片的网站亚洲| 精品久久久久久久久久久院品网| 日本中文字幕一区二区有限公司| 欧美丰满美乳xxx高潮www| 五月天视频一区| 日韩一区二区三区三四区视频在线观看 | 色一情一乱一乱一91av| 亚洲视频一二区| 91视视频在线观看入口直接观看www | 国产精品盗摄一区二区三区| 成人免费电影视频| 日韩一区日韩二区| 在线观看欧美精品| 香港成人在线视频| 欧美一区二区性放荡片| 久久国产生活片100| 日韩欧美电影在线| 国产不卡在线播放| 一区二区三区欧美久久| 91精品国产手机| 韩国一区二区视频| 国产精品国产三级国产普通话99| 91论坛在线播放| 三级久久三级久久久| 久久亚洲免费视频| 色婷婷久久99综合精品jk白丝| 亚洲韩国精品一区| 精品国产免费一区二区三区香蕉| 国产高清亚洲一区| 亚洲一区二区三区影院| 精品免费视频.| 色综合久久综合网欧美综合网| 婷婷久久综合九色综合伊人色| 精品国产精品一区二区夜夜嗨| 97se亚洲国产综合自在线| 亚洲国产精品麻豆| 国产色91在线| 欧美三级日韩三级| 国产成人aaa| 日韩电影在线观看电影| 亚洲少妇中出一区| 精品国产91久久久久久久妲己 | 亚洲欧洲日韩综合一区二区| 欧美手机在线视频| 成人黄页在线观看| 午夜精品福利在线| 国产精品三级视频| 欧美成人一区二区三区片免费 | 成人福利视频在线| 日韩不卡手机在线v区| 国产精品国产三级国产aⅴ入口| 欧美日韩国产在线播放网站| 国产91精品在线观看| 免费一区二区视频| 亚洲一区二区三区小说| 国产欧美日韩不卡免费| 欧美成人女星排名| 欧美欧美欧美欧美首页| 色综合久久天天| 不卡的电影网站| 国产露脸91国语对白| 久久超碰97中文字幕| 亚洲aⅴ怡春院| 一区二区在线观看视频 | 99久久精品国产导航| 国产精品主播直播| 久久99久久精品欧美| 午夜成人在线视频| 一区二区三区国产精品| 中文无字幕一区二区三区| 欧美精品一区视频| 日韩欧美精品在线视频| 日韩情涩欧美日韩视频| 在线91免费看| 欧美精品丝袜中出| 欧美色成人综合| 欧美日韩国产色站一区二区三区| 日本精品视频一区二区三区| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 亚洲视频每日更新| 日韩理论片中文av| 亚洲精品国产无天堂网2021| 亚洲免费观看高清完整版在线观看熊| 国产欧美日本一区视频| 最新久久zyz资源站| 中文字幕在线一区免费| 亚洲精品免费在线播放| 亚洲一区二区欧美日韩| 亚洲国产欧美在线人成| 三级精品在线观看| 国内精品免费**视频| 成人午夜免费av| 91行情网站电视在线观看高清版| 欧美综合一区二区三区| 欧美一区二区黄| www国产亚洲精品久久麻豆| 日本一区二区三区高清不卡| 亚洲精品乱码久久久久久日本蜜臀| 亚洲一区在线电影| 免费精品视频在线| 国产福利精品一区二区| 99re视频这里只有精品| 在线观看网站黄不卡| 日韩精品一区二区三区三区免费| 久久久噜噜噜久久中文字幕色伊伊| 成人欧美一区二区三区黑人麻豆 | 九九九久久久精品| 97久久久精品综合88久久| 在线免费精品视频| 精品国产一区二区三区忘忧草| 国产精品视频观看| 日韩一区精品字幕| 成人免费视频app| 91精品国产乱码| 最近中文字幕一区二区三区| 视频一区视频二区在线观看| 高清视频一区二区| 欧美高清激情brazzers| 中文字幕亚洲欧美在线不卡| 青青草国产精品97视觉盛宴 | 91久久一区二区| 久久久欧美精品sm网站| 午夜成人免费电影|