Home | History | Annotate | Download | only in src

Lines Matching defs:nIndex

943     int                 nIndex,
956 if (pCtx->nInbufs <= nIndex) {
962 *pBuffer = (ExynosVideoBuffer *)&pCtx->pInbuf[nIndex];
973 int nIndex,
986 if (pCtx->nOutbufs <= nIndex) {
992 *pBuffer = (ExynosVideoBuffer *)&pCtx->pOutbuf[nIndex];
1620 int nIndex;
1628 for (nIndex = 0; nIndex < pCtx->nInbufs; nIndex++) {
1629 if (pCtx->pInbuf[nIndex].bRegistered == VIDEO_FALSE) {
1632 pCtx->pInbuf[nIndex].planes[plane].addr = planes[plane].addr;
1633 pCtx->pInbuf[nIndex].planes[plane].allocSize = planes[plane].allocSize;
1634 pCtx->pInbuf[nIndex].planes[plane].fd = planes[plane].fd;
1636 pCtx->pInbuf[nIndex].bRegistered = VIDEO_TRUE;
1641 if (nIndex == pCtx->nInbufs) {
1657 int nIndex;
1665 for (nIndex = 0; nIndex < pCtx->nOutbufs; nIndex++) {
1666 if (pCtx->pOutbuf[nIndex].bRegistered == VIDEO_FALSE) {
1669 pCtx->pOutbuf[nIndex].planes[plane].addr = planes[plane].addr;
1670 pCtx->pOutbuf[nIndex].planes[plane].allocSize = planes[plane].allocSize;
1671 pCtx->pOutbuf[nIndex].planes[plane].fd = planes[plane].fd;
1673 pCtx->pOutbuf[nIndex].bRegistered = VIDEO_TRUE;
1678 if (nIndex == pCtx->nOutbufs) {
1691 int nIndex = -1;
1699 for (nIndex = 0; nIndex < pCtx->nInbufs; nIndex++) {
1700 pCtx->pInbuf[nIndex].planes[0].addr = NULL;
1701 pCtx->pInbuf[nIndex].bRegistered = VIDEO_FALSE;
1712 int nIndex = -1;
1720 for (nIndex = 0; nIndex < pCtx->nOutbufs; nIndex++) {
1721 pCtx->pOutbuf[nIndex].planes[0].addr = NULL;
1722 pCtx->pOutbuf[nIndex].bRegistered = VIDEO_FALSE;
1737 int nIndex = -1;
1744 for (nIndex = 0; nIndex < pCtx->nInbufs; nIndex++) {
1745 if (pCtx->pInbuf[nIndex].bQueued == VIDEO_FALSE) {
1747 (pCtx->pInbuf[nIndex].planes[0].addr == pBuffer))
1752 if (nIndex == pCtx->nInbufs)
1753 nIndex = -1;
1756 return nIndex;
1767 int nIndex = -1;
1774 for (nIndex = 0; nIndex < pCtx->nOutbufs; nIndex++) {
1775 if (pCtx->pOutbuf[nIndex].bQueued == VIDEO_FALSE) {
1777 (pCtx->pOutbuf[nIndex].planes[0].addr == pBuffer))
1782 if (nIndex == pCtx->nOutbufs)
1783 nIndex = -1;
1786 return nIndex;
2144 int nIndex = -1;
2151 for (nIndex = 0; nIndex < pCtx->nInbufs; nIndex++) {
2152 if (pCtx->pInbuf[nIndex
2157 if (nIndex == pCtx->nInbufs)
2158 nIndex = -1;
2161 return nIndex;