\hypertarget{a00647_source}{}\doxysection{AAX\+\_\+\+IDma.\+h}
\label{a00647_source}\index{AAX\_IDma.h@{AAX\_IDma.h}}
\mbox{\hyperlink{a00647}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ Copyright\ 2014-\/2015,\ 2023\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ CONFIDENTIAL:\ this\ document\ contains\ confidential\ information\ of\ Avid.\ Do}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ not\ disclose\ to\ any\ third\ party.\ Use\ of\ the\ information\ contained\ in\ this}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ \ document\ is\ subject\ to\ an\ Avid\ SDK\ license.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00019\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#ifndef\ AAX\_IDMA\_H}}
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#define\ AAX\_IDMA\_H}}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00533}{AAX.h}}"{}}}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#ifndef\ AAX\_DMA\_API}}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#\ \ \ ifdef\ \_MSC\_VER}}
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#\ \ \ \ \ \ \ define\ AAX\_DMA\_API\ \ \ \ \ \ \_\_cdecl}}
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#\ \ \ else}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#\ \ \ \ \ \ \ define\ AAX\_DMA\_API}}
\DoxyCodeLine{00035\ \textcolor{preprocessor}{\#\ \ \ endif}}
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ AAX\_DMA\_API}}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00049\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a02229}{AAX\_IDma}}\ }
\DoxyCodeLine{00050\ \{}
\DoxyCodeLine{00051\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00052\ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a02229_a64e694fd40d32179e429eb7934a64842}{EState}}}
\DoxyCodeLine{00053\ \ \ \ \ \{}
\DoxyCodeLine{00054\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02229_a64e694fd40d32179e429eb7934a64842a69a920ab4dfa07772db187753b2792c3}{eState\_Error}}\ =\ -\/1,}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02229_a64e694fd40d32179e429eb7934a64842a30c329d408f76e22e599bd595d5a05ee}{eState\_Init}}\ =\ 0,}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02229_a64e694fd40d32179e429eb7934a64842ab6dd06647cf9721e5b0b737952c3bb95}{eState\_Running}}\ =\ 1,}
\DoxyCodeLine{00057\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02229_a64e694fd40d32179e429eb7934a64842a0bc0574a45ed068800b0c7478084ae59}{eState\_Complete}}\ =\ 2,}
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02229_a64e694fd40d32179e429eb7934a64842ac7d67500e8f2bb9c260956db33549d4f}{eState\_Pending}}\ =\ 3}
\DoxyCodeLine{00059\ \ \ \ \ \};}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \ \ \ \ \textcolor{comment}{//\ WARNING!\ These\ need\ to\ be\ kept\ in\ sync\ with\ the\ TI\ dMAX\ microcode\ EventType\ IDs!}}
\DoxyCodeLine{00067\ \textcolor{comment}{}\ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{a02229_af8d0f19f2896dd6dbd126b919b24e39b}{EMode}}}
\DoxyCodeLine{00068\ \ \ \ \ \{}
\DoxyCodeLine{00069\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02229_af8d0f19f2896dd6dbd126b919b24e39ba258186a22f0d1691d0cb369c5af278a8}{eMode\_Error}}\ =\ -\/1,}
\DoxyCodeLine{00070\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00071\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02229_af8d0f19f2896dd6dbd126b919b24e39ba253c129077dc004dd83cca8931e69eb9}{eMode\_Burst}}\ =\ 6,\ \ \ \ \ }
\DoxyCodeLine{00072\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02229_af8d0f19f2896dd6dbd126b919b24e39badec2b76540ba9a168b7a049acb50654d}{eMode\_Gather}}\ =\ 10,\ \ \ \ \ \ }
\DoxyCodeLine{00073\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02229_af8d0f19f2896dd6dbd126b919b24e39bac8f3cbed92bc7d135e306cc154ac2ae6}{eMode\_Scatter}}\ =\ 11,\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00074\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00075\ \ \ \ \ \};\ }
\DoxyCodeLine{00076\ \ \ \ \ }
\DoxyCodeLine{00077\ }
\DoxyCodeLine{00078\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00079\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a02229_a6e3ec99b5c67a48fa9d53087c833a990}{\string~AAX\_IDma}}()\ \{\}}
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00082\ }
\DoxyCodeLine{00097\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_ac732944930f4fce9c47b59fe278eddc1}{PostRequest}}()\ =\ 0;}
\DoxyCodeLine{00112\ \ \ \ \ \textcolor{keyword}{virtual}\ int32\_t\ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a44981285d022e5ddee41d903eed68a7d}{IsTransferComplete}}()\ =\ 0;}
\DoxyCodeLine{00119\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a4d1a182655fef78b18d564a5669bae18}{SetDmaState}}(\ \mbox{\hyperlink{a02229_a64e694fd40d32179e429eb7934a64842}{EState}}\ iState\ )\ =\ 0;}
\DoxyCodeLine{00122\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a02229_a64e694fd40d32179e429eb7934a64842}{EState}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_ab5cf4ad618853e4a94ed63a693d7b800}{GetDmaState}}()\ \textcolor{keyword}{const}\ =\ 0;}
\DoxyCodeLine{00127\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a02229_af8d0f19f2896dd6dbd126b919b24e39b}{EMode}}\ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a9bd67775d41c32da19d5532362fe86c8}{GetDmaMode}}()\ \textcolor{keyword}{const}\ =\ 0;}
\DoxyCodeLine{00129\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00130\ \ \ \ \ }
\DoxyCodeLine{00132\ }
\DoxyCodeLine{00145\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a92774eab2dec8864d617e2655f3de00d}{SetSrc}}(\ int8\_t\ *\ iSrc\ )\ =\ 0;}
\DoxyCodeLine{00148\ \ \ \ \ \textcolor{keyword}{virtual}\ int8\_t\ *\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a41493395954117a2623c1e983ee990be}{GetSrc}}()\ =\ 0;}
\DoxyCodeLine{00157\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a80c98a61fc14c8cc87a30360e92655fe}{SetDst}}(\ int8\_t\ *\ iDst\ )\ =\ 0;}
\DoxyCodeLine{00160\ \ \ \ \ \textcolor{keyword}{virtual}\ int8\_t\ *\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a9fc226b4a2d65fe6a0085aa0f90edccc}{GetDst}}()\ =\ 0;}
\DoxyCodeLine{00161\ \ \ \ \ }
\DoxyCodeLine{00169\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_ac85fdea20b072cbdc258aa398d02fa92}{SetBurstLength}}(\ int32\_t\ iBurstLengthBytes\ )\ =\ 0;}
\DoxyCodeLine{00172\ \ \ \ \ \textcolor{keyword}{virtual}\ int32\_t\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_ac4ded104803ed34131be6924d591f0e6}{GetBurstLength}}()\ =\ 0;}
\DoxyCodeLine{00185\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a174fc7382d7f587252f4a9e557830b91}{SetNumBursts}}(\ int32\_t\ iNumBursts\ )\ =\ 0;}
\DoxyCodeLine{00188\ \ \ \ \ \textcolor{keyword}{virtual}\ int32\_t\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_ae8a335f5230a5f7face87f9efb7c8aaf}{GetNumBursts}}()\ =\ 0;}
\DoxyCodeLine{00196\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a4d38f5502dc2446ea997e675d3f59d61}{SetTransferSize}}(\ int32\_t\ iTransferSizeBytes\ )\ =\ 0;}
\DoxyCodeLine{00199\ \ \ \ \ \textcolor{keyword}{virtual}\ int32\_t\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a3cd20d341b8b592d259716768a03a88a}{GetTransferSize}}()\ =\ 0;}
\DoxyCodeLine{00201\ }
\DoxyCodeLine{00202\ }
\DoxyCodeLine{00204\ }
\DoxyCodeLine{00214\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_afeda3af6b2c5da7a8b2759aa9429c7dc}{SetFifoBuffer}}(\ int8\_t\ *\ iFifoBase\ )\ =\ 0;}
\DoxyCodeLine{00217\ \ \ \ \ \textcolor{keyword}{virtual}\ int8\_t\ *\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a92de4b24added5759543181910c91dac}{GetFifoBuffer}}()\ =\ 0;}
\DoxyCodeLine{00222\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_ad0c409f61f989e72f6afd47cb02b108e}{SetLinearBuffer}}(\ int8\_t\ *\ iLinearBase\ )\ =\ 0;}
\DoxyCodeLine{00225\ \ \ \ \ \textcolor{keyword}{virtual}\ int8\_t\ *\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a281433c44d49923671bba494bbce1661}{GetLinearBuffer}}()\ =\ 0;}
\DoxyCodeLine{00238\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a9a106088088a8fc812b137bd90c0fa3a}{SetOffsetTable}}(\ \textcolor{keyword}{const}\ int32\_t\ *\ iOffsetTable\ )\ =\ 0;}
\DoxyCodeLine{00241\ \ \ \ \ \textcolor{keyword}{virtual}\ \textcolor{keyword}{const}\ int32\_t\ *\ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a9cec9e4b24e892dc76e9824d8d57b1b9}{GetOffsetTable}}()\ =\ 0;}
\DoxyCodeLine{00248\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a58f2933fda57ac6a1cdf20cce96aceac}{SetNumOffsets}}(\ int32\_t\ iNumOffsets\ )\ =\ 0;}
\DoxyCodeLine{00251\ \ \ \ \ \textcolor{keyword}{virtual}\ int32\_t\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a582df429c4f543d66d63c87e2ea3a1e2}{GetNumOffsets}}()\ =\ 0;}
\DoxyCodeLine{00261\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_ac3a22df0462c7f4888a429b3eadae4dd}{SetBaseOffset}}(\ int32\_t\ iBaseOffsetBytes\ )\ =\ 0;}
\DoxyCodeLine{00264\ \ \ \ \ \textcolor{keyword}{virtual}\ int32\_t\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a1f6ce2d66bb6c26fa4e7e70821e8bd2d}{GetBaseOffset}}()\ =\ 0;}
\DoxyCodeLine{00272\ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_a98f731e4c7c60a3b6b969fd699448224}{SetFifoSize}}(\ int32\_t\ iSizeBytes\ )\ =\ 0;}
\DoxyCodeLine{00275\ \ \ \ \ \textcolor{keyword}{virtual}\ int32\_t\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00647_acae60d01e5e4bd3282369d0d9d378f3f}{AAX\_DMA\_API}}\ \ \ \ \ \ \mbox{\hyperlink{a02229_aae573c01b6ecc918978f74881e87a761}{GetFifoSize}}()\ =\ 0;}
\DoxyCodeLine{00277\ \};}
\DoxyCodeLine{00278\ }
\DoxyCodeLine{00279\ }
\DoxyCodeLine{00280\ }
\DoxyCodeLine{00281\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ AAX\_IDMA\_H}}

\end{DoxyCode}
