/dports/multimedia/ogmtools/ogmtools-1.5/ |
H A D | p_vorbis.cpp | 198 ogran = header_packet->granulepos; in produce_header_packets() 261 cop.granulepos = 0; in process() 276 if (op->granulepos == -1) in process() 277 op->granulepos = gran; in process() 287 op->granulepos = (u_int64_t)((double)op->granulepos * async.linear); in process() 306 op->granulepos = (u_int64_t)(op->granulepos - range.start); in process() 316 else if (op->granulepos > 0) { in process() 349 op.granulepos = ogran; in produce_eos_packet() 361 if (granulepos == -1) in make_timestamp() 367 old_granulepos = granulepos; in make_timestamp() [all …]
|
/dports/games/warmux/warmux-11.04/build/android/jni/tremor/tremor/ |
H A D | dsp.c | 39 v->granulepos=-1; in vorbis_dsp_restart() 235 vd->granulepos=-1; in vorbis_dsp_synthesis() 249 if(vd->granulepos==-1){ in vorbis_dsp_synthesis() 253 vd->granulepos=op->granulepos; in vorbis_dsp_synthesis() 256 if(vd->sample_count>vd->granulepos){ in vorbis_dsp_synthesis() 266 vd->out_end-=vd->sample_count-vd->granulepos; in vorbis_dsp_synthesis() 278 vd->granulepos+= in vorbis_dsp_synthesis() 280 if(op->granulepos!=-1 && vd->granulepos!=op->granulepos){ in vorbis_dsp_synthesis() 282 if(vd->granulepos>op->granulepos){ in vorbis_dsp_synthesis() 283 long extra=vd->granulepos-op->granulepos; in vorbis_dsp_synthesis() [all …]
|
/dports/audio/vorbis-tools/vorbis-tools-1.4.2/vcut/ |
H A D | vcut.c | 181 p.granulepos = 0; in submit_headers_to_stream() 320 if(packet->granulepos >= 0) in process_audio_packet() 331 if(vs->granulepos == 0 && packet->granulepos != bs) in process_audio_packet() 338 else if(packet->granulepos != (vs->granulepos + bs) in process_audio_packet() 343 packet->granulepos, (vs->granulepos + bs)); in process_audio_packet() 345 vs->granulepos = packet->granulepos; in process_audio_packet() 352 vs->granulepos = 0; in process_audio_packet() 359 vs->granulepos += bs; in process_audio_packet() 437 packet->granulepos = vs->granulepos in process_audio_packet() 511 vs->granulepos = -1; in process_page() [all …]
|
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 75 if (granulepos >> GRANULEPOS_SHIFT) in check_buffer_granulepos() 76 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos() 77 else if (granulepos) in check_buffer_granulepos() 78 granulepos -= 1; in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 111 granulepos = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos_from_starttime() 116 granulepos -= 1; in check_buffer_granulepos_from_starttime() 117 else if (granulepos) in check_buffer_granulepos_from_starttime() 118 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() [all …]
|
/dports/audio/gstreamer1-plugins-vorbis/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 75 if (granulepos >> GRANULEPOS_SHIFT) in check_buffer_granulepos() 76 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos() 77 else if (granulepos) in check_buffer_granulepos() 78 granulepos -= 1; in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 111 granulepos = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos_from_starttime() 116 granulepos -= 1; in check_buffer_granulepos_from_starttime() 117 else if (granulepos) in check_buffer_granulepos_from_starttime() 118 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() [all …]
|
/dports/audio/gstreamer1-plugins-opus/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 75 if (granulepos >> GRANULEPOS_SHIFT) in check_buffer_granulepos() 76 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos() 77 else if (granulepos) in check_buffer_granulepos() 78 granulepos -= 1; in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 111 granulepos = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos_from_starttime() 116 granulepos -= 1; in check_buffer_granulepos_from_starttime() 117 else if (granulepos) in check_buffer_granulepos_from_starttime() 118 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() [all …]
|
/dports/audio/gstreamer1-plugins-ogg/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 75 if (granulepos >> GRANULEPOS_SHIFT) in check_buffer_granulepos() 76 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos() 77 else if (granulepos) in check_buffer_granulepos() 78 granulepos -= 1; in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 111 granulepos = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos_from_starttime() 116 granulepos -= 1; in check_buffer_granulepos_from_starttime() 117 else if (granulepos) in check_buffer_granulepos_from_starttime() 118 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() [all …]
|
/dports/audio/gstreamer1-plugins-cdparanoia/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 75 if (granulepos >> GRANULEPOS_SHIFT) in check_buffer_granulepos() 76 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos() 77 else if (granulepos) in check_buffer_granulepos() 78 granulepos -= 1; in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 111 granulepos = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos_from_starttime() 116 granulepos -= 1; in check_buffer_granulepos_from_starttime() 117 else if (granulepos) in check_buffer_granulepos_from_starttime() 118 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() [all …]
|
/dports/x11-toolkits/gstreamer1-plugins-pango/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 75 if (granulepos >> GRANULEPOS_SHIFT) in check_buffer_granulepos() 76 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos() 77 else if (granulepos) in check_buffer_granulepos() 78 granulepos -= 1; in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 111 granulepos = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos_from_starttime() 116 granulepos -= 1; in check_buffer_granulepos_from_starttime() 117 else if (granulepos) in check_buffer_granulepos_from_starttime() 118 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() [all …]
|
/dports/graphics/gstreamer1-plugins-libvisual/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 75 if (granulepos >> GRANULEPOS_SHIFT) in check_buffer_granulepos() 76 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos() 77 else if (granulepos) in check_buffer_granulepos() 78 granulepos -= 1; in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 111 granulepos = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos_from_starttime() 116 granulepos -= 1; in check_buffer_granulepos_from_starttime() 117 else if (granulepos) in check_buffer_granulepos_from_starttime() 118 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() [all …]
|
/dports/graphics/gstreamer1-plugins-gl/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 75 if (granulepos >> GRANULEPOS_SHIFT) in check_buffer_granulepos() 76 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos() 77 else if (granulepos) in check_buffer_granulepos() 78 granulepos -= 1; in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 111 granulepos = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos_from_starttime() 116 granulepos -= 1; in check_buffer_granulepos_from_starttime() 117 else if (granulepos) in check_buffer_granulepos_from_starttime() 118 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() [all …]
|
/dports/x11/gstreamer1-plugins-x/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 75 if (granulepos >> GRANULEPOS_SHIFT) in check_buffer_granulepos() 76 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos() 77 else if (granulepos) in check_buffer_granulepos() 78 granulepos -= 1; in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 111 granulepos = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos_from_starttime() 116 granulepos -= 1; in check_buffer_granulepos_from_starttime() 117 else if (granulepos) in check_buffer_granulepos_from_starttime() 118 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() [all …]
|
/dports/multimedia/gstreamer1-plugins-theora/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 75 if (granulepos >> GRANULEPOS_SHIFT) in check_buffer_granulepos() 76 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos() 77 else if (granulepos) in check_buffer_granulepos() 78 granulepos -= 1; in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 111 granulepos = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos_from_starttime() 116 granulepos -= 1; in check_buffer_granulepos_from_starttime() 117 else if (granulepos) in check_buffer_granulepos_from_starttime() 118 granulepos -= 1 << GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() [all …]
|
/dports/audio/liboggz/liboggz-1.1.1/src/liboggz/ |
H A D | metric_internal.c | 41 ogg_int64_t granulepos, void * user_data) in oggz_metric_dirac() argument 54 iframe = granulepos >> stream->granuleshift; in oggz_metric_dirac() 55 pframe = granulepos - (iframe << stream->granuleshift); in oggz_metric_dirac() 72 ogg_int64_t granulepos, void * user_data) in oggz_metric_default_granuleshift() argument 81 iframe = granulepos >> stream->granuleshift; in oggz_metric_default_granuleshift() 82 pframe = granulepos - (iframe << stream->granuleshift); in oggz_metric_default_granuleshift() 83 granulepos = iframe + pframe; in oggz_metric_default_granuleshift() 84 if (granulepos > 0) granulepos -= stream->first_granule; in oggz_metric_default_granuleshift() 86 units = granulepos * stream->granulerate_d / stream->granulerate_n; in oggz_metric_default_granuleshift() 90 serialno, granulepos, iframe, pframe, units); in oggz_metric_default_granuleshift() [all …]
|
/dports/multimedia/gstreamer1-plugins-theora/gst-plugins-base-1.16.2/ext/ogg/ |
H A D | README | 7 ogg and the granulepos 23 the page is marked with only one granulepos value: the granulepos of the 26 theora and the granulepos 33 granulepos = (pframe << granuleshift) + iframe 36 the one and only granulepos for that page; several granulepos possibilities 48 vorbis and granulepos 68 - 3 header pages, with granulepos 0. 71 - granulepos is samplenumber of next page 77 - 3 header pages, with granulepos 0. 326 granulepos [all …]
|
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/ext/ogg/ |
H A D | README | 7 ogg and the granulepos 23 the page is marked with only one granulepos value: the granulepos of the 26 theora and the granulepos 33 granulepos = (pframe << granuleshift) + iframe 36 the one and only granulepos for that page; several granulepos possibilities 48 vorbis and granulepos 68 - 3 header pages, with granulepos 0. 71 - granulepos is samplenumber of next page 77 - 3 header pages, with granulepos 0. 326 granulepos [all …]
|
/dports/audio/gstreamer1-plugins-ogg/gst-plugins-base-1.16.2/ext/ogg/ |
H A D | README | 7 ogg and the granulepos 23 the page is marked with only one granulepos value: the granulepos of the 26 theora and the granulepos 33 granulepos = (pframe << granuleshift) + iframe 36 the one and only granulepos for that page; several granulepos possibilities 48 vorbis and granulepos 68 - 3 header pages, with granulepos 0. 71 - granulepos is samplenumber of next page 77 - 3 header pages, with granulepos 0. 326 granulepos [all …]
|
/dports/audio/gstreamer1-plugins-vorbis/gst-plugins-base-1.16.2/ext/ogg/ |
H A D | README | 7 ogg and the granulepos 23 the page is marked with only one granulepos value: the granulepos of the 26 theora and the granulepos 33 granulepos = (pframe << granuleshift) + iframe 36 the one and only granulepos for that page; several granulepos possibilities 48 vorbis and granulepos 68 - 3 header pages, with granulepos 0. 71 - granulepos is samplenumber of next page 77 - 3 header pages, with granulepos 0. 326 granulepos [all …]
|
/dports/audio/gstreamer1-plugins-opus/gst-plugins-base-1.16.2/ext/ogg/ |
H A D | README | 7 ogg and the granulepos 23 the page is marked with only one granulepos value: the granulepos of the 26 theora and the granulepos 33 granulepos = (pframe << granuleshift) + iframe 36 the one and only granulepos for that page; several granulepos possibilities 48 vorbis and granulepos 68 - 3 header pages, with granulepos 0. 71 - granulepos is samplenumber of next page 77 - 3 header pages, with granulepos 0. 326 granulepos [all …]
|
/dports/audio/gstreamer1-plugins-cdparanoia/gst-plugins-base-1.16.2/ext/ogg/ |
H A D | README | 7 ogg and the granulepos 23 the page is marked with only one granulepos value: the granulepos of the 26 theora and the granulepos 33 granulepos = (pframe << granuleshift) + iframe 36 the one and only granulepos for that page; several granulepos possibilities 48 vorbis and granulepos 68 - 3 header pages, with granulepos 0. 71 - granulepos is samplenumber of next page 77 - 3 header pages, with granulepos 0. 326 granulepos [all …]
|
/dports/x11-toolkits/gstreamer1-plugins-pango/gst-plugins-base-1.16.2/ext/ogg/ |
H A D | README | 7 ogg and the granulepos 23 the page is marked with only one granulepos value: the granulepos of the 26 theora and the granulepos 33 granulepos = (pframe << granuleshift) + iframe 36 the one and only granulepos for that page; several granulepos possibilities 48 vorbis and granulepos 68 - 3 header pages, with granulepos 0. 71 - granulepos is samplenumber of next page 77 - 3 header pages, with granulepos 0. 326 granulepos [all …]
|
/dports/graphics/gstreamer1-plugins-libvisual/gst-plugins-base-1.16.2/ext/ogg/ |
H A D | README | 7 ogg and the granulepos 23 the page is marked with only one granulepos value: the granulepos of the 26 theora and the granulepos 33 granulepos = (pframe << granuleshift) + iframe 36 the one and only granulepos for that page; several granulepos possibilities 48 vorbis and granulepos 68 - 3 header pages, with granulepos 0. 71 - granulepos is samplenumber of next page 77 - 3 header pages, with granulepos 0. 326 granulepos [all …]
|
/dports/graphics/gstreamer1-plugins-gl/gst-plugins-base-1.16.2/ext/ogg/ |
H A D | README | 7 ogg and the granulepos 23 the page is marked with only one granulepos value: the granulepos of the 26 theora and the granulepos 33 granulepos = (pframe << granuleshift) + iframe 36 the one and only granulepos for that page; several granulepos possibilities 48 vorbis and granulepos 68 - 3 header pages, with granulepos 0. 71 - granulepos is samplenumber of next page 77 - 3 header pages, with granulepos 0. 326 granulepos [all …]
|
/dports/x11/gstreamer1-plugins-x/gst-plugins-base-1.16.2/ext/ogg/ |
H A D | README | 7 ogg and the granulepos 23 the page is marked with only one granulepos value: the granulepos of the 26 theora and the granulepos 33 granulepos = (pframe << granuleshift) + iframe 36 the one and only granulepos for that page; several granulepos possibilities 48 vorbis and granulepos 68 - 3 header pages, with granulepos 0. 71 - granulepos is samplenumber of next page 77 - 3 header pages, with granulepos 0. 326 granulepos [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/media/ogg/ |
H A D | OggCodecState.cpp | 580 ogg_int64_t granulepos; in ReconstructTheoraGranulepos() local 585 granulepos = frame << shift; in ReconstructTheoraGranulepos() 614 packet->granulepos = granulepos; in ReconstructTheoraGranulepos() 753 if (aPacket->granulepos == -1) { in PacketDuration() 855 if (packet->granulepos == -1) { in ReconstructVorbisGranulepos() 874 ogg_int64_t granulepos = packet->granulepos; in ReconstructVorbisGranulepos() local 889 prev->granulepos = granulepos - samples; in ReconstructVorbisGranulepos() 929 mGranulepos = last->granulepos; in ReconstructVorbisGranulepos() 1191 packet->granulepos = gp; in ReconstructOpusGranulepos() 1203 gp = last->granulepos; in ReconstructOpusGranulepos() [all …]
|