Searched refs:pts (Results 26 - 50 of 391) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavcodec/
H A Ddirac_parser.c118 int parse_timing_info = (s->pts == AV_NOPTS_VALUE &&
169 * ensure that pts is set correctly. So if the current parse unit is
183 /* Get the picture number to set the pts and dts*/
187 int pts = AV_RB32(cur_pu + 13); local
189 s->dts = pts - 1;
192 s->pts = pts;
196 if (avctx->has_b_frames && s->pts == s->dts)
H A Dparser.c87 s->dts= s->pts= AV_NOPTS_VALUE;
97 s->pts= s->cur_frame_pts[i];
112 * @param pts input presentation timestamp
123 * pts, dts);
138 int64_t pts, int64_t dts)
140 return av_parser_parse2(s, avctx, poutbuf, poutbuf_size, buf, buf_size, pts, dts, AV_NOPTS_VALUE);
147 int64_t pts, int64_t dts,
164 s->cur_frame_pts[i] = pts;
171 s->last_pts = s->pts;
179 //av_log(NULL, AV_LOG_DEBUG, "parser: in:%"PRId64", %"PRId64", out:%"PRId64", %"PRId64", in:%d out:%d id:%d\n", pts, dt
134 av_parser_parse(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts) argument
143 av_parser_parse2(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts, int64_t pos) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavformat/
H A Dffmdec.c202 int64_t pts; local
214 pts = get_dts(s, pos_max);
216 if (pts - 100000 > pts_start)
223 pts = get_dts(s, pos_max);
225 if (pts - 100000 <= pts_start) {
237 if (newpts - 100000 <= pts) {
239 pts = newpts;
247 //printf("Adjusted write index from %"PRId64" to %"PRId64": pts=%0.6f\n", orig_write_index, ffm->write_index, pts / 1000000.);
248 //printf("pts rang
461 int64_t pts_min, pts_max, pts; local
[all...]
H A Dsegafilm.c42 int64_t pts; member in struct:__anon1505
186 film->sample_table[i].pts = audio_frame_counter;
187 film->sample_table[i].pts *= film->base_clock;
188 film->sample_table[i].pts /= film->audio_samplerate;
194 film->sample_table[i].pts = AV_RB32(&scratch[8]) & 0x7FFFFFFF;
268 pkt->pts = sample->pts;
H A Doggdec.c497 int64_t pts = AV_NOPTS_VALUE; local
503 pts = os->lastpts;
514 pts = ogg_gptopts(s, idx, os->granule, dts);
520 return pts;
530 int64_t fpos, pts, dts; local
543 pts = ogg_calc_pts(s, idx, &dts);
555 pkt->pts = pts;
587 int64_t pts = AV_NOPTS_VALUE; local
594 pts
[all...]
H A Dmpegtsenc.c178 int first_pts_check; ///< first pts check needed
574 static void write_pts(uint8_t *q, int fourbits, int64_t pts) argument
578 val = fourbits << 4 | (((pts >> 30) & 0x07) << 1) | 1;
580 val = (((pts >> 15) & 0x7fff) << 1) | 1;
583 val = (((pts) & 0x7fff) << 1) | 1;
595 int64_t pts, int64_t dts)
682 if (pts != AV_NOPTS_VALUE) {
686 if (dts != AV_NOPTS_VALUE && pts != AV_NOPTS_VALUE && dts != pts) {
717 if (pts !
593 mpegts_write_pes(AVFormatContext *s, AVStream *st, const uint8_t *payload, int payload_size, int64_t pts, int64_t dts) argument
784 int64_t dts = AV_NOPTS_VALUE, pts = AV_NOPTS_VALUE; local
[all...]
H A Dutils.c817 int64_t dts, int64_t pts)
832 if(pktl->pkt.pts != AV_NOPTS_VALUE && pktl->pkt.pts == pktl->pkt.dts)
833 pktl->pkt.pts += st->first_dts;
838 if(st->start_time == AV_NOPTS_VALUE && pktl->pkt.pts != AV_NOPTS_VALUE)
839 st->start_time= pktl->pkt.pts;
842 st->start_time = pts;
854 if(pktl->pkt.pts != pktl->pkt.dts || pktl->pkt.dts != AV_NOPTS_VALUE || pktl->pkt.duration)
867 if(pktl->pkt.pts == pktl->pkt.dts && pktl->pkt.dts == AV_NOPTS_VALUE
871 pktl->pkt.pts
816 update_initial_timestamps(AVFormatContext *s, int stream_index, int64_t dts, int64_t pts) argument
[all...]
H A Dmpeg.c229 (if not NULL), and its start code, pts and dts.
238 int64_t pts, dts; local
296 pts =
315 dts = pts = get_pts(s->pb, c);
336 dts = pts = get_pts(s->pb, -1);
408 *ppts = pts;
421 int64_t pts, dts, dummy_pos; //dummy_pos is needed for the index building to work local
425 len = mpegps_read_pes_header(s, &dummy_pos, &startcode, &pts, &dts);
563 pkt->pts = pts;
579 int64_t pos, pts, dts; local
[all...]
H A Dsierravmd.c40 int64_t pts; member in struct:__anon1506
147 /* calculate pts */
205 vmd->frame_table[total_frames].pts = current_audio_pts;
217 vmd->frame_table[total_frames].pts = i;
263 pkt->pts = frame->pts;
264 av_log(s, AV_LOG_DEBUG, " dispatching %s frame with %d bytes and pts %"PRId64"\n",
267 pkt->pts);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavformat/
H A Dffmdec.c202 int64_t pts; local
214 pts = get_dts(s, pos_max);
216 if (pts - 100000 > pts_start)
223 pts = get_dts(s, pos_max);
225 if (pts - 100000 <= pts_start) {
237 if (newpts - 100000 <= pts) {
239 pts = newpts;
247 //printf("Adjusted write index from %"PRId64" to %"PRId64": pts=%0.6f\n", orig_write_index, ffm->write_index, pts / 1000000.);
248 //printf("pts rang
461 int64_t pts_min, pts_max, pts; local
[all...]
H A Dsegafilm.c42 int64_t pts; member in struct:__anon2410
186 film->sample_table[i].pts = audio_frame_counter;
187 film->sample_table[i].pts *= film->base_clock;
188 film->sample_table[i].pts /= film->audio_samplerate;
194 film->sample_table[i].pts = AV_RB32(&scratch[8]) & 0x7FFFFFFF;
268 pkt->pts = sample->pts;
H A Doggdec.c497 int64_t pts = AV_NOPTS_VALUE; local
503 pts = os->lastpts;
514 pts = ogg_gptopts(s, idx, os->granule, dts);
520 return pts;
530 int64_t fpos, pts, dts; local
543 pts = ogg_calc_pts(s, idx, &dts);
555 pkt->pts = pts;
587 int64_t pts = AV_NOPTS_VALUE; local
594 pts
[all...]
H A Dmpegtsenc.c178 int first_pts_check; ///< first pts check needed
574 static void write_pts(uint8_t *q, int fourbits, int64_t pts) argument
578 val = fourbits << 4 | (((pts >> 30) & 0x07) << 1) | 1;
580 val = (((pts >> 15) & 0x7fff) << 1) | 1;
583 val = (((pts) & 0x7fff) << 1) | 1;
595 int64_t pts, int64_t dts)
682 if (pts != AV_NOPTS_VALUE) {
686 if (dts != AV_NOPTS_VALUE && pts != AV_NOPTS_VALUE && dts != pts) {
717 if (pts !
593 mpegts_write_pes(AVFormatContext *s, AVStream *st, const uint8_t *payload, int payload_size, int64_t pts, int64_t dts) argument
784 int64_t dts = AV_NOPTS_VALUE, pts = AV_NOPTS_VALUE; local
[all...]
H A Dutils.c817 int64_t dts, int64_t pts)
832 if(pktl->pkt.pts != AV_NOPTS_VALUE && pktl->pkt.pts == pktl->pkt.dts)
833 pktl->pkt.pts += st->first_dts;
838 if(st->start_time == AV_NOPTS_VALUE && pktl->pkt.pts != AV_NOPTS_VALUE)
839 st->start_time= pktl->pkt.pts;
842 st->start_time = pts;
854 if(pktl->pkt.pts != pktl->pkt.dts || pktl->pkt.dts != AV_NOPTS_VALUE || pktl->pkt.duration)
867 if(pktl->pkt.pts == pktl->pkt.dts && pktl->pkt.dts == AV_NOPTS_VALUE
871 pktl->pkt.pts
816 update_initial_timestamps(AVFormatContext *s, int stream_index, int64_t dts, int64_t pts) argument
[all...]
H A Dmpeg.c229 (if not NULL), and its start code, pts and dts.
238 int64_t pts, dts; local
296 pts =
315 dts = pts = get_pts(s->pb, c);
336 dts = pts = get_pts(s->pb, -1);
408 *ppts = pts;
421 int64_t pts, dts, dummy_pos; //dummy_pos is needed for the index building to work local
425 len = mpegps_read_pes_header(s, &dummy_pos, &startcode, &pts, &dts);
563 pkt->pts = pts;
579 int64_t pos, pts, dts; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavformat/
H A Dffmdec.c202 int64_t pts; local
214 pts = get_dts(s, pos_max);
216 if (pts - 100000 > pts_start)
223 pts = get_dts(s, pos_max);
225 if (pts - 100000 <= pts_start) {
237 if (newpts - 100000 <= pts) {
239 pts = newpts;
247 //printf("Adjusted write index from %"PRId64" to %"PRId64": pts=%0.6f\n", orig_write_index, ffm->write_index, pts / 1000000.);
248 //printf("pts rang
461 int64_t pts_min, pts_max, pts; local
[all...]
H A Dsegafilm.c42 int64_t pts; member in struct:__anon36435
186 film->sample_table[i].pts = audio_frame_counter;
187 film->sample_table[i].pts *= film->base_clock;
188 film->sample_table[i].pts /= film->audio_samplerate;
194 film->sample_table[i].pts = AV_RB32(&scratch[8]) & 0x7FFFFFFF;
268 pkt->pts = sample->pts;
H A Doggdec.c497 int64_t pts = AV_NOPTS_VALUE; local
503 pts = os->lastpts;
514 pts = ogg_gptopts(s, idx, os->granule, dts);
520 return pts;
530 int64_t fpos, pts, dts; local
543 pts = ogg_calc_pts(s, idx, &dts);
555 pkt->pts = pts;
587 int64_t pts = AV_NOPTS_VALUE; local
594 pts
[all...]
H A Dmpegtsenc.c178 int first_pts_check; ///< first pts check needed
574 static void write_pts(uint8_t *q, int fourbits, int64_t pts) argument
578 val = fourbits << 4 | (((pts >> 30) & 0x07) << 1) | 1;
580 val = (((pts >> 15) & 0x7fff) << 1) | 1;
583 val = (((pts) & 0x7fff) << 1) | 1;
595 int64_t pts, int64_t dts)
682 if (pts != AV_NOPTS_VALUE) {
686 if (dts != AV_NOPTS_VALUE && pts != AV_NOPTS_VALUE && dts != pts) {
717 if (pts !
593 mpegts_write_pes(AVFormatContext *s, AVStream *st, const uint8_t *payload, int payload_size, int64_t pts, int64_t dts) argument
784 int64_t dts = AV_NOPTS_VALUE, pts = AV_NOPTS_VALUE; local
[all...]
H A Dutils.c817 int64_t dts, int64_t pts)
832 if(pktl->pkt.pts != AV_NOPTS_VALUE && pktl->pkt.pts == pktl->pkt.dts)
833 pktl->pkt.pts += st->first_dts;
838 if(st->start_time == AV_NOPTS_VALUE && pktl->pkt.pts != AV_NOPTS_VALUE)
839 st->start_time= pktl->pkt.pts;
842 st->start_time = pts;
854 if(pktl->pkt.pts != pktl->pkt.dts || pktl->pkt.dts != AV_NOPTS_VALUE || pktl->pkt.duration)
867 if(pktl->pkt.pts == pktl->pkt.dts && pktl->pkt.dts == AV_NOPTS_VALUE
871 pktl->pkt.pts
816 update_initial_timestamps(AVFormatContext *s, int stream_index, int64_t dts, int64_t pts) argument
[all...]
H A Dmpeg.c229 (if not NULL), and its start code, pts and dts.
238 int64_t pts, dts; local
296 pts =
315 dts = pts = get_pts(s->pb, c);
336 dts = pts = get_pts(s->pb, -1);
408 *ppts = pts;
421 int64_t pts, dts, dummy_pos; //dummy_pos is needed for the index building to work local
425 len = mpegps_read_pes_header(s, &dummy_pos, &startcode, &pts, &dts);
563 pkt->pts = pts;
579 int64_t pos, pts, dts; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavcodec/
H A Dparser.c87 s->dts= s->pts= AV_NOPTS_VALUE;
97 s->pts= s->cur_frame_pts[i];
112 * @param pts input presentation timestamp
123 * pts, dts);
138 int64_t pts, int64_t dts)
140 return av_parser_parse2(s, avctx, poutbuf, poutbuf_size, buf, buf_size, pts, dts, AV_NOPTS_VALUE);
147 int64_t pts, int64_t dts,
164 s->cur_frame_pts[i] = pts;
171 s->last_pts = s->pts;
179 //av_log(NULL, AV_LOG_DEBUG, "parser: in:%"PRId64", %"PRId64", out:%"PRId64", %"PRId64", in:%d out:%d id:%d\n", pts, dt
134 av_parser_parse(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts) argument
143 av_parser_parse2(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts, int64_t pos) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavcodec/
H A Dparser.c87 s->dts= s->pts= AV_NOPTS_VALUE;
97 s->pts= s->cur_frame_pts[i];
112 * @param pts input presentation timestamp
123 * pts, dts);
138 int64_t pts, int64_t dts)
140 return av_parser_parse2(s, avctx, poutbuf, poutbuf_size, buf, buf_size, pts, dts, AV_NOPTS_VALUE);
147 int64_t pts, int64_t dts,
164 s->cur_frame_pts[i] = pts;
171 s->last_pts = s->pts;
179 //av_log(NULL, AV_LOG_DEBUG, "parser: in:%"PRId64", %"PRId64", out:%"PRId64", %"PRId64", in:%d out:%d id:%d\n", pts, dt
134 av_parser_parse(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts) argument
143 av_parser_parse2(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts, int64_t pos) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/media/video/cx18/
H A Dcx18-vbi.c197 __be32 pts; member in struct:vbi_data_hdr
202 u32 pts; local
230 pts = (be32_to_cpu(hdr->magic) == 0x3fffffff) ? be32_to_cpu(hdr->pts)
246 copy_vbi_data(cx, lines, pts);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/media/video/cx18/
H A Dcx18-vbi.c197 __be32 pts; member in struct:vbi_data_hdr
202 u32 pts; local
230 pts = (be32_to_cpu(hdr->magic) == 0x3fffffff) ? be32_to_cpu(hdr->pts)
246 copy_vbi_data(cx, lines, pts);

Completed in 149 milliseconds

1234567891011>>