Home
last modified time | relevance | path

Searched refs:this (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/AliOS-Things-master/components/SDL2/src/audio/sun/
A DSDL_sunaudio.c154 if (write(this->hidden->audio_fd, this->hidden->ulaw_buf, in SUNAUDIO_PlayDevice()
159 this->hidden->written += this->hidden->fragsize; in SUNAUDIO_PlayDevice()
164 if (write(this->hidden->audio_fd, this->hidden->mixbuf, in SUNAUDIO_PlayDevice()
169 this->hidden->written += this->hidden->fragsize; in SUNAUDIO_PlayDevice()
253 this->hidden->audio_fmt = this->spec.format; in SUNAUDIO_OpenDevice()
311 this->hidden->fragsize = (this->spec.samples * 1000) / in SUNAUDIO_OpenDevice()
320 this->hidden->fragsize = this->spec.samples; in SUNAUDIO_OpenDevice()
321 this->hidden->frequency = this->spec.freq / 1000; in SUNAUDIO_OpenDevice()
327 this->spec.format, this->spec.channels, this->spec.freq); in SUNAUDIO_OpenDevice()
334 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->spec.size); in SUNAUDIO_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/wasapi/
A DSDL_wasapi.c189 if ( (this->callbackspec.channels == this->spec.channels) && in UpdateAudioStream()
190 (this->callbackspec.format == this->spec.format) && in UpdateAudioStream()
191 (this->callbackspec.freq == this->spec.freq) && in UpdateAudioStream()
192 (this->callbackspec.samples == this->spec.samples) ) { in UpdateAudioStream()
204 this->stream = SDL_NewAudioStream(this->spec.format, in UpdateAudioStream()
222 if (this->spec.size > this->work_buffer_len) { in UpdateAudioStream()
228 this->work_buffer_len = this->spec.size; in UpdateAudioStream()
306 … WasapiFailed(this, IAudioRenderClient_ReleaseBuffer(this->hidden->render, this->spec.samples, 0)); in WASAPI_PlayDevice()
313 while (RecoverWasapiIfLost(this) && this->hidden->client && this->hidden->event) { in WASAPI_WaitDevice()
619 this->hidden->framesize = (SDL_AUDIO_BITSIZE(this->spec.format) / 8) * this->spec.channels; in WASAPI_PrepDevice()
[all …]
A DSDL_wasapi_win32.c109 *ppv = this; in SDLMMNotificationClient_QueryInterface()
110 this->lpVtbl->AddRef(this); in SDLMMNotificationClient_QueryInterface()
132 SDL_AtomicSet(&this->refcount, 0); /* uhh... */ in SDLMMNotificationClient_Release()
290 this->hidden->coinitialized = SDL_TRUE; in WASAPI_PlatformThreadInit()
306 this->hidden->task = NULL; in WASAPI_PlatformThreadDeinit()
309 if (this->hidden->coinitialized) { in WASAPI_PlatformThreadDeinit()
311 this->hidden->coinitialized = SDL_FALSE; in WASAPI_PlatformThreadDeinit()
318 LPCWSTR devid = this->hidden->devid; in WASAPI_ActivateDevice()
331 this->hidden->client = NULL; in WASAPI_ActivateDevice()
340 SDL_assert(this->hidden->client == NULL); in WASAPI_ActivateDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/winmm/
A DSDL_winmm.c167 &this->hidden->wavebuf[this->hidden->next_buffer], in WINMM_PlayDevice()
169 this->hidden->next_buffer = (this->hidden->next_buffer + 1) % NUM_BUFFERS; in WINMM_PlayDevice()
184 SDL_memcpy(buffer, this->hidden->wavebuf[nextbuf].lpData, this->spec.size); in WINMM_CaptureFromDevice()
196 return this->spec.size; in WINMM_CaptureFromDevice()
218 if (this->hidden->hout) { in WINMM_CloseDevice()
233 if (this->hidden->hin) { in WINMM_CloseDevice()
252 SDL_free(this->hidden); in WINMM_CloseDevice()
301 SDL_zerop(this->hidden); in WINMM_OpenDevice()
384 this->hidden->mixbuf = in WINMM_OpenDevice()
392 this->hidden->wavebuf[i].dwBufferLength = this->spec.size; in WINMM_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/psp/
A DSDL_pspaudio.c50 if (this->hidden == NULL) { in PSPAUDIO_OpenDevice()
53 SDL_zerop(this->hidden); in PSPAUDIO_OpenDevice()
64 this->spec.samples = PSP_AUDIO_SAMPLE_ALIGN(this->spec.samples); in PSPAUDIO_OpenDevice()
65 this->spec.freq = 44100; in PSPAUDIO_OpenDevice()
83 this->spec.channels = 2; in PSPAUDIO_OpenDevice()
86 this->hidden->channel = sceAudioChReserve(PSP_AUDIO_NEXT_CHANNEL, this->spec.samples, format); in PSPAUDIO_OpenDevice()
95 this->hidden->mixbufs[i] = &this->hidden->rawbuf[i * this->spec.size]; in PSPAUDIO_OpenDevice()
104 Uint8 *mixbuf = this->hidden->mixbufs[this->hidden->next_buffer]; in PSPAUDIO_PlayDevice()
112 this->hidden->next_buffer = (this->hidden->next_buffer + 1) % NUM_BUFFERS; in PSPAUDIO_PlayDevice()
122 return this->hidden->mixbufs[this->hidden->next_buffer]; in PSPAUDIO_GetDeviceBuf()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/fusionsound/
A DSDL_fsaudio.c133 this->hidden->stream->Wait(this->hidden->stream, in SDL_FS_WaitDevice()
142 ret = this->hidden->stream->Write(this->hidden->stream, in SDL_FS_PlayDevice()
166 this->hidden->stream->Release(this->hidden->stream); in SDL_FS_CloseDevice()
169 this->hidden->fs->Release(this->hidden->fs); in SDL_FS_CloseDevice()
240 this->hidden->mixsamples = this->spec.size / bytes / this->spec.channels; in SDL_FS_OpenDevice()
252 this->hidden->fs->CreateStream(this->hidden->fs, &desc, in SDL_FS_OpenDevice()
261 ret = this->hidden->stream->GetDescription(this->hidden->stream, &desc); in SDL_FS_OpenDevice()
264 this->spec.size = in SDL_FS_OpenDevice()
272 this->hidden->mixlen = this->spec.size; in SDL_FS_OpenDevice()
273 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->hidden->mixlen); in SDL_FS_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/emscripten/
A DSDL_emscriptenaudio.c59 if (!SDL_AtomicGet(&this->enabled) || SDL_AtomicGet(&this->paused)) { in HandleAudioProcess()
68 callback(this->callbackspec.userdata, this->work_buffer, stream_len); in HandleAudioProcess()
80 got = SDL_AudioStreamGet(this->stream, this->work_buffer, this->spec.size); in HandleAudioProcess()
83 SDL_memset(this->work_buffer, this->spec.silence, this->spec.size); in HandleAudioProcess()
87 FeedAudioDevice(this, this->work_buffer, this->spec.size); in HandleAudioProcess()
97 if (!SDL_AtomicGet(&this->enabled) || SDL_AtomicGet(&this->paused)) { in HandleCaptureProcess()
121 }, this->work_buffer, (this->spec.size / sizeof (float)) / this->spec.channels); in HandleCaptureProcess()
127 callback(this->callbackspec.userdata, this->work_buffer, stream_len); in HandleCaptureProcess()
129 if (SDL_AudioStreamPut(this->stream, this->work_buffer, this->spec.size) == -1) { in HandleCaptureProcess()
319 }, this->spec.channels, this->spec.samples, HandleCaptureProcess, this); in EMSCRIPTENAUDIO_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/sndio/
A DSDL_sndioaudio.c194 if ((nfds = SNDIO_sio_pollfd(this->hidden->dev, this->hidden->pfd, POLLIN)) <= 0 in SNDIO_CaptureFromDevice()
198 revents = SNDIO_sio_revents(this->hidden->dev, this->hidden->pfd); in SNDIO_CaptureFromDevice()
236 SDL_free(this->hidden); in SNDIO_CloseDevice()
248 if (this->hidden == NULL) { in SNDIO_OpenDevice()
251 SDL_zerop(this->hidden); in SNDIO_OpenDevice()
253 this->hidden->mixlen = this->spec.size; in SNDIO_OpenDevice()
256 if ((this->hidden->dev = in SNDIO_OpenDevice()
270 par.rate = this->spec.freq; in SNDIO_OpenDevice()
332 this->hidden->mixlen = this->spec.size; in SNDIO_OpenDevice()
333 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->hidden->mixlen); in SNDIO_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/dsp/
A DSDL_dspaudio.c66 SDL_free(this->hidden); in DSP_CloseDevice()
90 if (this->spec.channels > 8) in DSP_OpenDevice()
91 this->spec.channels = 8; in DSP_OpenDevice()
93 this->spec.channels = 4; in DSP_OpenDevice()
100 if (this->hidden == NULL) { in DSP_OpenDevice()
103 SDL_zerop(this->hidden); in DSP_OpenDevice()
201 value = this->spec.freq; in DSP_OpenDevice()
206 this->spec.freq = value; in DSP_OpenDevice()
239 this->hidden->mixlen = this->spec.size; in DSP_OpenDevice()
240 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->hidden->mixlen); in DSP_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/nas/
A DSDL_nasaudio.c151 while (this->hidden->buf_free < this->hidden->mixlen) { in NAS_WaitDevice()
161 while (this->hidden->mixlen > this->hidden->buf_free) { in NAS_PlayDevice()
171 this->hidden->buf_free -= this->hidden->mixlen; in NAS_PlayDevice()
174 NAS_AuWriteElement(this->hidden->aud, this->hidden->flow, 0, in NAS_PlayDevice()
175 this->hidden->mixlen, this->hidden->mixbuf, AuFalse, in NAS_PlayDevice()
178 this->hidden->written += this->hidden->mixlen; in NAS_PlayDevice()
367 this->hidden->dev = find_device(this); in NAS_OpenDevice()
397 NAS_AuSetElements(this->hidden->aud, this->hidden->flow, AuTrue, in NAS_OpenDevice()
404 NAS_AuStartFlow(this->hidden->aud, this->hidden->flow, NULL); in NAS_OpenDevice()
408 this->hidden->mixlen = this->spec.size; in NAS_OpenDevice()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/
A Dreshape_test_common.h72 this->PopulateStringTensor(input_, data); in SetStringInput()
85 this->SetBuiltinOp( in BuildWithHardcodedShape()
88 this->builder_, in BuildWithHardcodedShape()
91 this->BuildInterpreter({this->GetShape(input_)}); in BuildWithHardcodedShape()
101 this->SetBuiltinOp( in BuildWithTensorShape()
104 this->builder_, in BuildWithTensorShape()
107 this->BuildInterpreter( in BuildWithTensorShape()
108 {this->GetShape(input_), this->GetShape(shape_input_tensor)}); in BuildWithTensorShape()
121 this->SetBuiltinOp( in BuildWithConstantTensorShape()
124 this->builder_, in BuildWithConstantTensorShape()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/esd/
A DSDL_esdaudio.c151 this->hidden->mixbuf, this->hidden->mixlen); in ESD_PlayDevice()
159 this->hidden->next_frame += this->hidden->frame_ticks; in ESD_PlayDevice()
180 SDL_free(this->hidden); in ESD_CloseDevice()
220 if (this->hidden == NULL) { in ESD_OpenDevice()
223 SDL_zerop(this->hidden); in ESD_OpenDevice()
261 this->hidden->audio_fd = in ESD_OpenDevice()
272 (float) (this->spec.samples * 1000) / this->spec.freq; in ESD_OpenDevice()
273 this->hidden->next_frame = SDL_GetTicks() + this->hidden->frame_ticks; in ESD_OpenDevice()
276 this->hidden->mixlen = this->spec.size; in ESD_OpenDevice()
277 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->hidden->mixlen); in ESD_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/qsa/
A DSDL_qsa_audio.c123 result = SDL_IOReady(this->hidden->audio_fd, !this->hidden->iscapture, 2 * 1000); in QSA_WaitDevice()
147 if (!SDL_AtomicGet(&this->enabled) || !this->hidden) { in QSA_PlayDevice()
151 towrite = this->spec.size; in QSA_PlayDevice()
254 SDL_free(this->hidden); in QSA_CloseDevice()
269 this->hidden = in QSA_OpenDevice()
274 if (this->hidden == NULL) { in QSA_OpenDevice()
422 this->hidden->pcm_len = this->spec.size; in QSA_OpenDevice()
425 this->hidden->pcm_len = in QSA_OpenDevice()
435 this->hidden->pcm_buf = in QSA_OpenDevice()
440 SDL_memset(this->hidden->pcm_buf, this->spec.silence, in QSA_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/jack/
A DSDL_jackaudio.c172 SDL_memset(this->hidden->iobuffer, '\0', this->spec.size); in jackProcessPlaybackCallback()
261 if (this->hidden->client) { in JACK_CloseDevice()
268 JACK_jack_port_unregister(this->hidden->client, this->hidden->sdlports[i]); in JACK_CloseDevice()
276 if (this->hidden->iosem) { in JACK_CloseDevice()
303 this->hidden = (struct SDL_PrivateAudioData *) SDL_calloc(1, sizeof (*this->hidden)); in JACK_OpenDevice()
304 if (this->hidden == NULL) { in JACK_OpenDevice()
310 this->hidden->client = client; in JACK_OpenDevice()
345 this->spec.channels = channels; in JACK_OpenDevice()
351 if (!this->hidden->iosem) { in JACK_OpenDevice()
355 this->hidden->iobuffer = (float *) SDL_calloc(1, this->spec.size); in JACK_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/alios/
A DSDL_alios_audio.c112 this->hidden = (struct SDL_PrivateAudioData *) SDL_malloc(sizeof(*this->hidden)); in AOS_OpenDevice()
113 if (this->hidden == NULL) { in AOS_OpenDevice()
116 SDL_zerop(this->hidden); in AOS_OpenDevice()
158 rate = this->spec.freq; in AOS_OpenDevice()
165 this->hidden->mixlen = this->spec.size; in AOS_OpenDevice()
166 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->hidden->mixlen); in AOS_OpenDevice()
170 SDL_memset(this->hidden->mixbuf, this->spec.silence, this->hidden->mixlen); in AOS_OpenDevice()
202 const int frame_size = ((SDL_AUDIO_BITSIZE(this->spec.format)) / 8) * this->spec.channels; in ALSA_PlayDevice()
206 this->hidden->swizzle_func(this, this->hidden->mixbuf, frames_left); in ALSA_PlayDevice()
240 Uint32 delay = ((this->spec.samples * 1000) / this->spec.freq) * 2; in AOS_CloseDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/arts/
A DSDL_artsaudio.c176 this->hidden->next_frame += this->hidden->frame_ticks; in ARTS_PlayDevice()
191 return (this->hidden->mixbuf); in ARTS_GetDeviceBuf()
198 if (this->hidden->stream) { in ARTS_CloseDevice()
203 SDL_free(this->hidden); in ARTS_CloseDevice()
228 if (this->hidden == NULL) { in ARTS_OpenDevice()
231 SDL_zerop(this->hidden); in ARTS_OpenDevice()
270 this->hidden->stream = SDL_NAME(arts_play_stream) (this->spec.freq, in ARTS_OpenDevice()
297 this->spec.size = SDL_NAME(arts_stream_get) (this->hidden->stream, in ARTS_OpenDevice()
301 this->hidden->mixlen = this->spec.size; in ARTS_OpenDevice()
302 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->hidden->mixlen); in ARTS_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/netbsd/
A DSDL_netbsdaudio.c119 this->spec.format, in NETBSDAUDIO_Status()
120 this->spec.size); in NETBSDAUDIO_Status()
149 return (this->hidden->mixbuf); in NETBSDAUDIO_GetDeviceBuf()
201 SDL_free(this->hidden); in NETBSDAUDIO_CloseDevice()
223 if (this->hidden == NULL) { in NETBSDAUDIO_OpenDevice()
226 SDL_zerop(this->hidden); in NETBSDAUDIO_OpenDevice()
283 this->spec.format = format; in NETBSDAUDIO_OpenDevice()
302 this->hidden->mixlen = this->spec.size; in NETBSDAUDIO_OpenDevice()
303 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->hidden->mixlen); in NETBSDAUDIO_OpenDevice()
307 SDL_memset(this->hidden->mixbuf, this->spec.silence, this->spec.size); in NETBSDAUDIO_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/directsound/
A DSDL_directsound.c205 while ((cursor / this->spec.size) == this->hidden->lastchunk) { in DSOUND_WaitDevice()
244 if (this->hidden->locked_buf) { in DSOUND_PlayDevice()
260 this->hidden->locked_buf = NULL; in DSOUND_GetDeviceBuf()
272 cursor /= this->spec.size; in DSOUND_GetDeviceBuf()
286 this->hidden->lastchunk = cursor; in DSOUND_GetDeviceBuf()
288 cursor *= this->spec.size; in DSOUND_GetDeviceBuf()
307 return (this->hidden->locked_buf); in DSOUND_GetDeviceBuf()
381 SDL_free(this->hidden); in DSOUND_CloseDevice()
465 this->hidden->lastchunk = cursor / this->spec.size; in CreateCaptureBuffer()
485 if (this->hidden == NULL) { in DSOUND_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/disk/
A DSDL_diskaudio.c60 if (written != this->spec.size) { in DISKAUDIO_PlayDevice()
71 return (this->hidden->mixbuf); in DISKAUDIO_GetDeviceBuf()
108 if (this->hidden->io != NULL) { in DISKAUDIO_CloseDevice()
111 SDL_free(this->hidden->mixbuf); in DISKAUDIO_CloseDevice()
112 SDL_free(this->hidden); in DISKAUDIO_CloseDevice()
137 if (this->hidden == NULL) { in DISKAUDIO_OpenDevice()
140 SDL_zerop(this->hidden); in DISKAUDIO_OpenDevice()
145 this->hidden->io_delay = ((this->spec.samples * 1000) / this->spec.freq); in DISKAUDIO_OpenDevice()
150 if (this->hidden->io == NULL) { in DISKAUDIO_OpenDevice()
156 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->spec.size); in DISKAUDIO_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/paudio/
A DSDL_paudio.c197 this->hidden->next_frame += this->hidden->frame_ticks; in PAUDIO_PlayDevice()
212 return this->hidden->mixbuf; in PAUDIO_GetDeviceBuf()
222 SDL_free(this->hidden); in PAUDIO_CloseDevice()
243 if (this->hidden == NULL) { in PAUDIO_OpenDevice()
246 SDL_zerop(this->hidden); in PAUDIO_OpenDevice()
434 this->hidden->mixlen = this->spec.size; in PAUDIO_OpenDevice()
435 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->hidden->mixlen); in PAUDIO_OpenDevice()
439 SDL_memset(this->hidden->mixbuf, this->spec.silence, this->spec.size); in PAUDIO_OpenDevice()
479 this->hidden->frame_ticks = (float) (this->spec.samples * 1000) / in PAUDIO_OpenDevice()
480 this->spec.freq; in PAUDIO_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/coreaudio/
A DSDL_coreaudio.m326 if (this != NULL && this->hidden->audioQueue != NULL) {
334 if (this != NULL && this->hidden != NULL && this->hidden->audioQueue != NULL
536 SDL_AudioStreamPut(this->stream, this->hidden->buffer, this->hidden->bufferSize);
567 len = this->hidden->bufferSize - this->hidden->bufferOffset;
596 …if (!SDL_AtomicGet(&this->paused) && SDL_AtomicGet(&this->enabled) && !SDL_AtomicGet(&this->paused…
612 …(*this->callbackspec.callback)(this->callbackspec.userdata, this->hidden->buffer, this->hidden->bu…
882 this->hidden->bufferSize = this->spec.size;
885 this->hidden->buffer = SDL_malloc(this->hidden->bufferSize);
917 …result = AudioQueueAllocateBuffer(this->hidden->audioQueue, this->spec.size, &this->hidden->audioB…
978 …if (prepare_device(this, this->handle, this->iscapture) && (prev_devid != this->hidden->deviceID))…
[all …]
/AliOS-Things-master/components/SDL2/src/audio/openslES/
A DSDL_openslES.c243 this->spec.channels = 1; in openslES_CreatePCMRecorder()
250 this->spec.freq, SDL_AUDIO_BITSIZE(this->spec.format), in openslES_CreatePCMRecorder()
251 this->spec.channels, (this->spec.format & 0x1000) ? "BE" : "LE", this->spec.samples); in openslES_CreatePCMRecorder()
444 this->spec.freq, SDL_AUDIO_BITSIZE(this->spec.format), in openslES_CreatePCMPlayer()
445 this->spec.channels, (this->spec.format & 0x1000) ? "BE" : "LE", this->spec.samples); in openslES_CreatePCMPlayer()
462 switch (this->spec.channels) in openslES_CreatePCMPlayer()
593 this->hidden = (struct SDL_PrivateAudioData *) SDL_calloc(1, (sizeof *this->hidden)); in openslES_OpenDevice()
594 if (this->hidden == NULL) { in openslES_OpenDevice()
687 return this->spec.size; in openslES_CaptureFromDevice()
695 if (this->iscapture) { in openslES_CloseDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/alsa/
A DSDL_alsa_audio.c355 this->hidden->swizzle_func(this, this->hidden->mixbuf, frames_left); in ALSA_PlayDevice()
435 this->hidden->swizzle_func(this, buffer, total_frames - frames_left); in ALSA_CaptureFromDevice()
453 Uint32 delay = ((this->spec.samples * 1000) / this->spec.freq) * 2; in ALSA_CloseDevice()
459 SDL_free(this->hidden); in ALSA_CloseDevice()
537 if (this->hidden == NULL) { in ALSA_OpenDevice()
540 SDL_zerop(this->hidden); in ALSA_OpenDevice()
654 rate = this->spec.freq; in ALSA_OpenDevice()
661 this->spec.freq = rate; in ALSA_OpenDevice()
698 this->hidden->mixlen = this->spec.size; in ALSA_OpenDevice()
699 this->hidden->mixbuf = (Uint8 *) SDL_malloc(this->hidden->mixlen); in ALSA_OpenDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/android/
A DSDL_androidaudio.c48 captureDevice = this; in ANDROIDAUDIO_OpenDevice()
50 audioDevice = this; in ANDROIDAUDIO_OpenDevice()
53 this->hidden = (struct SDL_PrivateAudioData *) SDL_calloc(1, (sizeof *this->hidden)); in ANDROIDAUDIO_OpenDevice()
54 if (this->hidden == NULL) { in ANDROIDAUDIO_OpenDevice()
63 this->spec.format = test_format; in ANDROIDAUDIO_OpenDevice()
78 SDL_CalculateAudioSpec(&this->spec); in ANDROIDAUDIO_OpenDevice()
113 Android_JNI_CloseAudioDevice(this->iscapture); in ANDROIDAUDIO_CloseDevice()
114 if (this->iscapture) { in ANDROIDAUDIO_CloseDevice()
115 SDL_assert(captureDevice == this); in ANDROIDAUDIO_CloseDevice()
118 SDL_assert(audioDevice == this); in ANDROIDAUDIO_CloseDevice()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dpngvalid.c309 #define R8(this) randomize(&(this), sizeof (this)) argument
6049 this->redf = this->red / (double)rMax; in image_pixel_setf()
6050 this->greenf = this->green / (double)gMax; in image_pixel_setf()
6051 this->bluef = this->blue / (double)bMax; in image_pixel_setf()
6055 this->rede = this->redf * DBL_EPSILON; in image_pixel_setf()
6092 this->palette_index = this->red = this->green = this->blue = in image_pixel_init()
6095 this->red_sBIT = this->green_sBIT = this->blue_sBIT = this->alpha_sBIT = in image_pixel_init()
6119 this->alpha = this->red; in image_pixel_init()
6121 this->palette_index = this->red = this->green = this->blue = in image_pixel_init()
6141 this->red = this->green = this->blue = this->red ^ max; in image_pixel_init()
[all …]

Completed in 72 milliseconds

12345678910>>...24