Home
last modified time | relevance | path

Searched refs:pts (Results 1 – 25 of 77) sorted by relevance

1234

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/frame_sync/
Dtimestamp.h27 extern void timestamp_vpts_set(u32 pts);
33 void timestamp_vpts_set_u64(u64 pts);
41 extern void timestamp_apts_set(u32 pts);
49 extern void timestamp_pcrscr_set(u32 pts);
69 extern void timestamp_firstvpts_set(u32 pts);
73 extern void timestamp_checkin_firstvpts_set(u32 pts);
77 extern void timestamp_checkin_firstapts_set(u32 pts);
81 extern void timestamp_firstapts_set(u32 pts);
Dtsync.h137 extern int tsync_set_apts(unsigned int pts);
169 extern void timestamp_clac_pts_latency(u8 type, u32 pts);
Dtsync_pcr.h27 extern int tsync_pcr_set_apts(unsigned int pts);
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/
Dpsparser.c132 static void ptsmgr_vpts_checkin(u32 pts) in ptsmgr_vpts_checkin() argument
136 first_vpts = pts; in ptsmgr_vpts_checkin()
139 pts_checkin_offset(PTS_TYPE_VIDEO, video_data_parsed, pts); in ptsmgr_vpts_checkin()
142 static void ptsmgr_apts_checkin(u32 pts) in ptsmgr_apts_checkin() argument
146 first_apts = pts; in ptsmgr_apts_checkin()
149 pts_checkin_offset(PTS_TYPE_AUDIO, audio_data_parsed, pts); in ptsmgr_apts_checkin()
152 audio_last_pts = pts; in ptsmgr_apts_checkin()
157 audio_monitor_pts = pts; in ptsmgr_apts_checkin()
171 u32 pts = 0, dts = 0; in parser_process() local
187 pts = ((PARSER_POP >> 1) & 7) << 30; /* bit 32-30 */ in parser_process()
[all …]
Desparser.h42 extern int es_vpts_checkin(struct stream_buf_s *buf, u32 pts);
44 extern int es_apts_checkin(struct stream_buf_s *buf, u32 pts);
Desparser.c359 s32 es_vpts_checkin(struct stream_buf_s *buf, u32 pts) in es_vpts_checkin() argument
364 buf->first_tstamp = pts; in es_vpts_checkin()
374 return pts_checkin_offset(PTS_TYPE_VIDEO, passed, pts); in es_vpts_checkin()
378 s32 es_apts_checkin(struct stream_buf_s *buf, u32 pts) in es_apts_checkin() argument
383 buf->first_tstamp = pts; in es_apts_checkin()
393 return pts_checkin_offset(PTS_TYPE_AUDIO, passed, pts); in es_apts_checkin()
Dtsdemux.h90 extern void timestamp_pcrscr_set(u32 pts);
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/
Dvdec_trace.h119 TP_PROTO(struct vdec_s *vdec, u64 pts),
120 TP_ARGS(vdec, pts),
123 __field(u64, pts)
127 __entry->pts = pts;
129 TP_printk("[%p]%llu", __entry->vdec, __entry->pts)
134 TP_PROTO(struct vdec_s *vdec, u64 pts), \
135 TP_ARGS(vdec, pts))
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mpeg4/
Dvmpeg4.c292 u32 pts, pts_valid = 0, offset = 0; in vmpeg4_isr() local
388 (PTS_TYPE_VIDEO, offset, &pts, in vmpeg4_isr()
392 last_anch_pts = pts; in vmpeg4_isr()
405 offset, pts_valid, pts); in vmpeg4_isr()
410 last_anch_pts = pts; in vmpeg4_isr()
415 pts = last_anch_pts; in vmpeg4_isr()
434 pts += vop_time_inc_since_last_anch * in vmpeg4_isr()
441 last_anch_pts = pts; in vmpeg4_isr()
448 pts += DUR2PTS(frame_num_since_last_anch * in vmpeg4_isr()
456 last_anch_pts = pts; in vmpeg4_isr()
[all …]
Dvmpeg4_multi.c205 u32 pts; member
694 vf->pts = pic->pts; in prepare_display_buf()
708 vf->pts, vf->pts_us64, vf->width, vf->height, vf->duration); in prepare_display_buf()
723 ATRACE_COUNTER(MODULE_NAME, vf->pts); in prepare_display_buf()
746 vf->pts = 0; in prepare_display_buf()
760 vf->pts, vf->pts_us64, vf->width, vf->height, vf->duration); in prepare_display_buf()
773 ATRACE_COUNTER(MODULE_NAME, vf->pts); in prepare_display_buf()
807 vf->pts = pic->pts; in prepare_display_buf()
824 vf->pts, vf->pts_us64, vf->width, vf->height, vf->duration); in prepare_display_buf()
840 ATRACE_COUNTER(MODULE_NAME, vf->pts); in prepare_display_buf()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mjpeg/
Dvmjpeg.c169 u32 reg, offset, pts, pts_valid = 0; in vmjpeg_isr() local
182 (PTS_TYPE_VIDEO, offset, &pts, in vmjpeg_isr()
212 vf->pts = (pts_valid) ? pts : 0; in vmjpeg_isr()
226 ATRACE_COUNTER(MODULE_NAME, vf->pts); in vmjpeg_isr()
277 vf->pts = pts; in vmjpeg_isr()
279 vf->pts = 0; in vmjpeg_isr()
284 ATRACE_COUNTER(MODULE_NAME, vf->pts); in vmjpeg_isr()
296 vf->pts = pts; in vmjpeg_isr()
299 vf->pts = 0; in vmjpeg_isr()
313 ATRACE_COUNTER(MODULE_NAME, vf->pts); in vmjpeg_isr()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vc1/
Dvvc1.c282 unsigned int pts, pts_valid = 0, offset = 0; in vvc1_isr() local
312 offset, &pts, &frame_size, in vvc1_isr()
358 frm.start_pts = pts; in vvc1_isr()
363 frm.end_pts = pts; in vvc1_isr()
409 frm.start_pts = pts; in vvc1_isr()
438 vf->pts = pts; in vvc1_isr()
444 next_pts = pts + in vvc1_isr()
458 vf->pts = next_pts; in vvc1_isr()
500 ATRACE_COUNTER(MODULE_NAME, vf->pts); in vvc1_isr()
519 vf->pts = next_pts; in vvc1_isr()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs/
Davs.c429 unsigned int pts, pts_valid = 0, offset = 0; in vavs_isr() local
461 if (pts_lookup_offset_us64(PTS_TYPE_VIDEO, offset, &pts, in vavs_isr()
526 vf->pts = pts; in vavs_isr()
533 pts + in vavs_isr()
539 vf->pts = next_pts; in vavs_isr()
581 vf->pts = (pts_valid)?pts:0; in vavs_isr()
591 ATRACE_COUNTER(MODULE_NAME, vf->pts); in vavs_isr()
603 vf->pts = 0; in vavs_isr()
605 vf->pts = next_pts; in vavs_isr()
649 ATRACE_COUNTER(MODULE_NAME, vf->pts); in vavs_isr()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h264/
Dvh264.c528 ATRACE_COUNTER(MODULE_NAME, vf->pts); in prepare_display_q()
759 unsigned int pts, in udr_dump_data() argument
811 dump_cc_ascii(szBuf+7, pts, poc); in udr_dump_data()
1817 u32 offset, pts; in userdata_push_do_work() local
1854 (PTS_TYPE_VIDEO, offset, &pts, 0, &pts_us64) != 0) { in userdata_push_do_work()
1856 pts = -1; in userdata_push_do_work()
1860 meta_info.vpts = pts; in userdata_push_do_work()
1873 pts, poc_number); in userdata_push_do_work()
2433 unsigned int pts) in vh264_isr_parser() argument
2446 h264pts1 = pts; in vh264_isr_parser()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/amports/
Dadec.c124 u32 pts, frame_size; in pts_show() local
130 if (INFO_VALID && (pts_lookup(PTS_TYPE_AUDIO, &pts, in pts_show()
132 return sprintf(buf, "0x%x\n", pts); in pts_show()
148 __ATTR_RO(pts),
Damstream.c1881 u32 pts = 0, frame_size, offset; in amstream_ioctl_get() local
1884 pts_lookup_offset(PTS_TYPE_AUDIO, offset, &pts, in amstream_ioctl_get()
1886 parm.data_32 = pts; in amstream_ioctl_get()
2149 u64 pts = parm.data_64; in amstream_ioctl_set() local
2156 r = vdec_set_pts64(priv->vdec, pts); in amstream_ioctl_set()
2160 &priv->vdec->vbuf, pts); in amstream_ioctl_set()
2163 &bufs[BUF_TYPE_AUDIO], pts); in amstream_ioctl_set()
2229 unsigned int pts; in amstream_ioctl_set() local
2231 pts = parm.data_32; in amstream_ioctl_set()
2233 tsync_pcr_set_apts(pts); in amstream_ioctl_set()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mpeg12/
Dvmpeg12.c720 u32 offset, pts; in userdata_push_do_work() local
754 (PTS_TYPE_VIDEO, offset, &pts, 0, &pts_us64) != 0) { in userdata_push_do_work()
756 pts = -1; in userdata_push_do_work()
760 meta_info.vpts = pts; in userdata_push_do_work()
867 u32 reg, info, seqinfo, offset, pts, pts_valid = 0; in vmpeg12_isr() local
887 (PTS_TYPE_VIDEO, offset, &pts, in vmpeg12_isr()
894 if (pts_valid && lastpts == pts) in vmpeg12_isr()
897 lastpts = pts; in vmpeg12_isr()
986 vf->pts = (pts_valid) ? pts : 0; in vmpeg12_isr()
1006 ATRACE_COUNTER(MODULE_NAME, vf->pts); in vmpeg12_isr()
[all …]
Dvmpeg12_multi.c212 u32 pts; member
575 int frame_size, u32 pts) in fill_frame_info() argument
588 vframe_qos->pts = pts; in fill_frame_info()
1054 u32 pts, u32 pts_valid) in user_data_ready_notify() argument
1068 hw->ud_record[i].meta_info.vpts = pts; in user_data_ready_notify()
1554 user_data_ready_notify(hw, pic->pts, pic->pts_valid); in prepare_display_buf()
1625 vf->pts = 0; in prepare_display_buf()
1628 vf->pts = (pic->pts_valid) ? pic->pts : 0; in prepare_display_buf()
1651 vf->duration, vf->type, vf->pts, vf->pts_us64); in prepare_display_buf()
1807 u32 reg, index, info, seqinfo, offset, pts, frame_size=0, tmp; in vmpeg12_isr_thread_fn() local
[all …]
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
Dvpu_api_legacy.cpp531 RK_U64 pts = (*(mRKMppApi.Hdimpp_frame_get_pts))(mframe); in setup_VPU_FRAME_from_mpp_frame() local
564 vframe->ShowTime.TimeHigh = (RK_U32)(pts >> 32); // (pts >> 32) in setup_VPU_FRAME_from_mpp_frame()
565 vframe->ShowTime.TimeLow = (RK_U32)pts; in setup_VPU_FRAME_from_mpp_frame()
672 fd = (RK_S32)(pkt->pts & 0xffffffff); in decode()
832 (*(mRKMppApi.HdiMppPacketSetPts))(packet, pkt->pts); in decode()
838 pkt->size, pkt->nFlags, pkt->pts); in decode()
904 (*(mRKMppApi.HdiMppPacketSetPts))(mpkt, pkt->pts); in decode_sendstream()
910 pkt->size, pkt->nFlags, pkt->pts); in decode_sendstream()
1191 RK_S64 pts = (*(mRKMppApi.HdiMppPacketGetPts))(packet); in encode() local
1218 aEncOut->timeUs = pts; in encode()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/
Dvdec_drv_base.h46 u64 pts, bool *res_chg);
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/inc/
Dmpp_packet_impl.h62 RK_S64 pts; member
Dmpp_frame_impl.h70 RK_S64 pts; member
/device/soc/amlogic/a311d/hardware/media/libamcodec/include/yuvplayer/
Damvideo.h32 int64_t pts; member
/device/soc/amlogic/a311d/hardware/media/libamplayer/include/
Dplayer_set_sys.h68 int set_subtitle_startpts(int pts);
/device/soc/amlogic/a311d/hardware/media/libamvdec/include/
Damvideo.h35 int64_t pts; member

1234