OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numDecoders
(Results
1 - 3
of
3
) sorted by null
/frameworks/wilhelm/src/itf/
IAudioDecoderCapabilities.c
32
SLuint32
numDecoders
= *pNumDecoders;
33
if (
numDecoders
> MAX_DECODERS) {
34
numDecoders
= MAX_DECODERS;
35
} else if (
numDecoders
< MAX_DECODERS) {
39
memcpy(pDecoderIds, Decoder_IDs,
numDecoders
* sizeof(SLuint32));
IVideoDecoderCapabilities.cpp
45
XAuint32
numDecoders
= *pNumDecoders;
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/
xaVideoDecoderCapabilities.cpp
248
XAuint32
numDecoders
= 0;
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 117 milliseconds