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