Searched refs:MPH (Results 1 - 12 of 12) sorted by relevance
/system/media/wilhelm/tools/hashgen/ |
H A D | part8.c | 2 int MPH = hash_to_MPH[key]; variable 3 if (MPH >= 0) { 4 assert(MPH < MPH_MAX); 5 SLInterfaceID trial = &SL_IID_array[MPH]; 7 return MPH;
|
H A D | frag3.c | 4 extern void MPH_to_MPH_string(unsigned MPH, char buffer[40]); 15 unsigned MPH; local 16 for (MPH = 0; MPH < MPH_MAX; ++MPH, ++xx) { 20 MPH_to_MPH_string(MPH, buffer);
|
H A D | frag1.c | 20 #include "MPH.h" 28 int MPH; local 30 for (MPH = 0; MPH < MPH_MAX; ++MPH, ++x) {
|
H A D | interfaces.c | 21 #include "MPH.h" 129 /** Convert an MPH value to an MPH identifier */ 131 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument 133 assert(MPH_MAX > MPH); 136 strcpy(buffer, "MPH"); 139 strcat(buffer, interface_names[MPH]);
|
/system/media/wilhelm/src/ |
H A D | interfaces.c | 21 #include "MPH.h" 129 /** Convert an MPH value to an MPH identifier */ 131 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument 133 assert(MPH_MAX > MPH); 136 strcpy(buffer, "MPH"); 139 strcat(buffer, interface_names[MPH]);
|
H A D | sles.c | 30 bool IsInterfaceInitialized(IObject *thiz, unsigned MPH) argument 33 assert( /* (MPH_MIN <= MPH) && */ (MPH < (unsigned) MPH_MAX)); 37 if (0 > (index = clazz->mMPH_to_index[MPH])) { 193 int MPH, index; local 194 if ((0 > (MPH = IID_to_MPH(iid))) || 196 (NULL == MPH_init_table[MPH].mInit) || 197 (0 > (index = clazz->mMPH_to_index[MPH])) || 202 SL_LOGE("class %s interface %u required but unavailable MPH=%d", 203 clazz->mName, i, MPH); [all...] |
H A D | sles_allinclusive.h | 56 #include "MPH.h" 198 unsigned char mMPH; // primary MPH for this interface, does not include any aliases 407 extern bool IsInterfaceInitialized(IObject *thiz, unsigned MPH);
|
/system/media/wilhelm/src/itf/ |
H A D | IDynamicInterfaceManagement.c | 23 // Parameter self is the DynamicInterface, and MPH specifies which interface to add. 25 static void HandleAdd(void *self, void *ignored, int MPH) argument 33 assert(0 <= MPH && MPH < MPH_MAX); 36 int index = clazz->mMPH_to_index[MPH]; 56 BoolHook expose = MPH_init_table[MPH].mExpose; 98 const SLInterfaceID iid = &SL_IID_array[MPH]; // equal but not == to the original IID 117 int MPH, index; local 118 if ((0 > (MPH = IID_to_MPH(iid))) || 120 // (NULL == MPH_init_table[MPH] 213 int MPH, index; local 281 HandleResume(void *self, void *ignored, int MPH) argument 365 int MPH, index; local [all...] |
H A D | IEffectSend.c | 62 unsigned MPH = AUX_to_MPH[aux]; local 63 int index = MPH_to_OutputMix[MPH]; 65 SL_LOGE("EffectSend aux=%u MPH=%u", aux, MPH);
|
H A D | IObject.c | 338 int MPH, index; local 339 if ((0 > (MPH = IID_to_MPH(iid))) || 341 // (NULL == MPH_init_table[MPH].mInit) || 342 (0 > (index = clazz->mMPH_to_index[MPH]))) { 351 } else if ((MPH_MUTESOLO == MPH) && (SL_OBJECTID_AUDIOPLAYER == 708 int MPH, index; local 709 // We ignore without error any invalid MPH or index, but spec is unclear 710 if ((0 <= (MPH = IID_to_MPH(iid))) && 712 // (NULL == MPH_init_table[MPH].mInit) || 713 (0 <= (index = clazz->mMPH_to_index[MPH]))) { [all...] |
/system/media/wilhelm/src/autogen/ |
H A D | IID_to_MPH.c | 19 /** \file IID_to_MPH.c Interface ID to MPH mapping */ 22 #include "MPH.h" 28 /** \brief Map SLInterfaceID to its minimal perfect hash (MPH), or -1 if unknown */ 252 int MPH = hash_to_MPH[key]; local 253 if (MPH >= 0) { 254 assert(MPH < MPH_MAX); 255 SLInterfaceID trial = &SL_IID_array[MPH]; 257 return MPH;
|
/system/media/wilhelm/tools/mphtogen/ |
H A D | Makefile | 10 mphtogen : mphtogen.c MPH_to.c MPH.h MPH_to.h
|
Completed in 62 milliseconds