Searched refs:nElems (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/xf86-video-neomagic/dist/src/
H A Dneo_video.c37 #define nElems(x) (sizeof(x) / sizeof(x[0])) macro
222 overlayAdaptor->nEncodings = nElems(NEOVideoEncodings);
224 for (i = 0; i < nElems(NEOVideoEncodings); i++){
228 overlayAdaptor->nFormats = nElems(NEOVideoFormats);
234 overlayAdaptor->nAttributes = nElems(NEOVideoAttributes);
236 overlayAdaptor->nImages = nElems(NEOVideoImages);
933 offscreenImages->num_attributes = nElems(NEOVideoAttributes);
/xsrc/external/mit/xf86-video-siliconmotion/dist/src/
H A Dsmi_video.c71 #define nElems(x) (sizeof(x) / sizeof(x[0])) macro
863 for (i = 0; i < nElems(SMI_VideoEncodings); i++)
870 ptrAdaptor->nFormats = nElems(SMI_VideoFormats);
873 ptrAdaptor->nAttributes = nElems(SMI_VideoAttributes);
877 ptrAdaptor->nImages = nElems(SMI501_VideoImages);
881 ptrAdaptor->nImages = nElems(SMI_VideoImages);
2184 offscreenImages->num_attributes = nElems(SMI_VideoAttributes);
2187 offscreenImages->num_attributes = nElems(SMI_VideoAttributesSAA711x);

Completed in 67 milliseconds