Home
last modified time | relevance | path

Searched refs:psrc (Results 1 – 8 of 8) sorted by relevance

/reactos/sdk/lib/3rdparty/libsamplerate/
H A Dsamplerate.c16 { SRC_PRIVATE *psrc ; in src_new() local
27 if ((psrc = calloc (1, sizeof (*psrc))) == NULL) in src_new()
39 free (psrc) ; in src_new()
40 psrc = NULL ; in src_new()
78 if (psrc) in src_delete()
82 free (psrc) ; in src_delete()
95 if (psrc == NULL) in src_process()
97 if (psrc->vari_process == NULL || psrc->const_process == NULL) in src_process()
145 error = psrc->const_process (psrc, data) ; in src_process()
147 error = psrc->vari_process (psrc, data) ; in src_process()
[all …]
H A Dsrc_zoh.c40 if (psrc->private_data == NULL) in zoh_vari_process()
56 src_ratio = psrc->last_ratio ; in zoh_vari_process()
116 psrc->last_ratio = src_ratio ; in zoh_vari_process()
152 if (psrc->private_data != NULL) in zoh_set_converter()
153 { free (psrc->private_data) ; in zoh_set_converter()
154 psrc->private_data = NULL ; in zoh_set_converter()
157 if (psrc->private_data == NULL) in zoh_set_converter()
159 psrc->private_data = priv ; in zoh_set_converter()
170 psrc->reset = zoh_reset ; in zoh_set_converter()
172 zoh_reset (psrc) ; in zoh_set_converter()
[all …]
H A Dsrc_linear.c42 if (psrc->private_data == NULL) in linear_vari_process()
58 src_ratio = psrc->last_ratio ; in linear_vari_process()
125 psrc->last_ratio = src_ratio ; in linear_vari_process()
161 if (psrc->private_data != NULL) in linear_set_converter()
162 { free (psrc->private_data) ; in linear_set_converter()
163 psrc->private_data = NULL ; in linear_set_converter()
166 if (psrc->private_data == NULL) in linear_set_converter()
168 psrc->private_data = priv ; in linear_set_converter()
179 psrc->reset = linear_reset ; in linear_set_converter()
181 linear_reset (psrc) ; in linear_set_converter()
[all …]
H A Dsrc_sinc.c144 psrc->private_data = NULL ; in sinc_set_converter()
159 if (psrc->channels == 2) in sinc_set_converter()
164 if (psrc->channels == 4) in sinc_set_converter()
169 if (psrc->channels == 6) in sinc_set_converter()
177 psrc->reset = sinc_reset ; in sinc_set_converter()
219 sinc_reset (psrc) ; in sinc_set_converter()
356 return psrc->error ; in sinc_mono_vari_process()
505 return psrc->error ; in sinc_stereo_vari_process()
659 return psrc->error ; in sinc_quad_vari_process()
819 return psrc->error ; in sinc_hex_vari_process()
[all …]
H A Dcommon.h105 int (*vari_process) (struct SRC_PRIVATE_tag *psrc, SRC_DATA *data) ;
108 int (*const_process) (struct SRC_PRIVATE_tag *psrc, SRC_DATA *data) ;
111 void (*reset) (struct SRC_PRIVATE_tag *psrc) ;
124 int sinc_set_converter (SRC_PRIVATE *psrc, int src_enum) ;
130 int linear_set_converter (SRC_PRIVATE *psrc, int src_enum) ;
136 int zoh_set_converter (SRC_PRIVATE *psrc, int src_enum) ;
/reactos/dll/directx/wine/msdmo/
H A Ddmort.c139 TRACE("%p %p\n", ppdst, psrc); in MoDuplicateMediaType()
141 if (!ppdst || !psrc) in MoDuplicateMediaType()
148 r = MoCopyMediaType(*ppdst, psrc); in MoDuplicateMediaType()
166 TRACE("%p %p\n", pdst, psrc); in MoCopyMediaType()
168 if (!pdst || !psrc) in MoCopyMediaType()
171 pdst->majortype = psrc->majortype; in MoCopyMediaType()
172 pdst->subtype = psrc->subtype; in MoCopyMediaType()
180 if (psrc->pbFormat && psrc->cbFormat > 0) in MoCopyMediaType()
186 memcpy(pdst->pbFormat, psrc->pbFormat, psrc->cbFormat); in MoCopyMediaType()
191 if (psrc->pUnk) in MoCopyMediaType()
[all …]
/reactos/dll/win32/winemp3.acm/
H A Dmpegl3.c428 const unsigned char* psrc; in mp3_leopard_horse() local
465 for (psrc = src; psrc <= src + *nsrc - 4 && psrc < src + 1440; psrc++) in mp3_leopard_horse()
469 synci < 4 && psrc + framelen[synci-1] < src + *nsrc - 4; in mp3_leopard_horse()
482 if (psrc - src > 0) in mp3_leopard_horse()
484 syncSkip = psrc - src; in mp3_leopard_horse()
509 for (aspdi = 0, psrc = src; in mp3_leopard_horse()
510 psrc <= src + *nsrc - 4; in mp3_leopard_horse()
514 if (Mp3GetPacketLength(psrc) == -1) in mp3_leopard_horse()
517 ERR("Invalid header at %p.\n", psrc); in mp3_leopard_horse()
531 amd->PacketDescriptions[aspdi].mStartOffset = psrc - src; in mp3_leopard_horse()
[all …]
/reactos/dll/win32/dbghelp/
H A Ddwarf.c2169 unsigned* psrc; in dwarf2_set_line_number() local
2171 if (!file || !(psrc = vector_at(v, file - 1))) return; in dwarf2_set_line_number()
2174 … debugstr_w(module->module.ModuleName), address, debugstr_a(source_get(module, *psrc)), line); in dwarf2_set_line_number()
2178 symt_add_func_line(module, func, *psrc, line, address - func->address); in dwarf2_set_line_number()
2261 unsigned* psrc; in dwarf2_parse_line_numbers() local
2270 psrc = vector_add(&files, &ctx->pool); in dwarf2_parse_line_numbers()
2271 *psrc = source_new(ctx->module, dir, name); in dwarf2_parse_line_numbers()