| 1 | /* | 
|---|
| 2 | * Implementation of IBasicVideo2 for FilterGraph. | 
|---|
| 3 | * | 
|---|
| 4 | * FIXME - stub. | 
|---|
| 5 | * | 
|---|
| 6 | * hidenori@a2.ctktv.ne.jp | 
|---|
| 7 | */ | 
|---|
| 8 |  | 
|---|
| 9 | #include "config.h" | 
|---|
| 10 |  | 
|---|
| 11 | #include "windef.h" | 
|---|
| 12 | #include "winbase.h" | 
|---|
| 13 | #include "wingdi.h" | 
|---|
| 14 | #include "winerror.h" | 
|---|
| 15 | #include "wine/obj_base.h" | 
|---|
| 16 | #include "wine/obj_oleaut.h" | 
|---|
| 17 | #include "strmif.h" | 
|---|
| 18 | #include "control.h" | 
|---|
| 19 | #include "uuids.h" | 
|---|
| 20 |  | 
|---|
| 21 | #include "debugtools.h" | 
|---|
| 22 | DEFAULT_DEBUG_CHANNEL(quartz); | 
|---|
| 23 |  | 
|---|
| 24 | #include "quartz_private.h" | 
|---|
| 25 | #include "fgraph.h" | 
|---|
| 26 |  | 
|---|
| 27 |  | 
|---|
| 28 | static HRESULT WINAPI | 
|---|
| 29 | IBasicVideo2_fnQueryInterface(IBasicVideo2* iface,REFIID riid,void** ppobj) | 
|---|
| 30 | { | 
|---|
| 31 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 32 |  | 
|---|
| 33 | TRACE("(%p)->()\n",This); | 
|---|
| 34 |  | 
|---|
| 35 | return IUnknown_QueryInterface(This->unk.punkControl,riid,ppobj); | 
|---|
| 36 | } | 
|---|
| 37 |  | 
|---|
| 38 | static ULONG WINAPI | 
|---|
| 39 | IBasicVideo2_fnAddRef(IBasicVideo2* iface) | 
|---|
| 40 | { | 
|---|
| 41 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 42 |  | 
|---|
| 43 | TRACE("(%p)->()\n",This); | 
|---|
| 44 |  | 
|---|
| 45 | return IUnknown_AddRef(This->unk.punkControl); | 
|---|
| 46 | } | 
|---|
| 47 |  | 
|---|
| 48 | static ULONG WINAPI | 
|---|
| 49 | IBasicVideo2_fnRelease(IBasicVideo2* iface) | 
|---|
| 50 | { | 
|---|
| 51 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 52 |  | 
|---|
| 53 | TRACE("(%p)->()\n",This); | 
|---|
| 54 |  | 
|---|
| 55 | return IUnknown_Release(This->unk.punkControl); | 
|---|
| 56 | } | 
|---|
| 57 |  | 
|---|
| 58 | static HRESULT WINAPI | 
|---|
| 59 | IBasicVideo2_fnGetTypeInfoCount(IBasicVideo2* iface,UINT* pcTypeInfo) | 
|---|
| 60 | { | 
|---|
| 61 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 62 |  | 
|---|
| 63 | FIXME("(%p)->()\n",This); | 
|---|
| 64 |  | 
|---|
| 65 | return E_NOTIMPL; | 
|---|
| 66 | } | 
|---|
| 67 |  | 
|---|
| 68 | static HRESULT WINAPI | 
|---|
| 69 | IBasicVideo2_fnGetTypeInfo(IBasicVideo2* iface,UINT iTypeInfo, LCID lcid, ITypeInfo** ppobj) | 
|---|
| 70 | { | 
|---|
| 71 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 72 |  | 
|---|
| 73 | FIXME("(%p)->()\n",This); | 
|---|
| 74 |  | 
|---|
| 75 | return E_NOTIMPL; | 
|---|
| 76 | } | 
|---|
| 77 |  | 
|---|
| 78 | static HRESULT WINAPI | 
|---|
| 79 | IBasicVideo2_fnGetIDsOfNames(IBasicVideo2* iface,REFIID riid, LPOLESTR* ppwszName, UINT cNames, LCID lcid, DISPID* pDispId) | 
|---|
| 80 | { | 
|---|
| 81 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 82 |  | 
|---|
| 83 | FIXME("(%p)->()\n",This); | 
|---|
| 84 |  | 
|---|
| 85 | return E_NOTIMPL; | 
|---|
| 86 | } | 
|---|
| 87 |  | 
|---|
| 88 | static HRESULT WINAPI | 
|---|
| 89 | IBasicVideo2_fnInvoke(IBasicVideo2* iface,DISPID DispId, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarRes, EXCEPINFO* pExcepInfo, UINT* puArgErr) | 
|---|
| 90 | { | 
|---|
| 91 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 92 |  | 
|---|
| 93 | FIXME("(%p)->()\n",This); | 
|---|
| 94 |  | 
|---|
| 95 | return E_NOTIMPL; | 
|---|
| 96 | } | 
|---|
| 97 |  | 
|---|
| 98 |  | 
|---|
| 99 | static HRESULT WINAPI | 
|---|
| 100 | IBasicVideo2_fnget_AvgTimePerFrame(IBasicVideo2* iface,REFTIME* prefTime) | 
|---|
| 101 | { | 
|---|
| 102 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 103 |  | 
|---|
| 104 | FIXME("(%p)->()\n",This); | 
|---|
| 105 |  | 
|---|
| 106 | return E_NOTIMPL; | 
|---|
| 107 | } | 
|---|
| 108 |  | 
|---|
| 109 | static HRESULT WINAPI | 
|---|
| 110 | IBasicVideo2_fnget_BitRate(IBasicVideo2* iface,long* plRate) | 
|---|
| 111 | { | 
|---|
| 112 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 113 |  | 
|---|
| 114 | FIXME("(%p)->()\n",This); | 
|---|
| 115 |  | 
|---|
| 116 | return E_NOTIMPL; | 
|---|
| 117 | } | 
|---|
| 118 |  | 
|---|
| 119 | static HRESULT WINAPI | 
|---|
| 120 | IBasicVideo2_fnget_BitErrorRate(IBasicVideo2* iface,long* plRate) | 
|---|
| 121 | { | 
|---|
| 122 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 123 |  | 
|---|
| 124 | FIXME("(%p)->()\n",This); | 
|---|
| 125 |  | 
|---|
| 126 | return E_NOTIMPL; | 
|---|
| 127 | } | 
|---|
| 128 |  | 
|---|
| 129 | static HRESULT WINAPI | 
|---|
| 130 | IBasicVideo2_fnget_VideoWidth(IBasicVideo2* iface,long* plWidth) | 
|---|
| 131 | { | 
|---|
| 132 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 133 |  | 
|---|
| 134 | FIXME("(%p)->()\n",This); | 
|---|
| 135 |  | 
|---|
| 136 | return E_NOTIMPL; | 
|---|
| 137 | } | 
|---|
| 138 |  | 
|---|
| 139 | static HRESULT WINAPI | 
|---|
| 140 | IBasicVideo2_fnget_VideoHeight(IBasicVideo2* iface,long* plHeight) | 
|---|
| 141 | { | 
|---|
| 142 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 143 |  | 
|---|
| 144 | FIXME("(%p)->()\n",This); | 
|---|
| 145 |  | 
|---|
| 146 | return E_NOTIMPL; | 
|---|
| 147 | } | 
|---|
| 148 |  | 
|---|
| 149 | static HRESULT WINAPI | 
|---|
| 150 | IBasicVideo2_fnput_SourceLeft(IBasicVideo2* iface,long lLeft) | 
|---|
| 151 | { | 
|---|
| 152 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 153 |  | 
|---|
| 154 | FIXME("(%p)->()\n",This); | 
|---|
| 155 |  | 
|---|
| 156 | return E_NOTIMPL; | 
|---|
| 157 | } | 
|---|
| 158 |  | 
|---|
| 159 | static HRESULT WINAPI | 
|---|
| 160 | IBasicVideo2_fnget_SourceLeft(IBasicVideo2* iface,long* plLeft) | 
|---|
| 161 | { | 
|---|
| 162 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 163 |  | 
|---|
| 164 | FIXME("(%p)->()\n",This); | 
|---|
| 165 |  | 
|---|
| 166 | return E_NOTIMPL; | 
|---|
| 167 | } | 
|---|
| 168 |  | 
|---|
| 169 | static HRESULT WINAPI | 
|---|
| 170 | IBasicVideo2_fnput_SourceWidth(IBasicVideo2* iface,long lWidth) | 
|---|
| 171 | { | 
|---|
| 172 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 173 |  | 
|---|
| 174 | FIXME("(%p)->()\n",This); | 
|---|
| 175 |  | 
|---|
| 176 | return E_NOTIMPL; | 
|---|
| 177 | } | 
|---|
| 178 |  | 
|---|
| 179 | static HRESULT WINAPI | 
|---|
| 180 | IBasicVideo2_fnget_SourceWidth(IBasicVideo2* iface,long* plWidth) | 
|---|
| 181 | { | 
|---|
| 182 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 183 |  | 
|---|
| 184 | FIXME("(%p)->()\n",This); | 
|---|
| 185 |  | 
|---|
| 186 | return E_NOTIMPL; | 
|---|
| 187 | } | 
|---|
| 188 |  | 
|---|
| 189 | static HRESULT WINAPI | 
|---|
| 190 | IBasicVideo2_fnput_SourceTop(IBasicVideo2* iface,long lTop) | 
|---|
| 191 | { | 
|---|
| 192 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 193 |  | 
|---|
| 194 | FIXME("(%p)->()\n",This); | 
|---|
| 195 |  | 
|---|
| 196 | return E_NOTIMPL; | 
|---|
| 197 | } | 
|---|
| 198 |  | 
|---|
| 199 | static HRESULT WINAPI | 
|---|
| 200 | IBasicVideo2_fnget_SourceTop(IBasicVideo2* iface,long* plTop) | 
|---|
| 201 | { | 
|---|
| 202 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 203 |  | 
|---|
| 204 | FIXME("(%p)->()\n",This); | 
|---|
| 205 |  | 
|---|
| 206 | return E_NOTIMPL; | 
|---|
| 207 | } | 
|---|
| 208 |  | 
|---|
| 209 | static HRESULT WINAPI | 
|---|
| 210 | IBasicVideo2_fnput_SourceHeight(IBasicVideo2* iface,long lHeight) | 
|---|
| 211 | { | 
|---|
| 212 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 213 |  | 
|---|
| 214 | FIXME("(%p)->()\n",This); | 
|---|
| 215 |  | 
|---|
| 216 | return E_NOTIMPL; | 
|---|
| 217 | } | 
|---|
| 218 |  | 
|---|
| 219 | static HRESULT WINAPI | 
|---|
| 220 | IBasicVideo2_fnget_SourceHeight(IBasicVideo2* iface,long* plHeight) | 
|---|
| 221 | { | 
|---|
| 222 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 223 |  | 
|---|
| 224 | FIXME("(%p)->()\n",This); | 
|---|
| 225 |  | 
|---|
| 226 | return E_NOTIMPL; | 
|---|
| 227 | } | 
|---|
| 228 |  | 
|---|
| 229 | static HRESULT WINAPI | 
|---|
| 230 | IBasicVideo2_fnput_DestinationLeft(IBasicVideo2* iface,long lLeft) | 
|---|
| 231 | { | 
|---|
| 232 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 233 |  | 
|---|
| 234 | FIXME("(%p)->()\n",This); | 
|---|
| 235 |  | 
|---|
| 236 | return E_NOTIMPL; | 
|---|
| 237 | } | 
|---|
| 238 |  | 
|---|
| 239 | static HRESULT WINAPI | 
|---|
| 240 | IBasicVideo2_fnget_DestinationLeft(IBasicVideo2* iface,long* plLeft) | 
|---|
| 241 | { | 
|---|
| 242 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 243 |  | 
|---|
| 244 | FIXME("(%p)->()\n",This); | 
|---|
| 245 |  | 
|---|
| 246 | return E_NOTIMPL; | 
|---|
| 247 | } | 
|---|
| 248 |  | 
|---|
| 249 | static HRESULT WINAPI | 
|---|
| 250 | IBasicVideo2_fnput_DestinationWidth(IBasicVideo2* iface,long lWidth) | 
|---|
| 251 | { | 
|---|
| 252 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 253 |  | 
|---|
| 254 | FIXME("(%p)->()\n",This); | 
|---|
| 255 |  | 
|---|
| 256 | return E_NOTIMPL; | 
|---|
| 257 | } | 
|---|
| 258 |  | 
|---|
| 259 | static HRESULT WINAPI | 
|---|
| 260 | IBasicVideo2_fnget_DestinationWidth(IBasicVideo2* iface,long* plWidth) | 
|---|
| 261 | { | 
|---|
| 262 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 263 |  | 
|---|
| 264 | FIXME("(%p)->()\n",This); | 
|---|
| 265 |  | 
|---|
| 266 | return E_NOTIMPL; | 
|---|
| 267 | } | 
|---|
| 268 |  | 
|---|
| 269 | static HRESULT WINAPI | 
|---|
| 270 | IBasicVideo2_fnput_DestinationTop(IBasicVideo2* iface,long lTop) | 
|---|
| 271 | { | 
|---|
| 272 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 273 |  | 
|---|
| 274 | FIXME("(%p)->()\n",This); | 
|---|
| 275 |  | 
|---|
| 276 | return E_NOTIMPL; | 
|---|
| 277 | } | 
|---|
| 278 |  | 
|---|
| 279 | static HRESULT WINAPI | 
|---|
| 280 | IBasicVideo2_fnget_DestinationTop(IBasicVideo2* iface,long* plTop) | 
|---|
| 281 | { | 
|---|
| 282 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 283 |  | 
|---|
| 284 | FIXME("(%p)->()\n",This); | 
|---|
| 285 |  | 
|---|
| 286 | return E_NOTIMPL; | 
|---|
| 287 | } | 
|---|
| 288 |  | 
|---|
| 289 | static HRESULT WINAPI | 
|---|
| 290 | IBasicVideo2_fnput_DestinationHeight(IBasicVideo2* iface,long lHeight) | 
|---|
| 291 | { | 
|---|
| 292 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 293 |  | 
|---|
| 294 | FIXME("(%p)->()\n",This); | 
|---|
| 295 |  | 
|---|
| 296 | return E_NOTIMPL; | 
|---|
| 297 | } | 
|---|
| 298 |  | 
|---|
| 299 | static HRESULT WINAPI | 
|---|
| 300 | IBasicVideo2_fnget_DestinationHeight(IBasicVideo2* iface,long* plHeight) | 
|---|
| 301 | { | 
|---|
| 302 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 303 |  | 
|---|
| 304 | FIXME("(%p)->()\n",This); | 
|---|
| 305 |  | 
|---|
| 306 | return E_NOTIMPL; | 
|---|
| 307 | } | 
|---|
| 308 |  | 
|---|
| 309 | static HRESULT WINAPI | 
|---|
| 310 | IBasicVideo2_fnSetSourcePosition(IBasicVideo2* iface,long lLeft,long lTop,long lWidth,long lHeight) | 
|---|
| 311 | { | 
|---|
| 312 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 313 |  | 
|---|
| 314 | FIXME("(%p)->()\n",This); | 
|---|
| 315 |  | 
|---|
| 316 | return E_NOTIMPL; | 
|---|
| 317 | } | 
|---|
| 318 |  | 
|---|
| 319 | static HRESULT WINAPI | 
|---|
| 320 | IBasicVideo2_fnGetSourcePosition(IBasicVideo2* iface,long* plLeft,long* plTop,long* plWidth,long* plHeight) | 
|---|
| 321 | { | 
|---|
| 322 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 323 |  | 
|---|
| 324 | FIXME("(%p)->()\n",This); | 
|---|
| 325 |  | 
|---|
| 326 | return E_NOTIMPL; | 
|---|
| 327 | } | 
|---|
| 328 |  | 
|---|
| 329 | static HRESULT WINAPI | 
|---|
| 330 | IBasicVideo2_fnSetDefaultSourcePosition(IBasicVideo2* iface) | 
|---|
| 331 | { | 
|---|
| 332 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 333 |  | 
|---|
| 334 | FIXME("(%p)->()\n",This); | 
|---|
| 335 |  | 
|---|
| 336 | return E_NOTIMPL; | 
|---|
| 337 | } | 
|---|
| 338 |  | 
|---|
| 339 | static HRESULT WINAPI | 
|---|
| 340 | IBasicVideo2_fnSetDestinationPosition(IBasicVideo2* iface,long lLeft,long lTop,long lWidth,long lHeight) | 
|---|
| 341 | { | 
|---|
| 342 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 343 |  | 
|---|
| 344 | FIXME("(%p)->()\n",This); | 
|---|
| 345 |  | 
|---|
| 346 | return E_NOTIMPL; | 
|---|
| 347 | } | 
|---|
| 348 |  | 
|---|
| 349 | static HRESULT WINAPI | 
|---|
| 350 | IBasicVideo2_fnGetDestinationPosition(IBasicVideo2* iface,long* plLeft,long* plTop,long* plWidth,long* plHeight) | 
|---|
| 351 | { | 
|---|
| 352 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 353 |  | 
|---|
| 354 | FIXME("(%p)->()\n",This); | 
|---|
| 355 |  | 
|---|
| 356 | return E_NOTIMPL; | 
|---|
| 357 | } | 
|---|
| 358 |  | 
|---|
| 359 | static HRESULT WINAPI | 
|---|
| 360 | IBasicVideo2_fnSetDefaultDestinationPosition(IBasicVideo2* iface) | 
|---|
| 361 | { | 
|---|
| 362 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 363 |  | 
|---|
| 364 | FIXME("(%p)->()\n",This); | 
|---|
| 365 |  | 
|---|
| 366 | return E_NOTIMPL; | 
|---|
| 367 | } | 
|---|
| 368 |  | 
|---|
| 369 | static HRESULT WINAPI | 
|---|
| 370 | IBasicVideo2_fnGetVideoSize(IBasicVideo2* iface,long* plWidth,long* plHeight) | 
|---|
| 371 | { | 
|---|
| 372 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 373 |  | 
|---|
| 374 | FIXME("(%p)->()\n",This); | 
|---|
| 375 |  | 
|---|
| 376 | return E_NOTIMPL; | 
|---|
| 377 | } | 
|---|
| 378 |  | 
|---|
| 379 | static HRESULT WINAPI | 
|---|
| 380 | IBasicVideo2_fnGetVideoPaletteEntries(IBasicVideo2* iface,long lStart,long lCount,long* plRet,long* plPaletteEntry) | 
|---|
| 381 | { | 
|---|
| 382 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 383 |  | 
|---|
| 384 | FIXME("(%p)->()\n",This); | 
|---|
| 385 |  | 
|---|
| 386 | return E_NOTIMPL; | 
|---|
| 387 | } | 
|---|
| 388 |  | 
|---|
| 389 | static HRESULT WINAPI | 
|---|
| 390 | IBasicVideo2_fnGetCurrentImage(IBasicVideo2* iface,long* plBufferSize,long* plDIBBuffer) | 
|---|
| 391 | { | 
|---|
| 392 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 393 |  | 
|---|
| 394 | FIXME("(%p)->()\n",This); | 
|---|
| 395 |  | 
|---|
| 396 | return E_NOTIMPL; | 
|---|
| 397 | } | 
|---|
| 398 |  | 
|---|
| 399 | static HRESULT WINAPI | 
|---|
| 400 | IBasicVideo2_fnIsUsingDefaultSource(IBasicVideo2* iface) | 
|---|
| 401 | { | 
|---|
| 402 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 403 |  | 
|---|
| 404 | FIXME("(%p)->()\n",This); | 
|---|
| 405 |  | 
|---|
| 406 | return E_NOTIMPL; | 
|---|
| 407 | } | 
|---|
| 408 |  | 
|---|
| 409 | static HRESULT WINAPI | 
|---|
| 410 | IBasicVideo2_fnIsUsingDefaultDestination(IBasicVideo2* iface) | 
|---|
| 411 | { | 
|---|
| 412 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 413 |  | 
|---|
| 414 | FIXME("(%p)->()\n",This); | 
|---|
| 415 |  | 
|---|
| 416 | return E_NOTIMPL; | 
|---|
| 417 | } | 
|---|
| 418 |  | 
|---|
| 419 | static HRESULT WINAPI | 
|---|
| 420 | IBasicVideo2_fnGetPreferredAspectRatio(IBasicVideo2* iface,long* plRateX,long* plRateY) | 
|---|
| 421 | { | 
|---|
| 422 | CFilterGraph_THIS(iface,basvid); | 
|---|
| 423 |  | 
|---|
| 424 | FIXME("(%p)->()\n",This); | 
|---|
| 425 |  | 
|---|
| 426 | return E_NOTIMPL; | 
|---|
| 427 | } | 
|---|
| 428 |  | 
|---|
| 429 |  | 
|---|
| 430 |  | 
|---|
| 431 |  | 
|---|
| 432 | static ICOM_VTABLE(IBasicVideo2) ibasicvideo = | 
|---|
| 433 | { | 
|---|
| 434 | ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE | 
|---|
| 435 | /* IUnknown fields */ | 
|---|
| 436 | IBasicVideo2_fnQueryInterface, | 
|---|
| 437 | IBasicVideo2_fnAddRef, | 
|---|
| 438 | IBasicVideo2_fnRelease, | 
|---|
| 439 | /* IDispatch fields */ | 
|---|
| 440 | IBasicVideo2_fnGetTypeInfoCount, | 
|---|
| 441 | IBasicVideo2_fnGetTypeInfo, | 
|---|
| 442 | IBasicVideo2_fnGetIDsOfNames, | 
|---|
| 443 | IBasicVideo2_fnInvoke, | 
|---|
| 444 | /* IBasicVideo fields */ | 
|---|
| 445 | IBasicVideo2_fnget_AvgTimePerFrame, | 
|---|
| 446 | IBasicVideo2_fnget_BitRate, | 
|---|
| 447 | IBasicVideo2_fnget_BitErrorRate, | 
|---|
| 448 | IBasicVideo2_fnget_VideoWidth, | 
|---|
| 449 | IBasicVideo2_fnget_VideoHeight, | 
|---|
| 450 | IBasicVideo2_fnput_SourceLeft, | 
|---|
| 451 | IBasicVideo2_fnget_SourceLeft, | 
|---|
| 452 | IBasicVideo2_fnput_SourceWidth, | 
|---|
| 453 | IBasicVideo2_fnget_SourceWidth, | 
|---|
| 454 | IBasicVideo2_fnput_SourceTop, | 
|---|
| 455 | IBasicVideo2_fnget_SourceTop, | 
|---|
| 456 | IBasicVideo2_fnput_SourceHeight, | 
|---|
| 457 | IBasicVideo2_fnget_SourceHeight, | 
|---|
| 458 | IBasicVideo2_fnput_DestinationLeft, | 
|---|
| 459 | IBasicVideo2_fnget_DestinationLeft, | 
|---|
| 460 | IBasicVideo2_fnput_DestinationWidth, | 
|---|
| 461 | IBasicVideo2_fnget_DestinationWidth, | 
|---|
| 462 | IBasicVideo2_fnput_DestinationTop, | 
|---|
| 463 | IBasicVideo2_fnget_DestinationTop, | 
|---|
| 464 | IBasicVideo2_fnput_DestinationHeight, | 
|---|
| 465 | IBasicVideo2_fnget_DestinationHeight, | 
|---|
| 466 | IBasicVideo2_fnSetSourcePosition, | 
|---|
| 467 | IBasicVideo2_fnGetSourcePosition, | 
|---|
| 468 | IBasicVideo2_fnSetDefaultSourcePosition, | 
|---|
| 469 | IBasicVideo2_fnSetDestinationPosition, | 
|---|
| 470 | IBasicVideo2_fnGetDestinationPosition, | 
|---|
| 471 | IBasicVideo2_fnSetDefaultDestinationPosition, | 
|---|
| 472 | IBasicVideo2_fnGetVideoSize, | 
|---|
| 473 | IBasicVideo2_fnGetVideoPaletteEntries, | 
|---|
| 474 | IBasicVideo2_fnGetCurrentImage, | 
|---|
| 475 | IBasicVideo2_fnIsUsingDefaultSource, | 
|---|
| 476 | IBasicVideo2_fnIsUsingDefaultDestination, | 
|---|
| 477 | /* IBasicVideo2 fields */ | 
|---|
| 478 | IBasicVideo2_fnGetPreferredAspectRatio, | 
|---|
| 479 | }; | 
|---|
| 480 |  | 
|---|
| 481 |  | 
|---|
| 482 | void CFilterGraph_InitIBasicVideo2( CFilterGraph* pfg ) | 
|---|
| 483 | { | 
|---|
| 484 | TRACE("(%p)\n",pfg); | 
|---|
| 485 | ICOM_VTBL(&pfg->basvid) = &ibasicvideo; | 
|---|
| 486 | } | 
|---|
| 487 |  | 
|---|