| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759 |
- /*-------------------------------------------------------------------------------------
- *
- * Copyright (c) Microsoft Corporation
- *
- *-------------------------------------------------------------------------------------*/
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 8.01.0622 */
- /* @@MIDL_FILE_HEADING( ) */
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- /* verify that the <rpcsal.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCSAL_H_VERSION__
- #define __REQUIRED_RPCSAL_H_VERSION__ 100
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif /* __RPCNDR_H_VERSION__ */
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __d3d11_4_h__
- #define __d3d11_4_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __ID3D11Device4_FWD_DEFINED__
- #define __ID3D11Device4_FWD_DEFINED__
- typedef interface ID3D11Device4 ID3D11Device4;
- #endif /* __ID3D11Device4_FWD_DEFINED__ */
- #ifndef __ID3D11Device5_FWD_DEFINED__
- #define __ID3D11Device5_FWD_DEFINED__
- typedef interface ID3D11Device5 ID3D11Device5;
- #endif /* __ID3D11Device5_FWD_DEFINED__ */
- #ifndef __ID3D11Multithread_FWD_DEFINED__
- #define __ID3D11Multithread_FWD_DEFINED__
- typedef interface ID3D11Multithread ID3D11Multithread;
- #endif /* __ID3D11Multithread_FWD_DEFINED__ */
- #ifndef __ID3D11VideoContext2_FWD_DEFINED__
- #define __ID3D11VideoContext2_FWD_DEFINED__
- typedef interface ID3D11VideoContext2 ID3D11VideoContext2;
- #endif /* __ID3D11VideoContext2_FWD_DEFINED__ */
- #ifndef __ID3D11VideoDevice2_FWD_DEFINED__
- #define __ID3D11VideoDevice2_FWD_DEFINED__
- typedef interface ID3D11VideoDevice2 ID3D11VideoDevice2;
- #endif /* __ID3D11VideoDevice2_FWD_DEFINED__ */
- #ifndef __ID3D11VideoContext3_FWD_DEFINED__
- #define __ID3D11VideoContext3_FWD_DEFINED__
- typedef interface ID3D11VideoContext3 ID3D11VideoContext3;
- #endif /* __ID3D11VideoContext3_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
- #include "dxgi1_5.h"
- #include "d3dcommon.h"
- #include "d3d11_3.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- /* interface __MIDL_itf_d3d11_4_0000_0000 */
- /* [local] */
- #ifdef __cplusplus
- }
- #endif
- #include "d3d11_3.h" //
- #ifdef __cplusplus
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0000_v0_0_s_ifspec;
- #ifndef __ID3D11Device4_INTERFACE_DEFINED__
- #define __ID3D11Device4_INTERFACE_DEFINED__
- /* interface ID3D11Device4 */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Device4;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8992ab71-02e6-4b8d-ba48-b056dcda42c4")
- ID3D11Device4 : public ID3D11Device3
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE RegisterDeviceRemovedEvent(
- /* [annotation] */
- _In_ HANDLE hEvent,
- /* [annotation] */
- _Out_ DWORD *pdwCookie) = 0;
-
- virtual void STDMETHODCALLTYPE UnregisterDeviceRemoved(
- /* [annotation] */
- _In_ DWORD dwCookie) = 0;
-
- };
-
-
- #else /* C style interface */
- typedef struct ID3D11Device4Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Device4 * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- _COM_Outptr_ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Device4 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Device4 * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_BUFFER_DESC *pDesc,
- /* [annotation] */
- _In_opt_ const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Buffer **ppBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE1D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture1D **ppTexture1D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE2D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture2D **ppTexture2D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE3D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture3D **ppTexture3D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ShaderResourceView **ppSRView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11UnorderedAccessView **ppUAView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RenderTargetView **ppRTView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DepthStencilView **ppDepthStencilView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
- /* [annotation] */
- _In_range_( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSignature,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11InputLayout **ppInputLayout);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11VertexShader **ppVertexShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_reads_opt_(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
- /* [annotation] */
- _In_range_( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COUNT ) UINT NumEntries,
- /* [annotation] */
- _In_reads_opt_(NumStrides) const UINT *pBufferStrides,
- /* [annotation] */
- _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
- /* [annotation] */
- _In_ UINT RasterizedStream,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11PixelShader **ppPixelShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateHullShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11HullShader **ppHullShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDomainShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DomainShader **ppDomainShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateComputeShader )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ComputeShader **ppComputeShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateClassLinkage )(
- ID3D11Device4 * This,
- /* [annotation] */
- _COM_Outptr_ ID3D11ClassLinkage **ppLinkage);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_BLEND_DESC *pBlendStateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11BlendState **ppBlendState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DepthStencilState **ppDepthStencilState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_SAMPLER_DESC *pSamplerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11SamplerState **ppSamplerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC *pQueryDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Query **ppQuery);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC *pPredicateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Predicate **ppPredicate);
-
- HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_COUNTER_DESC *pCounterDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Counter **ppCounter);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext )(
- ID3D11Device4 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext **ppDeferredContext);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ HANDLE hResource,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppResource);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _Out_ UINT *pFormatSupport);
-
- HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _In_ UINT SampleCount,
- /* [annotation] */
- _Out_ UINT *pNumQualityLevels);
-
- void ( STDMETHODCALLTYPE *CheckCounterInfo )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Out_ D3D11_COUNTER_INFO *pCounterInfo);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_COUNTER_DESC *pDesc,
- /* [annotation] */
- _Out_ D3D11_COUNTER_TYPE *pType,
- /* [annotation] */
- _Out_ UINT *pActiveCounters,
- /* [annotation] */
- _Out_writes_opt_(*pNameLength) LPSTR szName,
- /* [annotation] */
- _Inout_opt_ UINT *pNameLength,
- /* [annotation] */
- _Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
- /* [annotation] */
- _Inout_opt_ UINT *pUnitsLength,
- /* [annotation] */
- _Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
- /* [annotation] */
- _Inout_opt_ UINT *pDescriptionLength);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
- ID3D11Device4 * This,
- D3D11_FEATURE Feature,
- /* [annotation] */
- _Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportData,
- UINT FeatureSupportDataSize);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _Inout_ UINT *pDataSize,
- /* [annotation] */
- _Out_writes_bytes_opt_(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_reads_bytes_opt_(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_opt_ const IUnknown *pData);
-
- D3D_FEATURE_LEVEL ( STDMETHODCALLTYPE *GetFeatureLevel )(
- ID3D11Device4 * This);
-
- UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
- ID3D11Device4 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
- ID3D11Device4 * This);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
- ID3D11Device4 * This,
- UINT RaiseFlags);
-
- UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
- ID3D11Device4 * This);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext1 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext1 )(
- ID3D11Device4 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext1 **ppDeferredContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBlendState1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_BLEND_DESC1 *pBlendStateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11BlendState1 **ppBlendState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState1 **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeviceContextState )(
- ID3D11Device4 * This,
- UINT Flags,
- /* [annotation] */
- _In_reads_( FeatureLevels ) const D3D_FEATURE_LEVEL *pFeatureLevels,
- UINT FeatureLevels,
- UINT SDKVersion,
- REFIID EmulatedInterface,
- /* [annotation] */
- _Out_opt_ D3D_FEATURE_LEVEL *pChosenFeatureLevel,
- /* [annotation] */
- _Out_opt_ ID3DDeviceContextState **ppContextState);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResource1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ HANDLE hResource,
- /* [annotation] */
- _In_ REFIID returnedInterface,
- /* [annotation] */
- _COM_Outptr_ void **ppResource);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResourceByName )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ LPCWSTR lpName,
- /* [annotation] */
- _In_ DWORD dwDesiredAccess,
- /* [annotation] */
- _In_ REFIID returnedInterface,
- /* [annotation] */
- _COM_Outptr_ void **ppResource);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext2 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext2 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext2 )(
- ID3D11Device4 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext2 **ppDeferredContext);
-
- void ( STDMETHODCALLTYPE *GetResourceTiling )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pTiledResource,
- /* [annotation] */
- _Out_opt_ UINT *pNumTilesForEntireResource,
- /* [annotation] */
- _Out_opt_ D3D11_PACKED_MIP_DESC *pPackedMipDesc,
- /* [annotation] */
- _Out_opt_ D3D11_TILE_SHAPE *pStandardTileShapeForNonPackedMips,
- /* [annotation] */
- _Inout_opt_ UINT *pNumSubresourceTilings,
- /* [annotation] */
- _In_ UINT FirstSubresourceTilingToGet,
- /* [annotation] */
- _Out_writes_(*pNumSubresourceTilings) D3D11_SUBRESOURCE_TILING *pSubresourceTilingsForNonPackedMips);
-
- HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _In_ UINT SampleCount,
- /* [annotation] */
- _In_ UINT Flags,
- /* [annotation] */
- _Out_ UINT *pNumQualityLevels);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture2D1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE2D_DESC1 *pDesc1,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels * pDesc1->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture2D1 **ppTexture2D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture3D1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE3D_DESC1 *pDesc1,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture3D1 **ppTexture3D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState2 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC2 *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState2 **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ShaderResourceView1 **ppSRView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11UnorderedAccessView1 **ppUAView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RenderTargetView1 **ppRTView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateQuery1 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC1 *pQueryDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Query1 **ppQuery1);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext3 )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext3 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext3 )(
- ID3D11Device4 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext3 **ppDeferredContext);
-
- void ( STDMETHODCALLTYPE *WriteToSubresource )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pDstResource,
- /* [annotation] */
- _In_ UINT DstSubresource,
- /* [annotation] */
- _In_opt_ const D3D11_BOX *pDstBox,
- /* [annotation] */
- _In_ const void *pSrcData,
- /* [annotation] */
- _In_ UINT SrcRowPitch,
- /* [annotation] */
- _In_ UINT SrcDepthPitch);
-
- void ( STDMETHODCALLTYPE *ReadFromSubresource )(
- ID3D11Device4 * This,
- /* [annotation] */
- _Out_ void *pDstData,
- /* [annotation] */
- _In_ UINT DstRowPitch,
- /* [annotation] */
- _In_ UINT DstDepthPitch,
- /* [annotation] */
- _In_ ID3D11Resource *pSrcResource,
- /* [annotation] */
- _In_ UINT SrcSubresource,
- /* [annotation] */
- _In_opt_ const D3D11_BOX *pSrcBox);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterDeviceRemovedEvent )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ HANDLE hEvent,
- /* [annotation] */
- _Out_ DWORD *pdwCookie);
-
- void ( STDMETHODCALLTYPE *UnregisterDeviceRemoved )(
- ID3D11Device4 * This,
- /* [annotation] */
- _In_ DWORD dwCookie);
-
- END_INTERFACE
- } ID3D11Device4Vtbl;
- interface ID3D11Device4
- {
- CONST_VTBL struct ID3D11Device4Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Device4_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Device4_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Device4_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Device4_CreateBuffer(This,pDesc,pInitialData,ppBuffer) \
- ( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) )
- #define ID3D11Device4_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) \
- ( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) )
- #define ID3D11Device4_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) \
- ( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) )
- #define ID3D11Device4_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) \
- ( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) )
- #define ID3D11Device4_CreateShaderResourceView(This,pResource,pDesc,ppSRView) \
- ( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) )
- #define ID3D11Device4_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) \
- ( (This)->lpVtbl -> CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) )
- #define ID3D11Device4_CreateRenderTargetView(This,pResource,pDesc,ppRTView) \
- ( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) )
- #define ID3D11Device4_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) \
- ( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) )
- #define ID3D11Device4_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) \
- ( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) )
- #define ID3D11Device4_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) \
- ( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) )
- #define ID3D11Device4_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) \
- ( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) )
- #define ID3D11Device4_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) \
- ( (This)->lpVtbl -> CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) )
- #define ID3D11Device4_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) \
- ( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) )
- #define ID3D11Device4_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) \
- ( (This)->lpVtbl -> CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) )
- #define ID3D11Device4_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) \
- ( (This)->lpVtbl -> CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) )
- #define ID3D11Device4_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) \
- ( (This)->lpVtbl -> CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) )
- #define ID3D11Device4_CreateClassLinkage(This,ppLinkage) \
- ( (This)->lpVtbl -> CreateClassLinkage(This,ppLinkage) )
- #define ID3D11Device4_CreateBlendState(This,pBlendStateDesc,ppBlendState) \
- ( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) )
- #define ID3D11Device4_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) \
- ( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) )
- #define ID3D11Device4_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device4_CreateSamplerState(This,pSamplerDesc,ppSamplerState) \
- ( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) )
- #define ID3D11Device4_CreateQuery(This,pQueryDesc,ppQuery) \
- ( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) )
- #define ID3D11Device4_CreatePredicate(This,pPredicateDesc,ppPredicate) \
- ( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) )
- #define ID3D11Device4_CreateCounter(This,pCounterDesc,ppCounter) \
- ( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) )
- #define ID3D11Device4_CreateDeferredContext(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device4_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) )
- #define ID3D11Device4_CheckFormatSupport(This,Format,pFormatSupport) \
- ( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) )
- #define ID3D11Device4_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) \
- ( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) )
- #define ID3D11Device4_CheckCounterInfo(This,pCounterInfo) \
- ( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) )
- #define ID3D11Device4_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) \
- ( (This)->lpVtbl -> CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) )
- #define ID3D11Device4_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) \
- ( (This)->lpVtbl -> CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) )
- #define ID3D11Device4_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Device4_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Device4_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Device4_GetFeatureLevel(This) \
- ( (This)->lpVtbl -> GetFeatureLevel(This) )
- #define ID3D11Device4_GetCreationFlags(This) \
- ( (This)->lpVtbl -> GetCreationFlags(This) )
- #define ID3D11Device4_GetDeviceRemovedReason(This) \
- ( (This)->lpVtbl -> GetDeviceRemovedReason(This) )
- #define ID3D11Device4_GetImmediateContext(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext(This,ppImmediateContext) )
- #define ID3D11Device4_SetExceptionMode(This,RaiseFlags) \
- ( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) )
- #define ID3D11Device4_GetExceptionMode(This) \
- ( (This)->lpVtbl -> GetExceptionMode(This) )
- #define ID3D11Device4_GetImmediateContext1(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext1(This,ppImmediateContext) )
- #define ID3D11Device4_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext1(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device4_CreateBlendState1(This,pBlendStateDesc,ppBlendState) \
- ( (This)->lpVtbl -> CreateBlendState1(This,pBlendStateDesc,ppBlendState) )
- #define ID3D11Device4_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device4_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) \
- ( (This)->lpVtbl -> CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) )
- #define ID3D11Device4_OpenSharedResource1(This,hResource,returnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResource1(This,hResource,returnedInterface,ppResource) )
- #define ID3D11Device4_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) )
- #define ID3D11Device4_GetImmediateContext2(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext2(This,ppImmediateContext) )
- #define ID3D11Device4_CreateDeferredContext2(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext2(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device4_GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) \
- ( (This)->lpVtbl -> GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) )
- #define ID3D11Device4_CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) \
- ( (This)->lpVtbl -> CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) )
- #define ID3D11Device4_CreateTexture2D1(This,pDesc1,pInitialData,ppTexture2D) \
- ( (This)->lpVtbl -> CreateTexture2D1(This,pDesc1,pInitialData,ppTexture2D) )
- #define ID3D11Device4_CreateTexture3D1(This,pDesc1,pInitialData,ppTexture3D) \
- ( (This)->lpVtbl -> CreateTexture3D1(This,pDesc1,pInitialData,ppTexture3D) )
- #define ID3D11Device4_CreateRasterizerState2(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState2(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device4_CreateShaderResourceView1(This,pResource,pDesc1,ppSRView1) \
- ( (This)->lpVtbl -> CreateShaderResourceView1(This,pResource,pDesc1,ppSRView1) )
- #define ID3D11Device4_CreateUnorderedAccessView1(This,pResource,pDesc1,ppUAView1) \
- ( (This)->lpVtbl -> CreateUnorderedAccessView1(This,pResource,pDesc1,ppUAView1) )
- #define ID3D11Device4_CreateRenderTargetView1(This,pResource,pDesc1,ppRTView1) \
- ( (This)->lpVtbl -> CreateRenderTargetView1(This,pResource,pDesc1,ppRTView1) )
- #define ID3D11Device4_CreateQuery1(This,pQueryDesc1,ppQuery1) \
- ( (This)->lpVtbl -> CreateQuery1(This,pQueryDesc1,ppQuery1) )
- #define ID3D11Device4_GetImmediateContext3(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext3(This,ppImmediateContext) )
- #define ID3D11Device4_CreateDeferredContext3(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext3(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device4_WriteToSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
- ( (This)->lpVtbl -> WriteToSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
- #define ID3D11Device4_ReadFromSubresource(This,pDstData,DstRowPitch,DstDepthPitch,pSrcResource,SrcSubresource,pSrcBox) \
- ( (This)->lpVtbl -> ReadFromSubresource(This,pDstData,DstRowPitch,DstDepthPitch,pSrcResource,SrcSubresource,pSrcBox) )
- #define ID3D11Device4_RegisterDeviceRemovedEvent(This,hEvent,pdwCookie) \
- ( (This)->lpVtbl -> RegisterDeviceRemovedEvent(This,hEvent,pdwCookie) )
- #define ID3D11Device4_UnregisterDeviceRemoved(This,dwCookie) \
- ( (This)->lpVtbl -> UnregisterDeviceRemoved(This,dwCookie) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Device4_INTERFACE_DEFINED__ */
- #ifndef __ID3D11Device5_INTERFACE_DEFINED__
- #define __ID3D11Device5_INTERFACE_DEFINED__
- /* interface ID3D11Device5 */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Device5;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8ffde202-a0e7-45df-9e01-e837801b5ea0")
- ID3D11Device5 : public ID3D11Device4
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OpenSharedFence(
- /* [annotation] */
- _In_ HANDLE hFence,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppFence) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateFence(
- /* [annotation] */
- _In_ UINT64 InitialValue,
- /* [annotation] */
- _In_ D3D11_FENCE_FLAG Flags,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppFence) = 0;
-
- };
-
-
- #else /* C style interface */
- typedef struct ID3D11Device5Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Device5 * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- _COM_Outptr_ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Device5 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Device5 * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_BUFFER_DESC *pDesc,
- /* [annotation] */
- _In_opt_ const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Buffer **ppBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE1D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture1D **ppTexture1D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE2D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture2D **ppTexture2D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE3D_DESC *pDesc,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture3D **ppTexture3D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ShaderResourceView **ppSRView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11UnorderedAccessView **ppUAView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RenderTargetView **ppRTView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DepthStencilView **ppDepthStencilView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
- /* [annotation] */
- _In_range_( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSignature,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11InputLayout **ppInputLayout);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11VertexShader **ppVertexShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_reads_opt_(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
- /* [annotation] */
- _In_range_( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COUNT ) UINT NumEntries,
- /* [annotation] */
- _In_reads_opt_(NumStrides) const UINT *pBufferStrides,
- /* [annotation] */
- _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
- /* [annotation] */
- _In_ UINT RasterizedStream,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11PixelShader **ppPixelShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateHullShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11HullShader **ppHullShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDomainShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DomainShader **ppDomainShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateComputeShader )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_reads_(BytecodeLength) const void *pShaderBytecode,
- /* [annotation] */
- _In_ SIZE_T BytecodeLength,
- /* [annotation] */
- _In_opt_ ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ComputeShader **ppComputeShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateClassLinkage )(
- ID3D11Device5 * This,
- /* [annotation] */
- _COM_Outptr_ ID3D11ClassLinkage **ppLinkage);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_BLEND_DESC *pBlendStateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11BlendState **ppBlendState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DepthStencilState **ppDepthStencilState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_SAMPLER_DESC *pSamplerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11SamplerState **ppSamplerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC *pQueryDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Query **ppQuery);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC *pPredicateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Predicate **ppPredicate);
-
- HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_COUNTER_DESC *pCounterDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Counter **ppCounter);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext )(
- ID3D11Device5 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext **ppDeferredContext);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ HANDLE hResource,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppResource);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _Out_ UINT *pFormatSupport);
-
- HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _In_ UINT SampleCount,
- /* [annotation] */
- _Out_ UINT *pNumQualityLevels);
-
- void ( STDMETHODCALLTYPE *CheckCounterInfo )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Out_ D3D11_COUNTER_INFO *pCounterInfo);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_COUNTER_DESC *pDesc,
- /* [annotation] */
- _Out_ D3D11_COUNTER_TYPE *pType,
- /* [annotation] */
- _Out_ UINT *pActiveCounters,
- /* [annotation] */
- _Out_writes_opt_(*pNameLength) LPSTR szName,
- /* [annotation] */
- _Inout_opt_ UINT *pNameLength,
- /* [annotation] */
- _Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
- /* [annotation] */
- _Inout_opt_ UINT *pUnitsLength,
- /* [annotation] */
- _Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
- /* [annotation] */
- _Inout_opt_ UINT *pDescriptionLength);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
- ID3D11Device5 * This,
- D3D11_FEATURE Feature,
- /* [annotation] */
- _Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportData,
- UINT FeatureSupportDataSize);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _Inout_ UINT *pDataSize,
- /* [annotation] */
- _Out_writes_bytes_opt_(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_reads_bytes_opt_(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_opt_ const IUnknown *pData);
-
- D3D_FEATURE_LEVEL ( STDMETHODCALLTYPE *GetFeatureLevel )(
- ID3D11Device5 * This);
-
- UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
- ID3D11Device5 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
- ID3D11Device5 * This);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
- ID3D11Device5 * This,
- UINT RaiseFlags);
-
- UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
- ID3D11Device5 * This);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext1 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext1 )(
- ID3D11Device5 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext1 **ppDeferredContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBlendState1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_BLEND_DESC1 *pBlendStateDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11BlendState1 **ppBlendState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState1 **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeviceContextState )(
- ID3D11Device5 * This,
- UINT Flags,
- /* [annotation] */
- _In_reads_( FeatureLevels ) const D3D_FEATURE_LEVEL *pFeatureLevels,
- UINT FeatureLevels,
- UINT SDKVersion,
- REFIID EmulatedInterface,
- /* [annotation] */
- _Out_opt_ D3D_FEATURE_LEVEL *pChosenFeatureLevel,
- /* [annotation] */
- _Out_opt_ ID3DDeviceContextState **ppContextState);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResource1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ HANDLE hResource,
- /* [annotation] */
- _In_ REFIID returnedInterface,
- /* [annotation] */
- _COM_Outptr_ void **ppResource);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResourceByName )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ LPCWSTR lpName,
- /* [annotation] */
- _In_ DWORD dwDesiredAccess,
- /* [annotation] */
- _In_ REFIID returnedInterface,
- /* [annotation] */
- _COM_Outptr_ void **ppResource);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext2 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext2 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext2 )(
- ID3D11Device5 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext2 **ppDeferredContext);
-
- void ( STDMETHODCALLTYPE *GetResourceTiling )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pTiledResource,
- /* [annotation] */
- _Out_opt_ UINT *pNumTilesForEntireResource,
- /* [annotation] */
- _Out_opt_ D3D11_PACKED_MIP_DESC *pPackedMipDesc,
- /* [annotation] */
- _Out_opt_ D3D11_TILE_SHAPE *pStandardTileShapeForNonPackedMips,
- /* [annotation] */
- _Inout_opt_ UINT *pNumSubresourceTilings,
- /* [annotation] */
- _In_ UINT FirstSubresourceTilingToGet,
- /* [annotation] */
- _Out_writes_(*pNumSubresourceTilings) D3D11_SUBRESOURCE_TILING *pSubresourceTilingsForNonPackedMips);
-
- HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _In_ UINT SampleCount,
- /* [annotation] */
- _In_ UINT Flags,
- /* [annotation] */
- _Out_ UINT *pNumQualityLevels);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture2D1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE2D_DESC1 *pDesc1,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels * pDesc1->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture2D1 **ppTexture2D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture3D1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_TEXTURE3D_DESC1 *pDesc1,
- /* [annotation] */
- _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Texture3D1 **ppTexture3D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState2 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_RASTERIZER_DESC2 *pRasterizerDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RasterizerState2 **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11ShaderResourceView1 **ppSRView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11UnorderedAccessView1 **ppUAView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC1 *pDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11RenderTargetView1 **ppRTView1);
-
- HRESULT ( STDMETHODCALLTYPE *CreateQuery1 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ const D3D11_QUERY_DESC1 *pQueryDesc1,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11Query1 **ppQuery1);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext3 )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Outptr_ ID3D11DeviceContext3 **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext3 )(
- ID3D11Device5 * This,
- UINT ContextFlags,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11DeviceContext3 **ppDeferredContext);
-
- void ( STDMETHODCALLTYPE *WriteToSubresource )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pDstResource,
- /* [annotation] */
- _In_ UINT DstSubresource,
- /* [annotation] */
- _In_opt_ const D3D11_BOX *pDstBox,
- /* [annotation] */
- _In_ const void *pSrcData,
- /* [annotation] */
- _In_ UINT SrcRowPitch,
- /* [annotation] */
- _In_ UINT SrcDepthPitch);
-
- void ( STDMETHODCALLTYPE *ReadFromSubresource )(
- ID3D11Device5 * This,
- /* [annotation] */
- _Out_ void *pDstData,
- /* [annotation] */
- _In_ UINT DstRowPitch,
- /* [annotation] */
- _In_ UINT DstDepthPitch,
- /* [annotation] */
- _In_ ID3D11Resource *pSrcResource,
- /* [annotation] */
- _In_ UINT SrcSubresource,
- /* [annotation] */
- _In_opt_ const D3D11_BOX *pSrcBox);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterDeviceRemovedEvent )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ HANDLE hEvent,
- /* [annotation] */
- _Out_ DWORD *pdwCookie);
-
- void ( STDMETHODCALLTYPE *UnregisterDeviceRemoved )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ DWORD dwCookie);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedFence )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ HANDLE hFence,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppFence);
-
- HRESULT ( STDMETHODCALLTYPE *CreateFence )(
- ID3D11Device5 * This,
- /* [annotation] */
- _In_ UINT64 InitialValue,
- /* [annotation] */
- _In_ D3D11_FENCE_FLAG Flags,
- /* [annotation] */
- _In_ REFIID ReturnedInterface,
- /* [annotation] */
- _COM_Outptr_opt_ void **ppFence);
-
- END_INTERFACE
- } ID3D11Device5Vtbl;
- interface ID3D11Device5
- {
- CONST_VTBL struct ID3D11Device5Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Device5_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Device5_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Device5_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Device5_CreateBuffer(This,pDesc,pInitialData,ppBuffer) \
- ( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) )
- #define ID3D11Device5_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) \
- ( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) )
- #define ID3D11Device5_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) \
- ( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) )
- #define ID3D11Device5_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) \
- ( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) )
- #define ID3D11Device5_CreateShaderResourceView(This,pResource,pDesc,ppSRView) \
- ( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) )
- #define ID3D11Device5_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) \
- ( (This)->lpVtbl -> CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) )
- #define ID3D11Device5_CreateRenderTargetView(This,pResource,pDesc,ppRTView) \
- ( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) )
- #define ID3D11Device5_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) \
- ( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) )
- #define ID3D11Device5_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) \
- ( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) )
- #define ID3D11Device5_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) \
- ( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) )
- #define ID3D11Device5_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) \
- ( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) )
- #define ID3D11Device5_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) \
- ( (This)->lpVtbl -> CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) )
- #define ID3D11Device5_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) \
- ( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) )
- #define ID3D11Device5_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) \
- ( (This)->lpVtbl -> CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) )
- #define ID3D11Device5_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) \
- ( (This)->lpVtbl -> CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) )
- #define ID3D11Device5_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) \
- ( (This)->lpVtbl -> CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) )
- #define ID3D11Device5_CreateClassLinkage(This,ppLinkage) \
- ( (This)->lpVtbl -> CreateClassLinkage(This,ppLinkage) )
- #define ID3D11Device5_CreateBlendState(This,pBlendStateDesc,ppBlendState) \
- ( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) )
- #define ID3D11Device5_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) \
- ( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) )
- #define ID3D11Device5_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device5_CreateSamplerState(This,pSamplerDesc,ppSamplerState) \
- ( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) )
- #define ID3D11Device5_CreateQuery(This,pQueryDesc,ppQuery) \
- ( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) )
- #define ID3D11Device5_CreatePredicate(This,pPredicateDesc,ppPredicate) \
- ( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) )
- #define ID3D11Device5_CreateCounter(This,pCounterDesc,ppCounter) \
- ( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) )
- #define ID3D11Device5_CreateDeferredContext(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device5_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) )
- #define ID3D11Device5_CheckFormatSupport(This,Format,pFormatSupport) \
- ( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) )
- #define ID3D11Device5_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) \
- ( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) )
- #define ID3D11Device5_CheckCounterInfo(This,pCounterInfo) \
- ( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) )
- #define ID3D11Device5_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) \
- ( (This)->lpVtbl -> CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) )
- #define ID3D11Device5_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) \
- ( (This)->lpVtbl -> CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) )
- #define ID3D11Device5_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Device5_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Device5_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Device5_GetFeatureLevel(This) \
- ( (This)->lpVtbl -> GetFeatureLevel(This) )
- #define ID3D11Device5_GetCreationFlags(This) \
- ( (This)->lpVtbl -> GetCreationFlags(This) )
- #define ID3D11Device5_GetDeviceRemovedReason(This) \
- ( (This)->lpVtbl -> GetDeviceRemovedReason(This) )
- #define ID3D11Device5_GetImmediateContext(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext(This,ppImmediateContext) )
- #define ID3D11Device5_SetExceptionMode(This,RaiseFlags) \
- ( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) )
- #define ID3D11Device5_GetExceptionMode(This) \
- ( (This)->lpVtbl -> GetExceptionMode(This) )
- #define ID3D11Device5_GetImmediateContext1(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext1(This,ppImmediateContext) )
- #define ID3D11Device5_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext1(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device5_CreateBlendState1(This,pBlendStateDesc,ppBlendState) \
- ( (This)->lpVtbl -> CreateBlendState1(This,pBlendStateDesc,ppBlendState) )
- #define ID3D11Device5_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device5_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) \
- ( (This)->lpVtbl -> CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) )
- #define ID3D11Device5_OpenSharedResource1(This,hResource,returnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResource1(This,hResource,returnedInterface,ppResource) )
- #define ID3D11Device5_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) )
- #define ID3D11Device5_GetImmediateContext2(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext2(This,ppImmediateContext) )
- #define ID3D11Device5_CreateDeferredContext2(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext2(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device5_GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) \
- ( (This)->lpVtbl -> GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) )
- #define ID3D11Device5_CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) \
- ( (This)->lpVtbl -> CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) )
- #define ID3D11Device5_CreateTexture2D1(This,pDesc1,pInitialData,ppTexture2D) \
- ( (This)->lpVtbl -> CreateTexture2D1(This,pDesc1,pInitialData,ppTexture2D) )
- #define ID3D11Device5_CreateTexture3D1(This,pDesc1,pInitialData,ppTexture3D) \
- ( (This)->lpVtbl -> CreateTexture3D1(This,pDesc1,pInitialData,ppTexture3D) )
- #define ID3D11Device5_CreateRasterizerState2(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState2(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device5_CreateShaderResourceView1(This,pResource,pDesc1,ppSRView1) \
- ( (This)->lpVtbl -> CreateShaderResourceView1(This,pResource,pDesc1,ppSRView1) )
- #define ID3D11Device5_CreateUnorderedAccessView1(This,pResource,pDesc1,ppUAView1) \
- ( (This)->lpVtbl -> CreateUnorderedAccessView1(This,pResource,pDesc1,ppUAView1) )
- #define ID3D11Device5_CreateRenderTargetView1(This,pResource,pDesc1,ppRTView1) \
- ( (This)->lpVtbl -> CreateRenderTargetView1(This,pResource,pDesc1,ppRTView1) )
- #define ID3D11Device5_CreateQuery1(This,pQueryDesc1,ppQuery1) \
- ( (This)->lpVtbl -> CreateQuery1(This,pQueryDesc1,ppQuery1) )
- #define ID3D11Device5_GetImmediateContext3(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext3(This,ppImmediateContext) )
- #define ID3D11Device5_CreateDeferredContext3(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext3(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device5_WriteToSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
- ( (This)->lpVtbl -> WriteToSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
- #define ID3D11Device5_ReadFromSubresource(This,pDstData,DstRowPitch,DstDepthPitch,pSrcResource,SrcSubresource,pSrcBox) \
- ( (This)->lpVtbl -> ReadFromSubresource(This,pDstData,DstRowPitch,DstDepthPitch,pSrcResource,SrcSubresource,pSrcBox) )
- #define ID3D11Device5_RegisterDeviceRemovedEvent(This,hEvent,pdwCookie) \
- ( (This)->lpVtbl -> RegisterDeviceRemovedEvent(This,hEvent,pdwCookie) )
- #define ID3D11Device5_UnregisterDeviceRemoved(This,dwCookie) \
- ( (This)->lpVtbl -> UnregisterDeviceRemoved(This,dwCookie) )
- #define ID3D11Device5_OpenSharedFence(This,hFence,ReturnedInterface,ppFence) \
- ( (This)->lpVtbl -> OpenSharedFence(This,hFence,ReturnedInterface,ppFence) )
- #define ID3D11Device5_CreateFence(This,InitialValue,Flags,ReturnedInterface,ppFence) \
- ( (This)->lpVtbl -> CreateFence(This,InitialValue,Flags,ReturnedInterface,ppFence) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Device5_INTERFACE_DEFINED__ */
- #ifndef __ID3D11Multithread_INTERFACE_DEFINED__
- #define __ID3D11Multithread_INTERFACE_DEFINED__
- /* interface ID3D11Multithread */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Multithread;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9B7E4E00-342C-4106-A19F-4F2704F689F0")
- ID3D11Multithread : public IUnknown
- {
- public:
- virtual void STDMETHODCALLTYPE Enter( void) = 0;
-
- virtual void STDMETHODCALLTYPE Leave( void) = 0;
-
- virtual BOOL STDMETHODCALLTYPE SetMultithreadProtected(
- /* [annotation] */
- _In_ BOOL bMTProtect) = 0;
-
- virtual BOOL STDMETHODCALLTYPE GetMultithreadProtected( void) = 0;
-
- };
-
-
- #else /* C style interface */
- typedef struct ID3D11MultithreadVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Multithread * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- _COM_Outptr_ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Multithread * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Multithread * This);
-
- void ( STDMETHODCALLTYPE *Enter )(
- ID3D11Multithread * This);
-
- void ( STDMETHODCALLTYPE *Leave )(
- ID3D11Multithread * This);
-
- BOOL ( STDMETHODCALLTYPE *SetMultithreadProtected )(
- ID3D11Multithread * This,
- /* [annotation] */
- _In_ BOOL bMTProtect);
-
- BOOL ( STDMETHODCALLTYPE *GetMultithreadProtected )(
- ID3D11Multithread * This);
-
- END_INTERFACE
- } ID3D11MultithreadVtbl;
- interface ID3D11Multithread
- {
- CONST_VTBL struct ID3D11MultithreadVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Multithread_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Multithread_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Multithread_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Multithread_Enter(This) \
- ( (This)->lpVtbl -> Enter(This) )
- #define ID3D11Multithread_Leave(This) \
- ( (This)->lpVtbl -> Leave(This) )
- #define ID3D11Multithread_SetMultithreadProtected(This,bMTProtect) \
- ( (This)->lpVtbl -> SetMultithreadProtected(This,bMTProtect) )
- #define ID3D11Multithread_GetMultithreadProtected(This) \
- ( (This)->lpVtbl -> GetMultithreadProtected(This) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Multithread_INTERFACE_DEFINED__ */
- #ifndef __ID3D11VideoContext2_INTERFACE_DEFINED__
- #define __ID3D11VideoContext2_INTERFACE_DEFINED__
- /* interface ID3D11VideoContext2 */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11VideoContext2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C4E7374C-6243-4D1B-AE87-52B4F740E261")
- ID3D11VideoContext2 : public ID3D11VideoContext1
- {
- public:
- virtual void STDMETHODCALLTYPE VideoProcessorSetOutputHDRMetaData(
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ DXGI_HDR_METADATA_TYPE Type,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _In_reads_bytes_opt_(Size) const void *pHDRMetaData) = 0;
-
- virtual void STDMETHODCALLTYPE VideoProcessorGetOutputHDRMetaData(
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ DXGI_HDR_METADATA_TYPE *pType,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _Out_writes_bytes_opt_(Size) void *pMetaData) = 0;
-
- virtual void STDMETHODCALLTYPE VideoProcessorSetStreamHDRMetaData(
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ DXGI_HDR_METADATA_TYPE Type,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _In_reads_bytes_opt_(Size) const void *pHDRMetaData) = 0;
-
- virtual void STDMETHODCALLTYPE VideoProcessorGetStreamHDRMetaData(
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ DXGI_HDR_METADATA_TYPE *pType,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _Out_writes_bytes_opt_(Size) void *pMetaData) = 0;
-
- };
-
-
- #else /* C style interface */
- typedef struct ID3D11VideoContext2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11VideoContext2 * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- _COM_Outptr_ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11VideoContext2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11VideoContext2 * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _Outptr_ ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _Inout_ UINT *pDataSize,
- /* [annotation] */
- _Out_writes_bytes_opt_( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_reads_bytes_opt_( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_opt_ const IUnknown *pData);
-
- HRESULT ( STDMETHODCALLTYPE *GetDecoderBuffer )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- D3D11_VIDEO_DECODER_BUFFER_TYPE Type,
- /* [annotation] */
- _Out_ UINT *pBufferSize,
- /* [annotation] */
- _Outptr_result_bytebuffer_(*pBufferSize) void **ppBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *ReleaseDecoderBuffer )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ D3D11_VIDEO_DECODER_BUFFER_TYPE Type);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderBeginFrame )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ ID3D11VideoDecoderOutputView *pView,
- UINT ContentKeySize,
- /* [annotation] */
- _In_reads_bytes_opt_(ContentKeySize) const void *pContentKey);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderEndFrame )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder);
-
- HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ UINT NumBuffers,
- /* [annotation] */
- _In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC *pBufferDesc);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *DecoderExtension )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_EXTENSION *pExtensionData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL YCbCr,
- /* [annotation] */
- _In_ const D3D11_VIDEO_COLOR *pColor);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE AlphaFillMode,
- /* [annotation] */
- _In_ UINT StreamIndex);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ SIZE Size);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL Enable);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetOutputExtension )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_ void *pData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *Enabled,
- /* [annotation] */
- _Out_ RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pYCbCr,
- /* [annotation] */
- _Out_ D3D11_VIDEO_COLOR *pColor);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *pAlphaFillMode,
- /* [annotation] */
- _Out_ UINT *pStreamIndex);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ SIZE *pSize);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pEnabled);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetOutputExtension )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Out_writes_bytes_(DataSize) void *pData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_FRAME_FORMAT FrameFormat);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE OutputRate,
- /* [annotation] */
- _In_ BOOL RepeatFrame,
- /* [annotation] */
- _In_opt_ const DXGI_RATIONAL *pCustomRate);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ FLOAT Alpha);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPalette )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ UINT Count,
- /* [annotation] */
- _In_reads_opt_(Count) const UINT *pEntries);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const DXGI_RATIONAL *pSourceAspectRatio,
- /* [annotation] */
- _In_opt_ const DXGI_RATIONAL *pDestinationAspectRatio);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ FLOAT Lower,
- /* [annotation] */
- _In_ FLOAT Upper);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamStereoFormat )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT Format,
- /* [annotation] */
- _In_ BOOL LeftViewFrame0,
- /* [annotation] */
- _In_ BOOL BaseViewFrame0,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE FlipMode,
- /* [annotation] */
- _In_ int MonoOffset);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFilter )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ int Level);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetStreamExtension )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_ void *pData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ D3D11_VIDEO_FRAME_FORMAT *pFrameFormat);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *pOutputRate,
- /* [annotation] */
- _Out_ BOOL *pRepeatFrame,
- /* [annotation] */
- _Out_ DXGI_RATIONAL *pCustomRate);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ FLOAT *pAlpha);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPalette )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ UINT Count,
- /* [annotation] */
- _Out_writes_(Count) UINT *pEntries);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ DXGI_RATIONAL *pSourceAspectRatio,
- /* [annotation] */
- _Out_ DXGI_RATIONAL *pDestinationAspectRatio);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ FLOAT *pLower,
- /* [annotation] */
- _Out_ FLOAT *pUpper);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamStereoFormat )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnable,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *pFormat,
- /* [annotation] */
- _Out_ BOOL *pLeftViewFrame0,
- /* [annotation] */
- _Out_ BOOL *pBaseViewFrame0,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *pFlipMode,
- /* [annotation] */
- _Out_ int *MonoOffset);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFilter )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ int *pLevel);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetStreamExtension )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Out_writes_bytes_(DataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *VideoProcessorBlt )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ ID3D11VideoProcessorOutputView *pView,
- /* [annotation] */
- _In_ UINT OutputFrame,
- /* [annotation] */
- _In_ UINT StreamCount,
- /* [annotation] */
- _In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM *pStreams);
-
- HRESULT ( STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Inout_updates_bytes_(DataSize) void *pData);
-
- void ( STDMETHODCALLTYPE *EncryptionBlt )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ ID3D11Texture2D *pSrcSurface,
- /* [annotation] */
- _In_ ID3D11Texture2D *pDstSurface,
- /* [annotation] */
- _In_ UINT IVSize,
- /* [annotation] */
- _Inout_opt_bytecount_(IVSize) void *pIV);
-
- void ( STDMETHODCALLTYPE *DecryptionBlt )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ ID3D11Texture2D *pSrcSurface,
- /* [annotation] */
- _In_ ID3D11Texture2D *pDstSurface,
- /* [annotation] */
- _In_opt_ D3D11_ENCRYPTED_BLOCK_INFO *pEncryptedBlockInfo,
- /* [annotation] */
- _In_ UINT ContentKeySize,
- /* [annotation] */
- _In_reads_bytes_opt_(ContentKeySize) const void *pContentKey,
- /* [annotation] */
- _In_ UINT IVSize,
- /* [annotation] */
- _Inout_opt_bytecount_(IVSize) void *pIV);
-
- void ( STDMETHODCALLTYPE *StartSessionKeyRefresh )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT RandomNumberSize,
- /* [annotation] */
- _Out_writes_bytes_(RandomNumberSize) void *pRandomNumber);
-
- void ( STDMETHODCALLTYPE *FinishSessionKeyRefresh )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession);
-
- HRESULT ( STDMETHODCALLTYPE *GetEncryptionBltKey )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT KeySize,
- /* [annotation] */
- _Out_writes_bytes_(KeySize) void *pReadbackKey);
-
- HRESULT ( STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11AuthenticatedChannel *pChannel,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Inout_updates_bytes_(DataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *QueryAuthenticatedChannel )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11AuthenticatedChannel *pChannel,
- /* [annotation] */
- _In_ UINT InputSize,
- /* [annotation] */
- _In_reads_bytes_(InputSize) const void *pInput,
- /* [annotation] */
- _In_ UINT OutputSize,
- /* [annotation] */
- _Out_writes_bytes_(OutputSize) void *pOutput);
-
- HRESULT ( STDMETHODCALLTYPE *ConfigureAuthenticatedChannel )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11AuthenticatedChannel *pChannel,
- /* [annotation] */
- _In_ UINT InputSize,
- /* [annotation] */
- _In_reads_bytes_(InputSize) const void *pInput,
- /* [annotation] */
- _Out_ D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *pOutput);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamRotation )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_ROTATION Rotation);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamRotation )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnable,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_ROTATION *pRotation);
-
- HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers1 )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ UINT NumBuffers,
- /* [annotation] */
- _In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC1 *pBufferDesc);
-
- HRESULT ( STDMETHODCALLTYPE *GetDataForNewHardwareKey )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT PrivateInputSize,
- /* [annotation] */
- _In_reads_(PrivateInputSize) const void *pPrivatInputData,
- /* [annotation] */
- _Out_ UINT64 *pPrivateOutputData);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCryptoSessionStatus )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _Out_ D3D11_CRYPTO_SESSION_STATUS *pStatus);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderEnableDownsampling )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
- /* [annotation] */
- _In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc,
- /* [annotation] */
- _In_ UINT ReferenceFrameCount);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderUpdateDownsampling )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace1 )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE ColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputShaderUsage )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL ShaderUsage);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace1 )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ DXGI_COLOR_SPACE_TYPE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputShaderUsage )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pShaderUsage);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace1 )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE ColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamMirror )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ BOOL FlipHorizontal,
- /* [annotation] */
- _In_ BOOL FlipVertical);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace1 )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ DXGI_COLOR_SPACE_TYPE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamMirror )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnable,
- /* [annotation] */
- _Out_ BOOL *pFlipHorizontal,
- /* [annotation] */
- _Out_ BOOL *pFlipVertical);
-
- HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetBehaviorHints )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT OutputWidth,
- /* [annotation] */
- _In_ UINT OutputHeight,
- /* [annotation] */
- _In_ DXGI_FORMAT OutputFormat,
- /* [annotation] */
- _In_ UINT StreamCount,
- /* [annotation] */
- _In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *pStreams,
- /* [annotation] */
- _Out_ UINT *pBehaviorHints);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputHDRMetaData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ DXGI_HDR_METADATA_TYPE Type,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _In_reads_bytes_opt_(Size) const void *pHDRMetaData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputHDRMetaData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ DXGI_HDR_METADATA_TYPE *pType,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _Out_writes_bytes_opt_(Size) void *pMetaData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamHDRMetaData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ DXGI_HDR_METADATA_TYPE Type,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _In_reads_bytes_opt_(Size) const void *pHDRMetaData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamHDRMetaData )(
- ID3D11VideoContext2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ DXGI_HDR_METADATA_TYPE *pType,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _Out_writes_bytes_opt_(Size) void *pMetaData);
-
- END_INTERFACE
- } ID3D11VideoContext2Vtbl;
- interface ID3D11VideoContext2
- {
- CONST_VTBL struct ID3D11VideoContext2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11VideoContext2_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11VideoContext2_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11VideoContext2_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11VideoContext2_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11VideoContext2_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11VideoContext2_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11VideoContext2_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11VideoContext2_GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer) \
- ( (This)->lpVtbl -> GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer) )
- #define ID3D11VideoContext2_ReleaseDecoderBuffer(This,pDecoder,Type) \
- ( (This)->lpVtbl -> ReleaseDecoderBuffer(This,pDecoder,Type) )
- #define ID3D11VideoContext2_DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pContentKey) \
- ( (This)->lpVtbl -> DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pContentKey) )
- #define ID3D11VideoContext2_DecoderEndFrame(This,pDecoder) \
- ( (This)->lpVtbl -> DecoderEndFrame(This,pDecoder) )
- #define ID3D11VideoContext2_SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDesc) \
- ( (This)->lpVtbl -> SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDesc) )
- #define ID3D11VideoContext2_DecoderExtension(This,pDecoder,pExtensionData) \
- ( (This)->lpVtbl -> DecoderExtension(This,pDecoder,pExtensionData) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputTargetRect(This,pVideoProcessor,Enable,pRect) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputTargetRect(This,pVideoProcessor,Enable,pRect) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputBackgroundColor(This,pVideoProcessor,YCbCr,pColor) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputBackgroundColor(This,pVideoProcessor,YCbCr,pColor) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputColorSpace(This,pVideoProcessor,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace(This,pVideoProcessor,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputAlphaFillMode(This,pVideoProcessor,AlphaFillMode,StreamIndex) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputAlphaFillMode(This,pVideoProcessor,AlphaFillMode,StreamIndex) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputConstriction(This,pVideoProcessor,Enable,Size) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputConstriction(This,pVideoProcessor,Enable,Size) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputStereoMode(This,pVideoProcessor,Enable) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputStereoMode(This,pVideoProcessor,Enable) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputTargetRect(This,pVideoProcessor,Enabled,pRect) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputTargetRect(This,pVideoProcessor,Enabled,pRect) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputBackgroundColor(This,pVideoProcessor,pYCbCr,pColor) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputBackgroundColor(This,pVideoProcessor,pYCbCr,pColor) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputColorSpace(This,pVideoProcessor,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace(This,pVideoProcessor,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputAlphaFillMode(This,pVideoProcessor,pAlphaFillMode,pStreamIndex) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputAlphaFillMode(This,pVideoProcessor,pAlphaFillMode,pStreamIndex) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputConstriction(This,pVideoProcessor,pEnabled,pSize) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputConstriction(This,pVideoProcessor,pEnabled,pSize) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputStereoMode(This,pVideoProcessor,pEnabled) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputStereoMode(This,pVideoProcessor,pEnabled) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,StreamIndex,FrameFormat) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,StreamIndex,FrameFormat) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamOutputRate(This,pVideoProcessor,StreamIndex,OutputRate,RepeatFrame,pCustomRate) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamOutputRate(This,pVideoProcessor,StreamIndex,OutputRate,RepeatFrame,pCustomRate) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamSourceRect(This,pVideoProcessor,StreamIndex,Enable,pRect) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamSourceRect(This,pVideoProcessor,StreamIndex,Enable,pRect) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamDestRect(This,pVideoProcessor,StreamIndex,Enable,pRect) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamDestRect(This,pVideoProcessor,StreamIndex,Enable,pRect) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamAlpha(This,pVideoProcessor,StreamIndex,Enable,Alpha) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamAlpha(This,pVideoProcessor,StreamIndex,Enable,Alpha) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamLumaKey(This,pVideoProcessor,StreamIndex,Enable,Lower,Upper) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamLumaKey(This,pVideoProcessor,StreamIndex,Enable,Lower,Upper) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamStereoFormat(This,pVideoProcessor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamStereoFormat(This,pVideoProcessor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,Enable) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,Enable) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,Enable,Level) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,Enable,Level) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,StreamIndex,pFrameFormat) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,StreamIndex,pFrameFormat) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamOutputRate(This,pVideoProcessor,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamOutputRate(This,pVideoProcessor,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamSourceRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamSourceRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamDestRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamDestRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamAlpha(This,pVideoProcessor,StreamIndex,pEnabled,pAlpha) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamAlpha(This,pVideoProcessor,StreamIndex,pEnabled,pAlpha) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamLumaKey(This,pVideoProcessor,StreamIndex,pEnabled,pLower,pUpper) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamLumaKey(This,pVideoProcessor,StreamIndex,pEnabled,pLower,pUpper) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamStereoFormat(This,pVideoProcessor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffset) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamStereoFormat(This,pVideoProcessor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffset) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,pEnabled) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,pEnabled) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,pEnabled,pLevel) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,pEnabled,pLevel) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext2_VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame,StreamCount,pStreams) \
- ( (This)->lpVtbl -> VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame,StreamCount,pStreams) )
- #define ID3D11VideoContext2_NegotiateCryptoSessionKeyExchange(This,pCryptoSession,DataSize,pData) \
- ( (This)->lpVtbl -> NegotiateCryptoSessionKeyExchange(This,pCryptoSession,DataSize,pData) )
- #define ID3D11VideoContext2_EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,IVSize,pIV) \
- ( (This)->lpVtbl -> EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,IVSize,pIV) )
- #define ID3D11VideoContext2_DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) \
- ( (This)->lpVtbl -> DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) )
- #define ID3D11VideoContext2_StartSessionKeyRefresh(This,pCryptoSession,RandomNumberSize,pRandomNumber) \
- ( (This)->lpVtbl -> StartSessionKeyRefresh(This,pCryptoSession,RandomNumberSize,pRandomNumber) )
- #define ID3D11VideoContext2_FinishSessionKeyRefresh(This,pCryptoSession) \
- ( (This)->lpVtbl -> FinishSessionKeyRefresh(This,pCryptoSession) )
- #define ID3D11VideoContext2_GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbackKey) \
- ( (This)->lpVtbl -> GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbackKey) )
- #define ID3D11VideoContext2_NegotiateAuthenticatedChannelKeyExchange(This,pChannel,DataSize,pData) \
- ( (This)->lpVtbl -> NegotiateAuthenticatedChannelKeyExchange(This,pChannel,DataSize,pData) )
- #define ID3D11VideoContext2_QueryAuthenticatedChannel(This,pChannel,InputSize,pInput,OutputSize,pOutput) \
- ( (This)->lpVtbl -> QueryAuthenticatedChannel(This,pChannel,InputSize,pInput,OutputSize,pOutput) )
- #define ID3D11VideoContext2_ConfigureAuthenticatedChannel(This,pChannel,InputSize,pInput,pOutput) \
- ( (This)->lpVtbl -> ConfigureAuthenticatedChannel(This,pChannel,InputSize,pInput,pOutput) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamRotation(This,pVideoProcessor,StreamIndex,Enable,Rotation) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamRotation(This,pVideoProcessor,StreamIndex,Enable,Rotation) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamRotation(This,pVideoProcessor,StreamIndex,pEnable,pRotation) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamRotation(This,pVideoProcessor,StreamIndex,pEnable,pRotation) )
- #define ID3D11VideoContext2_SubmitDecoderBuffers1(This,pDecoder,NumBuffers,pBufferDesc) \
- ( (This)->lpVtbl -> SubmitDecoderBuffers1(This,pDecoder,NumBuffers,pBufferDesc) )
- #define ID3D11VideoContext2_GetDataForNewHardwareKey(This,pCryptoSession,PrivateInputSize,pPrivatInputData,pPrivateOutputData) \
- ( (This)->lpVtbl -> GetDataForNewHardwareKey(This,pCryptoSession,PrivateInputSize,pPrivatInputData,pPrivateOutputData) )
- #define ID3D11VideoContext2_CheckCryptoSessionStatus(This,pCryptoSession,pStatus) \
- ( (This)->lpVtbl -> CheckCryptoSessionStatus(This,pCryptoSession,pStatus) )
- #define ID3D11VideoContext2_DecoderEnableDownsampling(This,pDecoder,InputColorSpace,pOutputDesc,ReferenceFrameCount) \
- ( (This)->lpVtbl -> DecoderEnableDownsampling(This,pDecoder,InputColorSpace,pOutputDesc,ReferenceFrameCount) )
- #define ID3D11VideoContext2_DecoderUpdateDownsampling(This,pDecoder,pOutputDesc) \
- ( (This)->lpVtbl -> DecoderUpdateDownsampling(This,pDecoder,pOutputDesc) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputColorSpace1(This,pVideoProcessor,ColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace1(This,pVideoProcessor,ColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputShaderUsage(This,pVideoProcessor,ShaderUsage) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputShaderUsage(This,pVideoProcessor,ShaderUsage) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputColorSpace1(This,pVideoProcessor,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace1(This,pVideoProcessor,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputShaderUsage(This,pVideoProcessor,pShaderUsage) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputShaderUsage(This,pVideoProcessor,pShaderUsage) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamColorSpace1(This,pVideoProcessor,StreamIndex,ColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace1(This,pVideoProcessor,StreamIndex,ColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamMirror(This,pVideoProcessor,StreamIndex,Enable,FlipHorizontal,FlipVertical) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamMirror(This,pVideoProcessor,StreamIndex,Enable,FlipHorizontal,FlipVertical) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamColorSpace1(This,pVideoProcessor,StreamIndex,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace1(This,pVideoProcessor,StreamIndex,pColorSpace) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamMirror(This,pVideoProcessor,StreamIndex,pEnable,pFlipHorizontal,pFlipVertical) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamMirror(This,pVideoProcessor,StreamIndex,pEnable,pFlipHorizontal,pFlipVertical) )
- #define ID3D11VideoContext2_VideoProcessorGetBehaviorHints(This,pVideoProcessor,OutputWidth,OutputHeight,OutputFormat,StreamCount,pStreams,pBehaviorHints) \
- ( (This)->lpVtbl -> VideoProcessorGetBehaviorHints(This,pVideoProcessor,OutputWidth,OutputHeight,OutputFormat,StreamCount,pStreams,pBehaviorHints) )
- #define ID3D11VideoContext2_VideoProcessorSetOutputHDRMetaData(This,pVideoProcessor,Type,Size,pHDRMetaData) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputHDRMetaData(This,pVideoProcessor,Type,Size,pHDRMetaData) )
- #define ID3D11VideoContext2_VideoProcessorGetOutputHDRMetaData(This,pVideoProcessor,pType,Size,pMetaData) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputHDRMetaData(This,pVideoProcessor,pType,Size,pMetaData) )
- #define ID3D11VideoContext2_VideoProcessorSetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,Type,Size,pHDRMetaData) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,Type,Size,pHDRMetaData) )
- #define ID3D11VideoContext2_VideoProcessorGetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,pType,Size,pMetaData) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,pType,Size,pMetaData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11VideoContext2_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_4_0000_0004 */
- /* [local] */
- typedef
- enum D3D11_FEATURE_VIDEO
- {
- D3D11_FEATURE_VIDEO_DECODER_HISTOGRAM = 0
- } D3D11_FEATURE_VIDEO;
- typedef
- enum D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT
- {
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y = 0,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U = 1,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V = 2,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R = 0,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G = 1,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B = 2,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A = 3
- } D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT;
- typedef
- enum D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS
- {
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_NONE = 0,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_Y = ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y ) ,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_U = ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U ) ,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_V = ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V ) ,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_R = ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R ) ,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_G = ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G ) ,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_B = ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B ) ,
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_A = ( 1 << D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A )
- } D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS;
- DEFINE_ENUM_FLAG_OPERATORS(D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS );
- typedef struct D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM
- {
- D3D11_VIDEO_DECODER_DESC DecoderDesc;
- D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS Components;
- UINT BinCount;
- UINT CounterBitDepth;
- } D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM;
- typedef
- enum D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS
- {
- D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAG_NONE = 0
- } D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS;
- DEFINE_ENUM_FLAG_OPERATORS(D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS );
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0004_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0004_v0_0_s_ifspec;
- #ifndef __ID3D11VideoDevice2_INTERFACE_DEFINED__
- #define __ID3D11VideoDevice2_INTERFACE_DEFINED__
- /* interface ID3D11VideoDevice2 */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11VideoDevice2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("59C0CB01-35F0-4A70-8F67-87905C906A53")
- ID3D11VideoDevice2 : public ID3D11VideoDevice1
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CheckFeatureSupport(
- D3D11_FEATURE_VIDEO Feature,
- /* [annotation] */
- _Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportData,
- UINT FeatureSupportDataSize) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE NegotiateCryptoSessionKeyExchangeMT(
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS flags,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Inout_updates_bytes_(DataSize) void *pData) = 0;
-
- };
-
-
- #else /* C style interface */
- typedef struct ID3D11VideoDevice2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11VideoDevice2 * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- _COM_Outptr_ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11VideoDevice2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11VideoDevice2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVideoDecoder )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_DESC *pVideoDesc,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_CONFIG *pConfig,
- /* [annotation] */
- _COM_Outptr_ ID3D11VideoDecoder **ppDecoder);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessor )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessorEnumerator *pEnum,
- /* [annotation] */
- _In_ UINT RateConversionIndex,
- /* [annotation] */
- _COM_Outptr_ ID3D11VideoProcessor **ppVideoProcessor);
-
- HRESULT ( STDMETHODCALLTYPE *CreateAuthenticatedChannel )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ D3D11_AUTHENTICATED_CHANNEL_TYPE ChannelType,
- /* [annotation] */
- _COM_Outptr_ ID3D11AuthenticatedChannel **ppAuthenticatedChannel);
-
- HRESULT ( STDMETHODCALLTYPE *CreateCryptoSession )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const GUID *pCryptoType,
- /* [annotation] */
- _In_opt_ const GUID *pDecoderProfile,
- /* [annotation] */
- _In_ const GUID *pKeyExchangeType,
- /* [annotation] */
- _COM_Outptr_ ID3D11CryptoSession **ppCryptoSession);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVideoDecoderOutputView )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11VideoDecoderOutputView **ppVDOVView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorInputView )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_ ID3D11VideoProcessorEnumerator *pEnum,
- /* [annotation] */
- _In_ const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11VideoProcessorInputView **ppVPIView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorOutputView )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ ID3D11Resource *pResource,
- /* [annotation] */
- _In_ ID3D11VideoProcessorEnumerator *pEnum,
- /* [annotation] */
- _In_ const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_opt_ ID3D11VideoProcessorOutputView **ppVPOView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVideoProcessorEnumerator )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const D3D11_VIDEO_PROCESSOR_CONTENT_DESC *pDesc,
- /* [annotation] */
- _COM_Outptr_ ID3D11VideoProcessorEnumerator **ppEnum);
-
- UINT ( STDMETHODCALLTYPE *GetVideoDecoderProfileCount )(
- ID3D11VideoDevice2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderProfile )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ UINT Index,
- /* [annotation] */
- _Out_ GUID *pDecoderProfile);
-
- HRESULT ( STDMETHODCALLTYPE *CheckVideoDecoderFormat )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const GUID *pDecoderProfile,
- /* [annotation] */
- _In_ DXGI_FORMAT Format,
- /* [annotation] */
- _Out_ BOOL *pSupported);
-
- HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderConfigCount )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_DESC *pDesc,
- /* [annotation] */
- _Out_ UINT *pCount);
-
- HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderConfig )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_DESC *pDesc,
- /* [annotation] */
- _In_ UINT Index,
- /* [annotation] */
- _Out_ D3D11_VIDEO_DECODER_CONFIG *pConfig);
-
- HRESULT ( STDMETHODCALLTYPE *GetContentProtectionCaps )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_opt_ const GUID *pCryptoType,
- /* [annotation] */
- _In_opt_ const GUID *pDecoderProfile,
- /* [annotation] */
- _Out_ D3D11_VIDEO_CONTENT_PROTECTION_CAPS *pCaps);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCryptoKeyExchange )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const GUID *pCryptoType,
- /* [annotation] */
- _In_opt_ const GUID *pDecoderProfile,
- /* [annotation] */
- _In_ UINT Index,
- /* [annotation] */
- _Out_ GUID *pKeyExchangeType);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_reads_bytes_opt_(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_opt_ const IUnknown *pData);
-
- HRESULT ( STDMETHODCALLTYPE *GetCryptoSessionPrivateDataSize )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const GUID *pCryptoType,
- /* [annotation] */
- _In_opt_ const GUID *pDecoderProfile,
- /* [annotation] */
- _In_ const GUID *pKeyExchangeType,
- /* [annotation] */
- _Out_ UINT *pPrivateInputSize,
- /* [annotation] */
- _Out_ UINT *pPrivateOutputSize);
-
- HRESULT ( STDMETHODCALLTYPE *GetVideoDecoderCaps )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const GUID *pDecoderProfile,
- /* [annotation] */
- _In_ UINT SampleWidth,
- /* [annotation] */
- _In_ UINT SampleHeight,
- /* [annotation] */
- _In_ const DXGI_RATIONAL *pFrameRate,
- /* [annotation] */
- _In_ UINT BitRate,
- /* [annotation] */
- _In_opt_ const GUID *pCryptoType,
- /* [annotation] */
- _Out_ UINT *pDecoderCaps);
-
- HRESULT ( STDMETHODCALLTYPE *CheckVideoDecoderDownsampling )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_DESC *pInputDesc,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_CONFIG *pInputConfig,
- /* [annotation] */
- _In_ const DXGI_RATIONAL *pFrameRate,
- /* [annotation] */
- _In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc,
- /* [annotation] */
- _Out_ BOOL *pSupported,
- /* [annotation] */
- _Out_ BOOL *pRealTimeHint);
-
- HRESULT ( STDMETHODCALLTYPE *RecommendVideoDecoderDownsampleParameters )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_DESC *pInputDesc,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_CONFIG *pInputConfig,
- /* [annotation] */
- _In_ const DXGI_RATIONAL *pFrameRate,
- /* [annotation] */
- _Out_ D3D11_VIDEO_SAMPLE_DESC *pRecommendedOutputDesc);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
- ID3D11VideoDevice2 * This,
- D3D11_FEATURE_VIDEO Feature,
- /* [annotation] */
- _Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportData,
- UINT FeatureSupportDataSize);
-
- HRESULT ( STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchangeMT )(
- ID3D11VideoDevice2 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS flags,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Inout_updates_bytes_(DataSize) void *pData);
-
- END_INTERFACE
- } ID3D11VideoDevice2Vtbl;
- interface ID3D11VideoDevice2
- {
- CONST_VTBL struct ID3D11VideoDevice2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11VideoDevice2_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11VideoDevice2_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11VideoDevice2_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11VideoDevice2_CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) \
- ( (This)->lpVtbl -> CreateVideoDecoder(This,pVideoDesc,pConfig,ppDecoder) )
- #define ID3D11VideoDevice2_CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) \
- ( (This)->lpVtbl -> CreateVideoProcessor(This,pEnum,RateConversionIndex,ppVideoProcessor) )
- #define ID3D11VideoDevice2_CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) \
- ( (This)->lpVtbl -> CreateAuthenticatedChannel(This,ChannelType,ppAuthenticatedChannel) )
- #define ID3D11VideoDevice2_CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) \
- ( (This)->lpVtbl -> CreateCryptoSession(This,pCryptoType,pDecoderProfile,pKeyExchangeType,ppCryptoSession) )
- #define ID3D11VideoDevice2_CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) \
- ( (This)->lpVtbl -> CreateVideoDecoderOutputView(This,pResource,pDesc,ppVDOVView) )
- #define ID3D11VideoDevice2_CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) \
- ( (This)->lpVtbl -> CreateVideoProcessorInputView(This,pResource,pEnum,pDesc,ppVPIView) )
- #define ID3D11VideoDevice2_CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) \
- ( (This)->lpVtbl -> CreateVideoProcessorOutputView(This,pResource,pEnum,pDesc,ppVPOView) )
- #define ID3D11VideoDevice2_CreateVideoProcessorEnumerator(This,pDesc,ppEnum) \
- ( (This)->lpVtbl -> CreateVideoProcessorEnumerator(This,pDesc,ppEnum) )
- #define ID3D11VideoDevice2_GetVideoDecoderProfileCount(This) \
- ( (This)->lpVtbl -> GetVideoDecoderProfileCount(This) )
- #define ID3D11VideoDevice2_GetVideoDecoderProfile(This,Index,pDecoderProfile) \
- ( (This)->lpVtbl -> GetVideoDecoderProfile(This,Index,pDecoderProfile) )
- #define ID3D11VideoDevice2_CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) \
- ( (This)->lpVtbl -> CheckVideoDecoderFormat(This,pDecoderProfile,Format,pSupported) )
- #define ID3D11VideoDevice2_GetVideoDecoderConfigCount(This,pDesc,pCount) \
- ( (This)->lpVtbl -> GetVideoDecoderConfigCount(This,pDesc,pCount) )
- #define ID3D11VideoDevice2_GetVideoDecoderConfig(This,pDesc,Index,pConfig) \
- ( (This)->lpVtbl -> GetVideoDecoderConfig(This,pDesc,Index,pConfig) )
- #define ID3D11VideoDevice2_GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) \
- ( (This)->lpVtbl -> GetContentProtectionCaps(This,pCryptoType,pDecoderProfile,pCaps) )
- #define ID3D11VideoDevice2_CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) \
- ( (This)->lpVtbl -> CheckCryptoKeyExchange(This,pCryptoType,pDecoderProfile,Index,pKeyExchangeType) )
- #define ID3D11VideoDevice2_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11VideoDevice2_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11VideoDevice2_GetCryptoSessionPrivateDataSize(This,pCryptoType,pDecoderProfile,pKeyExchangeType,pPrivateInputSize,pPrivateOutputSize) \
- ( (This)->lpVtbl -> GetCryptoSessionPrivateDataSize(This,pCryptoType,pDecoderProfile,pKeyExchangeType,pPrivateInputSize,pPrivateOutputSize) )
- #define ID3D11VideoDevice2_GetVideoDecoderCaps(This,pDecoderProfile,SampleWidth,SampleHeight,pFrameRate,BitRate,pCryptoType,pDecoderCaps) \
- ( (This)->lpVtbl -> GetVideoDecoderCaps(This,pDecoderProfile,SampleWidth,SampleHeight,pFrameRate,BitRate,pCryptoType,pDecoderCaps) )
- #define ID3D11VideoDevice2_CheckVideoDecoderDownsampling(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pOutputDesc,pSupported,pRealTimeHint) \
- ( (This)->lpVtbl -> CheckVideoDecoderDownsampling(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pOutputDesc,pSupported,pRealTimeHint) )
- #define ID3D11VideoDevice2_RecommendVideoDecoderDownsampleParameters(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pRecommendedOutputDesc) \
- ( (This)->lpVtbl -> RecommendVideoDecoderDownsampleParameters(This,pInputDesc,InputColorSpace,pInputConfig,pFrameRate,pRecommendedOutputDesc) )
- #define ID3D11VideoDevice2_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) \
- ( (This)->lpVtbl -> CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) )
- #define ID3D11VideoDevice2_NegotiateCryptoSessionKeyExchangeMT(This,pCryptoSession,flags,DataSize,pData) \
- ( (This)->lpVtbl -> NegotiateCryptoSessionKeyExchangeMT(This,pCryptoSession,flags,DataSize,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11VideoDevice2_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_4_0000_0005 */
- /* [local] */
- typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC2
- {
- D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType;
- UINT DataOffset;
- UINT DataSize;
- /* [annotation] */
- _Field_size_opt_(IVSize) void *pIV;
- UINT IVSize;
- /* [annotation] */
- _Field_size_opt_(SubSampleMappingCount) D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK *pSubSampleMappingBlock;
- UINT SubSampleMappingCount;
- UINT cBlocksStripeEncrypted;
- UINT cBlocksStripeClear;
- } D3D11_VIDEO_DECODER_BUFFER_DESC2;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0005_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0005_v0_0_s_ifspec;
- #ifndef __ID3D11VideoContext3_INTERFACE_DEFINED__
- #define __ID3D11VideoContext3_INTERFACE_DEFINED__
- /* interface ID3D11VideoContext3 */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11VideoContext3;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("A9E2FAA0-CB39-418F-A0B7-D8AAD4DE672E")
- ID3D11VideoContext3 : public ID3D11VideoContext2
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE DecoderBeginFrame1(
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ ID3D11VideoDecoderOutputView *pView,
- UINT ContentKeySize,
- /* [annotation] */
- _In_reads_bytes_opt_(ContentKeySize) const void *pContentKey,
- /* [annotation] */
- _In_range_(0, D3D11_4_VIDEO_DECODER_MAX_HISTOGRAM_COMPONENTS) UINT NumComponentHistograms,
- /* [annotation] */
- _In_reads_opt_(NumComponentHistograms) const UINT *pHistogramOffsets,
- /* [annotation] */
- _In_reads_opt_(NumComponentHistograms) ID3D11Buffer *const *ppHistogramBuffers) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SubmitDecoderBuffers2(
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ UINT NumBuffers,
- /* [annotation] */
- _In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC2 *pBufferDesc) = 0;
-
- };
-
-
- #else /* C style interface */
- typedef struct ID3D11VideoContext3Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11VideoContext3 * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- _COM_Outptr_ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11VideoContext3 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11VideoContext3 * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _Outptr_ ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _Inout_ UINT *pDataSize,
- /* [annotation] */
- _Out_writes_bytes_opt_( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_reads_bytes_opt_( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ REFGUID guid,
- /* [annotation] */
- _In_opt_ const IUnknown *pData);
-
- HRESULT ( STDMETHODCALLTYPE *GetDecoderBuffer )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- D3D11_VIDEO_DECODER_BUFFER_TYPE Type,
- /* [annotation] */
- _Out_ UINT *pBufferSize,
- /* [annotation] */
- _Outptr_result_bytebuffer_(*pBufferSize) void **ppBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *ReleaseDecoderBuffer )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ D3D11_VIDEO_DECODER_BUFFER_TYPE Type);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderBeginFrame )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ ID3D11VideoDecoderOutputView *pView,
- UINT ContentKeySize,
- /* [annotation] */
- _In_reads_bytes_opt_(ContentKeySize) const void *pContentKey);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderEndFrame )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder);
-
- HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ UINT NumBuffers,
- /* [annotation] */
- _In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC *pBufferDesc);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *DecoderExtension )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ const D3D11_VIDEO_DECODER_EXTENSION *pExtensionData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputTargetRect )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputBackgroundColor )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL YCbCr,
- /* [annotation] */
- _In_ const D3D11_VIDEO_COLOR *pColor);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputAlphaFillMode )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE AlphaFillMode,
- /* [annotation] */
- _In_ UINT StreamIndex);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputConstriction )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ SIZE Size);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputStereoMode )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL Enable);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetOutputExtension )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_ void *pData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputTargetRect )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *Enabled,
- /* [annotation] */
- _Out_ RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputBackgroundColor )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pYCbCr,
- /* [annotation] */
- _Out_ D3D11_VIDEO_COLOR *pColor);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputAlphaFillMode )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE *pAlphaFillMode,
- /* [annotation] */
- _Out_ UINT *pStreamIndex);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputConstriction )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ SIZE *pSize);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputStereoMode )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pEnabled);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetOutputExtension )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Out_writes_bytes_(DataSize) void *pData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFrameFormat )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_FRAME_FORMAT FrameFormat);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ const D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamOutputRate )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE OutputRate,
- /* [annotation] */
- _In_ BOOL RepeatFrame,
- /* [annotation] */
- _In_opt_ const DXGI_RATIONAL *pCustomRate);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamSourceRect )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamDestRect )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAlpha )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ FLOAT Alpha);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPalette )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ UINT Count,
- /* [annotation] */
- _In_reads_opt_(Count) const UINT *pEntries);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamPixelAspectRatio )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_opt_ const DXGI_RATIONAL *pSourceAspectRatio,
- /* [annotation] */
- _In_opt_ const DXGI_RATIONAL *pDestinationAspectRatio);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamLumaKey )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ FLOAT Lower,
- /* [annotation] */
- _In_ FLOAT Upper);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamStereoFormat )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT Format,
- /* [annotation] */
- _In_ BOOL LeftViewFrame0,
- /* [annotation] */
- _In_ BOOL BaseViewFrame0,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE FlipMode,
- /* [annotation] */
- _In_ int MonoOffset);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamAutoProcessingMode )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamFilter )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ int Level);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorSetStreamExtension )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _In_ void *pData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFrameFormat )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ D3D11_VIDEO_FRAME_FORMAT *pFrameFormat);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_COLOR_SPACE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamOutputRate )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_OUTPUT_RATE *pOutputRate,
- /* [annotation] */
- _Out_ BOOL *pRepeatFrame,
- /* [annotation] */
- _Out_ DXGI_RATIONAL *pCustomRate);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamSourceRect )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamDestRect )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ RECT *pRect);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAlpha )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ FLOAT *pAlpha);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPalette )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ UINT Count,
- /* [annotation] */
- _Out_writes_(Count) UINT *pEntries);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamPixelAspectRatio )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ DXGI_RATIONAL *pSourceAspectRatio,
- /* [annotation] */
- _Out_ DXGI_RATIONAL *pDestinationAspectRatio);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamLumaKey )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ FLOAT *pLower,
- /* [annotation] */
- _Out_ FLOAT *pUpper);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamStereoFormat )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnable,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_STEREO_FORMAT *pFormat,
- /* [annotation] */
- _Out_ BOOL *pLeftViewFrame0,
- /* [annotation] */
- _Out_ BOOL *pBaseViewFrame0,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE *pFlipMode,
- /* [annotation] */
- _Out_ int *MonoOffset);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamAutoProcessingMode )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnabled);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamFilter )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_FILTER Filter,
- /* [annotation] */
- _Out_ BOOL *pEnabled,
- /* [annotation] */
- _Out_ int *pLevel);
-
- APP_DEPRECATED_HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetStreamExtension )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ const GUID *pExtensionGuid,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Out_writes_bytes_(DataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *VideoProcessorBlt )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ ID3D11VideoProcessorOutputView *pView,
- /* [annotation] */
- _In_ UINT OutputFrame,
- /* [annotation] */
- _In_ UINT StreamCount,
- /* [annotation] */
- _In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM *pStreams);
-
- HRESULT ( STDMETHODCALLTYPE *NegotiateCryptoSessionKeyExchange )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Inout_updates_bytes_(DataSize) void *pData);
-
- void ( STDMETHODCALLTYPE *EncryptionBlt )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ ID3D11Texture2D *pSrcSurface,
- /* [annotation] */
- _In_ ID3D11Texture2D *pDstSurface,
- /* [annotation] */
- _In_ UINT IVSize,
- /* [annotation] */
- _Inout_opt_bytecount_(IVSize) void *pIV);
-
- void ( STDMETHODCALLTYPE *DecryptionBlt )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ ID3D11Texture2D *pSrcSurface,
- /* [annotation] */
- _In_ ID3D11Texture2D *pDstSurface,
- /* [annotation] */
- _In_opt_ D3D11_ENCRYPTED_BLOCK_INFO *pEncryptedBlockInfo,
- /* [annotation] */
- _In_ UINT ContentKeySize,
- /* [annotation] */
- _In_reads_bytes_opt_(ContentKeySize) const void *pContentKey,
- /* [annotation] */
- _In_ UINT IVSize,
- /* [annotation] */
- _Inout_opt_bytecount_(IVSize) void *pIV);
-
- void ( STDMETHODCALLTYPE *StartSessionKeyRefresh )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT RandomNumberSize,
- /* [annotation] */
- _Out_writes_bytes_(RandomNumberSize) void *pRandomNumber);
-
- void ( STDMETHODCALLTYPE *FinishSessionKeyRefresh )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession);
-
- HRESULT ( STDMETHODCALLTYPE *GetEncryptionBltKey )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT KeySize,
- /* [annotation] */
- _Out_writes_bytes_(KeySize) void *pReadbackKey);
-
- HRESULT ( STDMETHODCALLTYPE *NegotiateAuthenticatedChannelKeyExchange )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11AuthenticatedChannel *pChannel,
- /* [annotation] */
- _In_ UINT DataSize,
- /* [annotation] */
- _Inout_updates_bytes_(DataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *QueryAuthenticatedChannel )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11AuthenticatedChannel *pChannel,
- /* [annotation] */
- _In_ UINT InputSize,
- /* [annotation] */
- _In_reads_bytes_(InputSize) const void *pInput,
- /* [annotation] */
- _In_ UINT OutputSize,
- /* [annotation] */
- _Out_writes_bytes_(OutputSize) void *pOutput);
-
- HRESULT ( STDMETHODCALLTYPE *ConfigureAuthenticatedChannel )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11AuthenticatedChannel *pChannel,
- /* [annotation] */
- _In_ UINT InputSize,
- /* [annotation] */
- _In_reads_bytes_(InputSize) const void *pInput,
- /* [annotation] */
- _Out_ D3D11_AUTHENTICATED_CONFIGURE_OUTPUT *pOutput);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamRotation )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ D3D11_VIDEO_PROCESSOR_ROTATION Rotation);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamRotation )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnable,
- /* [annotation] */
- _Out_ D3D11_VIDEO_PROCESSOR_ROTATION *pRotation);
-
- HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers1 )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ UINT NumBuffers,
- /* [annotation] */
- _In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC1 *pBufferDesc);
-
- HRESULT ( STDMETHODCALLTYPE *GetDataForNewHardwareKey )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _In_ UINT PrivateInputSize,
- /* [annotation] */
- _In_reads_(PrivateInputSize) const void *pPrivatInputData,
- /* [annotation] */
- _Out_ UINT64 *pPrivateOutputData);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCryptoSessionStatus )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11CryptoSession *pCryptoSession,
- /* [annotation] */
- _Out_ D3D11_CRYPTO_SESSION_STATUS *pStatus);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderEnableDownsampling )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE InputColorSpace,
- /* [annotation] */
- _In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc,
- /* [annotation] */
- _In_ UINT ReferenceFrameCount);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderUpdateDownsampling )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ const D3D11_VIDEO_SAMPLE_DESC *pOutputDesc);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputColorSpace1 )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE ColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputShaderUsage )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ BOOL ShaderUsage);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputColorSpace1 )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ DXGI_COLOR_SPACE_TYPE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputShaderUsage )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ BOOL *pShaderUsage);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamColorSpace1 )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ DXGI_COLOR_SPACE_TYPE ColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamMirror )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ BOOL Enable,
- /* [annotation] */
- _In_ BOOL FlipHorizontal,
- /* [annotation] */
- _In_ BOOL FlipVertical);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamColorSpace1 )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ DXGI_COLOR_SPACE_TYPE *pColorSpace);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamMirror )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ BOOL *pEnable,
- /* [annotation] */
- _Out_ BOOL *pFlipHorizontal,
- /* [annotation] */
- _Out_ BOOL *pFlipVertical);
-
- HRESULT ( STDMETHODCALLTYPE *VideoProcessorGetBehaviorHints )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT OutputWidth,
- /* [annotation] */
- _In_ UINT OutputHeight,
- /* [annotation] */
- _In_ DXGI_FORMAT OutputFormat,
- /* [annotation] */
- _In_ UINT StreamCount,
- /* [annotation] */
- _In_reads_(StreamCount) const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *pStreams,
- /* [annotation] */
- _Out_ UINT *pBehaviorHints);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetOutputHDRMetaData )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ DXGI_HDR_METADATA_TYPE Type,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _In_reads_bytes_opt_(Size) const void *pHDRMetaData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetOutputHDRMetaData )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _Out_ DXGI_HDR_METADATA_TYPE *pType,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _Out_writes_bytes_opt_(Size) void *pMetaData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorSetStreamHDRMetaData )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _In_ DXGI_HDR_METADATA_TYPE Type,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _In_reads_bytes_opt_(Size) const void *pHDRMetaData);
-
- void ( STDMETHODCALLTYPE *VideoProcessorGetStreamHDRMetaData )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoProcessor *pVideoProcessor,
- /* [annotation] */
- _In_ UINT StreamIndex,
- /* [annotation] */
- _Out_ DXGI_HDR_METADATA_TYPE *pType,
- /* [annotation] */
- _In_ UINT Size,
- /* [annotation] */
- _Out_writes_bytes_opt_(Size) void *pMetaData);
-
- HRESULT ( STDMETHODCALLTYPE *DecoderBeginFrame1 )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ ID3D11VideoDecoderOutputView *pView,
- UINT ContentKeySize,
- /* [annotation] */
- _In_reads_bytes_opt_(ContentKeySize) const void *pContentKey,
- /* [annotation] */
- _In_range_(0, D3D11_4_VIDEO_DECODER_MAX_HISTOGRAM_COMPONENTS) UINT NumComponentHistograms,
- /* [annotation] */
- _In_reads_opt_(NumComponentHistograms) const UINT *pHistogramOffsets,
- /* [annotation] */
- _In_reads_opt_(NumComponentHistograms) ID3D11Buffer *const *ppHistogramBuffers);
-
- HRESULT ( STDMETHODCALLTYPE *SubmitDecoderBuffers2 )(
- ID3D11VideoContext3 * This,
- /* [annotation] */
- _In_ ID3D11VideoDecoder *pDecoder,
- /* [annotation] */
- _In_ UINT NumBuffers,
- /* [annotation] */
- _In_reads_(NumBuffers) const D3D11_VIDEO_DECODER_BUFFER_DESC2 *pBufferDesc);
-
- END_INTERFACE
- } ID3D11VideoContext3Vtbl;
- interface ID3D11VideoContext3
- {
- CONST_VTBL struct ID3D11VideoContext3Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11VideoContext3_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11VideoContext3_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11VideoContext3_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11VideoContext3_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11VideoContext3_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11VideoContext3_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11VideoContext3_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11VideoContext3_GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer) \
- ( (This)->lpVtbl -> GetDecoderBuffer(This,pDecoder,Type,pBufferSize,ppBuffer) )
- #define ID3D11VideoContext3_ReleaseDecoderBuffer(This,pDecoder,Type) \
- ( (This)->lpVtbl -> ReleaseDecoderBuffer(This,pDecoder,Type) )
- #define ID3D11VideoContext3_DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pContentKey) \
- ( (This)->lpVtbl -> DecoderBeginFrame(This,pDecoder,pView,ContentKeySize,pContentKey) )
- #define ID3D11VideoContext3_DecoderEndFrame(This,pDecoder) \
- ( (This)->lpVtbl -> DecoderEndFrame(This,pDecoder) )
- #define ID3D11VideoContext3_SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDesc) \
- ( (This)->lpVtbl -> SubmitDecoderBuffers(This,pDecoder,NumBuffers,pBufferDesc) )
- #define ID3D11VideoContext3_DecoderExtension(This,pDecoder,pExtensionData) \
- ( (This)->lpVtbl -> DecoderExtension(This,pDecoder,pExtensionData) )
- #define ID3D11VideoContext3_VideoProcessorSetOutputTargetRect(This,pVideoProcessor,Enable,pRect) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputTargetRect(This,pVideoProcessor,Enable,pRect) )
- #define ID3D11VideoContext3_VideoProcessorSetOutputBackgroundColor(This,pVideoProcessor,YCbCr,pColor) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputBackgroundColor(This,pVideoProcessor,YCbCr,pColor) )
- #define ID3D11VideoContext3_VideoProcessorSetOutputColorSpace(This,pVideoProcessor,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace(This,pVideoProcessor,pColorSpace) )
- #define ID3D11VideoContext3_VideoProcessorSetOutputAlphaFillMode(This,pVideoProcessor,AlphaFillMode,StreamIndex) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputAlphaFillMode(This,pVideoProcessor,AlphaFillMode,StreamIndex) )
- #define ID3D11VideoContext3_VideoProcessorSetOutputConstriction(This,pVideoProcessor,Enable,Size) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputConstriction(This,pVideoProcessor,Enable,Size) )
- #define ID3D11VideoContext3_VideoProcessorSetOutputStereoMode(This,pVideoProcessor,Enable) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputStereoMode(This,pVideoProcessor,Enable) )
- #define ID3D11VideoContext3_VideoProcessorSetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext3_VideoProcessorGetOutputTargetRect(This,pVideoProcessor,Enabled,pRect) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputTargetRect(This,pVideoProcessor,Enabled,pRect) )
- #define ID3D11VideoContext3_VideoProcessorGetOutputBackgroundColor(This,pVideoProcessor,pYCbCr,pColor) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputBackgroundColor(This,pVideoProcessor,pYCbCr,pColor) )
- #define ID3D11VideoContext3_VideoProcessorGetOutputColorSpace(This,pVideoProcessor,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace(This,pVideoProcessor,pColorSpace) )
- #define ID3D11VideoContext3_VideoProcessorGetOutputAlphaFillMode(This,pVideoProcessor,pAlphaFillMode,pStreamIndex) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputAlphaFillMode(This,pVideoProcessor,pAlphaFillMode,pStreamIndex) )
- #define ID3D11VideoContext3_VideoProcessorGetOutputConstriction(This,pVideoProcessor,pEnabled,pSize) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputConstriction(This,pVideoProcessor,pEnabled,pSize) )
- #define ID3D11VideoContext3_VideoProcessorGetOutputStereoMode(This,pVideoProcessor,pEnabled) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputStereoMode(This,pVideoProcessor,pEnabled) )
- #define ID3D11VideoContext3_VideoProcessorGetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputExtension(This,pVideoProcessor,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,StreamIndex,FrameFormat) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamFrameFormat(This,pVideoProcessor,StreamIndex,FrameFormat) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamOutputRate(This,pVideoProcessor,StreamIndex,OutputRate,RepeatFrame,pCustomRate) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamOutputRate(This,pVideoProcessor,StreamIndex,OutputRate,RepeatFrame,pCustomRate) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamSourceRect(This,pVideoProcessor,StreamIndex,Enable,pRect) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamSourceRect(This,pVideoProcessor,StreamIndex,Enable,pRect) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamDestRect(This,pVideoProcessor,StreamIndex,Enable,pRect) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamDestRect(This,pVideoProcessor,StreamIndex,Enable,pRect) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamAlpha(This,pVideoProcessor,StreamIndex,Enable,Alpha) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamAlpha(This,pVideoProcessor,StreamIndex,Enable,Alpha) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,Enable,pSourceAspectRatio,pDestinationAspectRatio) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamLumaKey(This,pVideoProcessor,StreamIndex,Enable,Lower,Upper) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamLumaKey(This,pVideoProcessor,StreamIndex,Enable,Lower,Upper) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamStereoFormat(This,pVideoProcessor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamStereoFormat(This,pVideoProcessor,StreamIndex,Enable,Format,LeftViewFrame0,BaseViewFrame0,FlipMode,MonoOffset) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,Enable) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,Enable) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,Enable,Level) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,Enable,Level) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,StreamIndex,pFrameFormat) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamFrameFormat(This,pVideoProcessor,StreamIndex,pFrameFormat) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace(This,pVideoProcessor,StreamIndex,pColorSpace) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamOutputRate(This,pVideoProcessor,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamOutputRate(This,pVideoProcessor,StreamIndex,pOutputRate,pRepeatFrame,pCustomRate) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamSourceRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamSourceRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamDestRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamDestRect(This,pVideoProcessor,StreamIndex,pEnabled,pRect) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamAlpha(This,pVideoProcessor,StreamIndex,pEnabled,pAlpha) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamAlpha(This,pVideoProcessor,StreamIndex,pEnabled,pAlpha) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamPalette(This,pVideoProcessor,StreamIndex,Count,pEntries) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamPixelAspectRatio(This,pVideoProcessor,StreamIndex,pEnabled,pSourceAspectRatio,pDestinationAspectRatio) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamLumaKey(This,pVideoProcessor,StreamIndex,pEnabled,pLower,pUpper) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamLumaKey(This,pVideoProcessor,StreamIndex,pEnabled,pLower,pUpper) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamStereoFormat(This,pVideoProcessor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffset) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamStereoFormat(This,pVideoProcessor,StreamIndex,pEnable,pFormat,pLeftViewFrame0,pBaseViewFrame0,pFlipMode,MonoOffset) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,pEnabled) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamAutoProcessingMode(This,pVideoProcessor,StreamIndex,pEnabled) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,pEnabled,pLevel) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamFilter(This,pVideoProcessor,StreamIndex,Filter,pEnabled,pLevel) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamExtension(This,pVideoProcessor,StreamIndex,pExtensionGuid,DataSize,pData) )
- #define ID3D11VideoContext3_VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame,StreamCount,pStreams) \
- ( (This)->lpVtbl -> VideoProcessorBlt(This,pVideoProcessor,pView,OutputFrame,StreamCount,pStreams) )
- #define ID3D11VideoContext3_NegotiateCryptoSessionKeyExchange(This,pCryptoSession,DataSize,pData) \
- ( (This)->lpVtbl -> NegotiateCryptoSessionKeyExchange(This,pCryptoSession,DataSize,pData) )
- #define ID3D11VideoContext3_EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,IVSize,pIV) \
- ( (This)->lpVtbl -> EncryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,IVSize,pIV) )
- #define ID3D11VideoContext3_DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) \
- ( (This)->lpVtbl -> DecryptionBlt(This,pCryptoSession,pSrcSurface,pDstSurface,pEncryptedBlockInfo,ContentKeySize,pContentKey,IVSize,pIV) )
- #define ID3D11VideoContext3_StartSessionKeyRefresh(This,pCryptoSession,RandomNumberSize,pRandomNumber) \
- ( (This)->lpVtbl -> StartSessionKeyRefresh(This,pCryptoSession,RandomNumberSize,pRandomNumber) )
- #define ID3D11VideoContext3_FinishSessionKeyRefresh(This,pCryptoSession) \
- ( (This)->lpVtbl -> FinishSessionKeyRefresh(This,pCryptoSession) )
- #define ID3D11VideoContext3_GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbackKey) \
- ( (This)->lpVtbl -> GetEncryptionBltKey(This,pCryptoSession,KeySize,pReadbackKey) )
- #define ID3D11VideoContext3_NegotiateAuthenticatedChannelKeyExchange(This,pChannel,DataSize,pData) \
- ( (This)->lpVtbl -> NegotiateAuthenticatedChannelKeyExchange(This,pChannel,DataSize,pData) )
- #define ID3D11VideoContext3_QueryAuthenticatedChannel(This,pChannel,InputSize,pInput,OutputSize,pOutput) \
- ( (This)->lpVtbl -> QueryAuthenticatedChannel(This,pChannel,InputSize,pInput,OutputSize,pOutput) )
- #define ID3D11VideoContext3_ConfigureAuthenticatedChannel(This,pChannel,InputSize,pInput,pOutput) \
- ( (This)->lpVtbl -> ConfigureAuthenticatedChannel(This,pChannel,InputSize,pInput,pOutput) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamRotation(This,pVideoProcessor,StreamIndex,Enable,Rotation) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamRotation(This,pVideoProcessor,StreamIndex,Enable,Rotation) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamRotation(This,pVideoProcessor,StreamIndex,pEnable,pRotation) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamRotation(This,pVideoProcessor,StreamIndex,pEnable,pRotation) )
- #define ID3D11VideoContext3_SubmitDecoderBuffers1(This,pDecoder,NumBuffers,pBufferDesc) \
- ( (This)->lpVtbl -> SubmitDecoderBuffers1(This,pDecoder,NumBuffers,pBufferDesc) )
- #define ID3D11VideoContext3_GetDataForNewHardwareKey(This,pCryptoSession,PrivateInputSize,pPrivatInputData,pPrivateOutputData) \
- ( (This)->lpVtbl -> GetDataForNewHardwareKey(This,pCryptoSession,PrivateInputSize,pPrivatInputData,pPrivateOutputData) )
- #define ID3D11VideoContext3_CheckCryptoSessionStatus(This,pCryptoSession,pStatus) \
- ( (This)->lpVtbl -> CheckCryptoSessionStatus(This,pCryptoSession,pStatus) )
- #define ID3D11VideoContext3_DecoderEnableDownsampling(This,pDecoder,InputColorSpace,pOutputDesc,ReferenceFrameCount) \
- ( (This)->lpVtbl -> DecoderEnableDownsampling(This,pDecoder,InputColorSpace,pOutputDesc,ReferenceFrameCount) )
- #define ID3D11VideoContext3_DecoderUpdateDownsampling(This,pDecoder,pOutputDesc) \
- ( (This)->lpVtbl -> DecoderUpdateDownsampling(This,pDecoder,pOutputDesc) )
- #define ID3D11VideoContext3_VideoProcessorSetOutputColorSpace1(This,pVideoProcessor,ColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputColorSpace1(This,pVideoProcessor,ColorSpace) )
- #define ID3D11VideoContext3_VideoProcessorSetOutputShaderUsage(This,pVideoProcessor,ShaderUsage) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputShaderUsage(This,pVideoProcessor,ShaderUsage) )
- #define ID3D11VideoContext3_VideoProcessorGetOutputColorSpace1(This,pVideoProcessor,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputColorSpace1(This,pVideoProcessor,pColorSpace) )
- #define ID3D11VideoContext3_VideoProcessorGetOutputShaderUsage(This,pVideoProcessor,pShaderUsage) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputShaderUsage(This,pVideoProcessor,pShaderUsage) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamColorSpace1(This,pVideoProcessor,StreamIndex,ColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamColorSpace1(This,pVideoProcessor,StreamIndex,ColorSpace) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamMirror(This,pVideoProcessor,StreamIndex,Enable,FlipHorizontal,FlipVertical) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamMirror(This,pVideoProcessor,StreamIndex,Enable,FlipHorizontal,FlipVertical) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamColorSpace1(This,pVideoProcessor,StreamIndex,pColorSpace) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamColorSpace1(This,pVideoProcessor,StreamIndex,pColorSpace) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamMirror(This,pVideoProcessor,StreamIndex,pEnable,pFlipHorizontal,pFlipVertical) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamMirror(This,pVideoProcessor,StreamIndex,pEnable,pFlipHorizontal,pFlipVertical) )
- #define ID3D11VideoContext3_VideoProcessorGetBehaviorHints(This,pVideoProcessor,OutputWidth,OutputHeight,OutputFormat,StreamCount,pStreams,pBehaviorHints) \
- ( (This)->lpVtbl -> VideoProcessorGetBehaviorHints(This,pVideoProcessor,OutputWidth,OutputHeight,OutputFormat,StreamCount,pStreams,pBehaviorHints) )
- #define ID3D11VideoContext3_VideoProcessorSetOutputHDRMetaData(This,pVideoProcessor,Type,Size,pHDRMetaData) \
- ( (This)->lpVtbl -> VideoProcessorSetOutputHDRMetaData(This,pVideoProcessor,Type,Size,pHDRMetaData) )
- #define ID3D11VideoContext3_VideoProcessorGetOutputHDRMetaData(This,pVideoProcessor,pType,Size,pMetaData) \
- ( (This)->lpVtbl -> VideoProcessorGetOutputHDRMetaData(This,pVideoProcessor,pType,Size,pMetaData) )
- #define ID3D11VideoContext3_VideoProcessorSetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,Type,Size,pHDRMetaData) \
- ( (This)->lpVtbl -> VideoProcessorSetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,Type,Size,pHDRMetaData) )
- #define ID3D11VideoContext3_VideoProcessorGetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,pType,Size,pMetaData) \
- ( (This)->lpVtbl -> VideoProcessorGetStreamHDRMetaData(This,pVideoProcessor,StreamIndex,pType,Size,pMetaData) )
- #define ID3D11VideoContext3_DecoderBeginFrame1(This,pDecoder,pView,ContentKeySize,pContentKey,NumComponentHistograms,pHistogramOffsets,ppHistogramBuffers) \
- ( (This)->lpVtbl -> DecoderBeginFrame1(This,pDecoder,pView,ContentKeySize,pContentKey,NumComponentHistograms,pHistogramOffsets,ppHistogramBuffers) )
- #define ID3D11VideoContext3_SubmitDecoderBuffers2(This,pDecoder,NumBuffers,pBufferDesc) \
- ( (This)->lpVtbl -> SubmitDecoderBuffers2(This,pDecoder,NumBuffers,pBufferDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11VideoContext3_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_4_0000_0006 */
- /* [local] */
- typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS4
- {
- BOOL ExtendedNV12SharedTextureSupported;
- } D3D11_FEATURE_DATA_D3D11_OPTIONS4;
- DEFINE_GUID(IID_ID3D11Device4,0x8992ab71,0x02e6,0x4b8d,0xba,0x48,0xb0,0x56,0xdc,0xda,0x42,0xc4);
- DEFINE_GUID(IID_ID3D11Device5,0x8ffde202,0xa0e7,0x45df,0x9e,0x01,0xe8,0x37,0x80,0x1b,0x5e,0xa0);
- DEFINE_GUID(IID_ID3D11Multithread,0x9B7E4E00,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
- DEFINE_GUID(IID_ID3D11VideoContext2,0xC4E7374C,0x6243,0x4D1B,0xAE,0x87,0x52,0xB4,0xF7,0x40,0xE2,0x61);
- DEFINE_GUID(IID_ID3D11VideoDevice2,0x59C0CB01,0x35F0,0x4A70,0x8F,0x67,0x87,0x90,0x5C,0x90,0x6A,0x53);
- DEFINE_GUID(IID_ID3D11VideoContext3,0xA9E2FAA0,0xCB39,0x418F,0xA0,0xB7,0xD8,0xAA,0xD4,0xDE,0x67,0x2E);
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0006_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_4_0000_0006_v0_0_s_ifspec;
- /* Additional Prototypes for ALL interfaces */
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif
|