Searched refs:granule (Results 1 - 15 of 15) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Doggparsespeex.c110 os->granule > 0) {
113 granule position. */
114 spxp->final_packet_duration = os->granule - os->lastpts -
118 if (!os->lastpts && os->granule > 0)
120 os->lastpts = os->lastdts = os->granule - packet_size *
H A Doggenc.c40 int64_t granule; member in struct:__anon3605
53 /** for theora granule */
61 int64_t last_granule; ///< last packet granule
113 avio_wl64(pb, page->granule);
136 static int ogg_key_granule(OGGStreamContext *oggstream, int64_t granule) argument
138 return oggstream->kfgshift && !(granule & ((1<<oggstream->kfgshift)-1));
141 static int64_t ogg_granule_to_timestamp(OGGStreamContext *oggstream, int64_t granule) argument
144 return (granule>>oggstream->kfgshift) +
145 (granule & ((1<<oggstream->kfgshift)-1));
147 return granule;
200 ogg_buffer_data(AVFormatContext *s, AVStream *st, uint8_t *data, unsigned size, int64_t granule, int header) argument
562 int64_t granule; local
[all...]
H A Doggparsevp8.c77 static uint64_t vp8_gptopts(AVFormatContext *s, int idx, uint64_t granule, int64_t *dts) argument
82 uint64_t pts = (granule >> 32);
83 uint32_t dist = (granule >> 3) & 0x07ffffff;
116 os->lastpts = os->lastdts = vp8_gptopts(s, idx, os->granule, NULL) - duration;
H A Doggparsedirac.c50 // various undocument things: granule is signed (only for dirac!)
51 static uint64_t dirac_gptopts(AVFormatContext *s, int idx, uint64_t granule, argument
54 int64_t gp = granule;
H A Doggparseopus.c146 os->lastdts = os->granule - duration;
161 int64_t skip = priv->cur_dts - os->granule + priv->pre_skip;
H A Doggparsevorbis.c393 * the total duration to the page granule to find the encoder delay and
395 if ((!os->lastpts || os->lastpts == AV_NOPTS_VALUE) && !(os->flags & OGG_FLAG_EOS) && (int64_t)os->granule>=0) {
417 duration = os->granule;
429 os->lastdts = os->granule - duration;
431 if (!os->granule && duration) //hack to deal with broken files (Ticket3710)
459 * to the page granule to find the duration of the final packet */
466 os->pduration = os->granule - priv->final_pts - priv->final_duration;
H A Doggdec.c136 os->granule = -1;
422 os->granule = gp;
502 if (os->granule == -1)
504 "Page at %"PRId64" is missing granule\n",
560 // if not, the page's granule will apply to this packet
598 if (ogg->streams[i].granule != -1 && ogg->streams[i].granule != 0 &&
601 ogg_gptopts(s, i, ogg->streams[i].granule, NULL);
718 if (os->granule != -1LL) {
720 pts = ogg_gptopts(s, idx, os->granule, dt
[all...]
H A Doggdec.h44 * Translate a granule into a timestamp.
50 * 1 if granule is the start time of the associated packet.
51 * 0 if granule is the end time of the associated packet.
70 uint64_t granule; member in struct:ogg_stream
H A Doggparsetheora.c179 the total duration to the page granule to find the encoder delay and
191 os->lastpts = os->lastdts = theora_gptopts(s, idx, os->granule, NULL) - duration;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Doggparsespeex.c99 os->granule > 0) {
102 granule position. */
103 spxp->final_packet_duration = os->granule - os->lastpts -
107 if (!os->lastpts && os->granule > 0)
109 os->lastpts = os->lastdts = os->granule - packet_size *
H A Doggenc.c36 int64_t granule; member in struct:__anon2254
49 /** for theora granule */
57 int64_t last_granule; ///< last packet granule
93 avio_wl64(pb, page->granule);
116 static int64_t ogg_granule_to_timestamp(OGGStreamContext *oggstream, int64_t granule) argument
119 return (granule>>oggstream->kfgshift) +
120 (granule & ((1<<oggstream->kfgshift)-1));
122 return granule;
131 if (next->granule == -1 || page->granule
174 ogg_buffer_data(AVFormatContext *s, AVStream *st, uint8_t *data, unsigned size, int64_t granule) argument
456 int64_t granule; local
[all...]
H A Doggparsedirac.c50 // various undocument things: granule is signed (only for dirac!)
51 static uint64_t dirac_gptopts(AVFormatContext *s, int idx, uint64_t granule, argument
54 int64_t gp = granule;
H A Doggdec.c129 os->granule = -1;
317 os->granule = gp;
386 if (os->granule == -1)
387 av_log(s, AV_LOG_WARNING, "Page at %"PRId64" is missing granule\n", os->page_pos);
438 // if not, the page's granule will apply to this packet
490 if (ogg->streams[i].granule != -1 && ogg->streams[i].granule != 0 &&
493 ogg_gptopts (s, i, ogg->streams[i].granule, NULL);
563 if (os->granule != -1LL) {
565 pts = ogg_gptopts(s, idx, os->granule, dt
[all...]
H A Doggdec.h44 * Translate a granule into a timestamp.
50 * 1 if granule is the start time of the associated packet.
51 * 0 if granule is the end time of the associated packet.
70 uint64_t granule; member in struct:ogg_stream
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/doc/
H A Da1-encapsulation-ogg.tex91 The granule position of these first pages containing only headers is zero.
111 The granule position of pages containing Vorbis audio is in units
112 of PCM audio samples (per channel; a stereo stream's granule position
117 The granule position of a page represents the end PCM sample
122 packet (that completes on a subsequent page) has no granule
123 position, and the granule position is set to '-1'.
135 The granule (PCM) position of the first page need not indicate
136 that the stream started at position zero. Although the granule
138 valid granule position must be positive, by
178 A granule positio
[all...]

Completed in 137 milliseconds