Searched refs:numDecoders (Results 1 - 3 of 3) sorted by relevance
/frameworks/wilhelm/src/itf/ |
H A D | IAudioDecoderCapabilities.c | 32 SLuint32 numDecoders = *pNumDecoders; local 33 if (numDecoders > MAX_DECODERS) { 34 numDecoders = MAX_DECODERS; 35 } else if (numDecoders < MAX_DECODERS) { 39 memcpy(pDecoderIds, Decoder_IDs, numDecoders * sizeof(SLuint32));
|
H A D | IVideoDecoderCapabilities.cpp | 45 XAuint32 numDecoders = *pNumDecoders; local 48 if (androidNbDecoders < numDecoders) { 49 *pNumDecoders = numDecoders = androidNbDecoders; 51 android::android_videoCodec_getDecoderIds(numDecoders, pDecoderIds); 53 if (kMaxVideoDecoders < numDecoders) { 54 *pNumDecoders = numDecoders = kMaxVideoDecoders; 56 memcpy(pDecoderIds, VideoDecoderIds, numDecoders * sizeof(XAuint32));
|
/frameworks/wilhelm/tests/examples/ |
H A D | xaVideoDecoderCapabilities.cpp | 248 XAuint32 numDecoders = 0; local 252 res = (*decItf)->GetVideoDecoders(decItf, &numDecoders, NULL); ExitOnError(res); 253 fprintf(stdout, "Found %d video decoders\n", numDecoders); 254 if (0 == numDecoders) { 260 decoderIds = (XAuint32 *) malloc(numDecoders * sizeof(XAuint32)); 261 res = (*decItf)->GetVideoDecoders(decItf, &numDecoders, decoderIds); ExitOnError(res); 263 for(XAuint32 i = 0 ; i < numDecoders ; i++) { 269 for(XAuint32 i = 0 ; i < numDecoders ; i++) {
|
Completed in 826 milliseconds