/third_party/libsnd/src/ |
D | ogg.c | 139 static int ogg_stream_classify (SF_PRIVATE *psf, OGG_PRIVATE * odata) ; 142 static void ogg_page_search_continued_data (OGG_PRIVATE *odata, ogg_page *page) ; 149 ogg_read_first_page (SF_PRIVATE *psf, OGG_PRIVATE *odata) in ogg_read_first_page() argument 167 buffer = ogg_sync_buffer (&odata->osync, psf->header.indx) ; in ogg_read_first_page() 169 ogg_sync_wrote (&odata->osync, psf->header.indx) ; in ogg_read_first_page() 171 …ret = ogg_sync_next_page (psf, &odata->opage, SF_MAX ((sf_count_t) 0, 4096 - psf->header.indx), NU… in ogg_read_first_page() 179 if (!ogg_page_bos (&odata->opage)) in ogg_read_first_page() 193 ogg_stream_reset_serialno (&odata->ostream, ogg_page_serialno (&odata->opage)) ; in ogg_read_first_page() 195 if (ogg_stream_pagein (&odata->ostream, &odata->opage) < 0) in ogg_read_first_page() 201 if (ogg_stream_packetout (&odata->ostream, &odata->opacket) != 1) in ogg_read_first_page() [all …]
|
D | ogg_vorbis.c | 148 { OGG_PRIVATE *odata = (OGG_PRIVATE *) psf->container_data ; in vorbis_read_header() local 165 if (!odata->opacket.b_o_s) in vorbis_read_header() 170 if (ogg_stream_packetpeek (&odata->ostream, NULL)) in vorbis_read_header() 175 if (vorbis_synthesis_headerin (&vdata->vinfo, &vdata->vcomment, &odata->opacket) < 0) in vorbis_read_header() 195 { nn = ogg_stream_packetout (&odata->ostream, &odata->opacket) ; in vorbis_read_header() 198 { nn = ogg_stream_next_page (psf, odata) ; in vorbis_read_header() 216 vorbis_synthesis_headerin (&vdata->vinfo, &vdata->vcomment, &odata->opacket) ; in vorbis_read_header() 221 while (ogg_stream_packetout (&odata->ostream, &odata->opacket) == 1) in vorbis_read_header() 240 ogg_stream_unpack_page (psf, odata) ; in vorbis_read_header() 241 vdata->pcm_start = odata->pkt [odata->pkt_len - 1].granulepos ; in vorbis_read_header() [all …]
|
D | ogg_opus.c | 275 static int ogg_opus_setup_encoder (SF_PRIVATE *psf, OGG_PRIVATE *odata, OPUS_PRIVATE *oopus) ; 278 static int ogg_opus_unpack_next_page (SF_PRIVATE *psf, OGG_PRIVATE *odata, OPUS_PRIVATE *oopus) ; 279 static int ogg_opus_calculate_page_duration (OGG_PRIVATE *odata) ; 280 static int ogg_opus_read_refill (SF_PRIVATE *psf, OGG_PRIVATE *odata, OPUS_PRIVATE *oopus) ; 281 static int ogg_opus_write_out (SF_PRIVATE *psf, OGG_PRIVATE *odata, OPUS_PRIVATE *oopus) ; 313 { OGG_PRIVATE* odata = psf->container_data ; in ogg_opus_open() local 317 if (odata == NULL) in ogg_opus_open() 346 { if ((error = ogg_opus_setup_encoder (psf, odata, oopus))) in ogg_opus_open() 375 { OGG_PRIVATE *odata = (OGG_PRIVATE *) psf->container_data ; in ogg_opus_close() local 388 ogg_packet_clear (&odata->opacket) ; in ogg_opus_close() [all …]
|
D | ogg_speex.c | 73 { OGG_PRIVATE* odata = psf->container_data ; in ogg_speex_open() local 77 if (odata == NULL) in ogg_speex_open() 92 ogg_sync_init (&odata->osync) ; in ogg_speex_open() 150 OGG_PRIVATE* odata = psf->container_data ; in spx_read_header() local 166 odata->eos = 0 ; in spx_read_header() 169 ogg_stream_reset (&odata->ostream) ; in spx_read_header() 170 ogg_sync_reset (&odata->osync) ; in spx_read_header() 176 ogg_sync_init (&odata->osync) ; in spx_read_header() 185 data = ogg_sync_buffer (&odata->osync, OGG_SPX_READ_SIZE) ; in spx_read_header() 187 ogg_sync_wrote (&odata->osync, nb_read) ; in spx_read_header() [all …]
|
D | ogg.h | 104 sf_count_t ogg_sync_last_page_before (SF_PRIVATE *psf, OGG_PRIVATE *odata, uint64_t *gp_out, sf_cou… 113 int ogg_stream_next_page (SF_PRIVATE * psf, OGG_PRIVATE *odata) ; 121 int ogg_stream_unpack_page (SF_PRIVATE *psf, OGG_PRIVATE *odata) ; 130 int ogg_stream_seek_page_search (SF_PRIVATE *psf, OGG_PRIVATE *odata,
|
D | ogg_pcm.c | 57 { OGG_PRIVATE* odata = psf->container_data ; in ogg_pcm_open() local 61 if (odata == NULL) in ogg_pcm_open() 76 ogg_sync_init (&odata->osync) ; in ogg_pcm_open()
|
/third_party/gstreamer/gstplugins_good/gst/audiofx/ |
D | audiopanorama.c | 120 gint16 * idata, gint16 * odata, guint num_samples); 122 gint16 * idata, gint16 * odata, guint num_samples); 124 gfloat * idata, gfloat * odata, guint num_samples); 126 gfloat * idata, gfloat * odata, guint num_samples); 129 gint16 * idata, gint16 * odata, guint num_samples); 131 gint16 * idata, gint16 * odata, guint num_samples); 133 gfloat * idata, gfloat * odata, guint num_samples); 135 gfloat * idata, gfloat * odata, guint num_samples); 381 gst_audio_panorama_m2s_int (gfloat pan, gint16 * idata, gint16 * odata, guint n) in gst_audio_panorama_m2s_int() argument 384 audiopanoramam_orc_process_s16_ch1_psy (odata, idata, 1.0 - r, r, n); in gst_audio_panorama_m2s_int() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/ |
D | mpegtsmux_ttxt.c | 105 guint8 *data, *odata; in mpegtsmux_prepare_teletext() local 138 odata = omap.data; in mpegtsmux_prepare_teletext() 141 *odata = 0x10; in mpegtsmux_prepare_teletext() 142 memcpy (odata + 1, data, size - 1); in mpegtsmux_prepare_teletext() 144 memcpy (odata, data, size); in mpegtsmux_prepare_teletext() 148 odata += size; in mpegtsmux_prepare_teletext() 149 *odata++ = 0xFF; in mpegtsmux_prepare_teletext() 150 *odata = stuff; in mpegtsmux_prepare_teletext()
|
/third_party/python/Modules/ |
D | binascii.c | 1306 unsigned char *odata; in binascii_a2b_qp_impl() local 1315 odata = (unsigned char *) PyMem_Calloc(1, datalen); in binascii_a2b_qp_impl() 1316 if (odata == NULL) { in binascii_a2b_qp_impl() 1335 odata[out++] = '='; in binascii_a2b_qp_impl() 1350 odata[out++] = ch; in binascii_a2b_qp_impl() 1353 odata[out++] = '='; in binascii_a2b_qp_impl() 1357 odata[out++] = ' '; in binascii_a2b_qp_impl() 1361 odata[out] = ascii_data[in]; in binascii_a2b_qp_impl() 1366 if ((rv = PyBytes_FromStringAndSize((char *)odata, out)) == NULL) { in binascii_a2b_qp_impl() 1367 PyMem_Free(odata); in binascii_a2b_qp_impl() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/freeverb/ |
D | gstfreeverb.c | 110 gint16 * idata, gint16 * odata, guint num_samples); 112 gint16 * idata, gint16 * odata, guint num_samples); 114 gfloat * idata, gfloat * odata, guint num_samples); 116 gfloat * idata, gfloat * odata, guint num_samples); 690 gint16 * idata, gint16 * odata, guint num_samples) in gst_freeverb_transform_m2s_int() argument 728 *odata++ = (gint16) out_l2; in gst_freeverb_transform_m2s_int() 729 *odata++ = (gint16) out_r2; in gst_freeverb_transform_m2s_int() 739 gint16 * idata, gint16 * odata, guint num_samples) in gst_freeverb_transform_s2s_int() argument 775 *odata++ = (gint16) out_l2; in gst_freeverb_transform_s2s_int() 776 *odata++ = (gint16) out_r2; in gst_freeverb_transform_s2s_int() [all …]
|
/third_party/python/Lib/ |
D | quopri.py | 55 odata = b2a_qp(data, quotetabs=quotetabs, header=header) 56 output.write(odata) 124 odata = a2b_qp(data, header=header) 125 output.write(odata)
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | mpegtsmux.c | 212 guint8 *odata; in check_tsmux_pad() local 222 odata = map.data; in check_tsmux_pad() 226 for (; size; odata += 188, size -= 188) { in check_tsmux_pad() 228 guint8 *data = odata; in check_tsmux_pad()
|
/third_party/python/Objects/ |
D | unicodeobject.c | 12946 void *odata; in unicode_repr() local 13009 odata = PyUnicode_DATA(repr); in unicode_repr() 13011 PyUnicode_WRITE(okind, odata, 0, quote); in unicode_repr() 13012 PyUnicode_WRITE(okind, odata, osize-1, quote); in unicode_repr() 13024 PyUnicode_WRITE(okind, odata, o++, '\\'); in unicode_repr() 13025 PyUnicode_WRITE(okind, odata, o++, ch); in unicode_repr() 13031 PyUnicode_WRITE(okind, odata, o++, '\\'); in unicode_repr() 13032 PyUnicode_WRITE(okind, odata, o++, 't'); in unicode_repr() 13035 PyUnicode_WRITE(okind, odata, o++, '\\'); in unicode_repr() 13036 PyUnicode_WRITE(okind, odata, o++, 'n'); in unicode_repr() [all …]
|