/third_party/ffmpeg/tests/fate/ |
H A D | dca.mak | 26 fate-dca-$(1): CMD = framemd5 -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pcm_$(2) -af aresample 27 fate-dca-$(1)-dmix_2: CMD = framemd5 -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pcm_$(2) -af aresample 28 fate-dca-$(1)-dmix_6: CMD = framemd5 -request_channel_layout 0x60f -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -c:a pcm_$(2) -af aresample 33 fate-dca-$(1): CMD = ffmpeg -i $(TARGET_SAMPLES)/dts/dcadec-suite/$(1).dtshd -f f32le -af aresample - 34 fate-dca-$(1): REF = $(SAMPLES)/dts/dcadec-suite/$(1).f32 43 fate-dca-core_51_24_48_768_1-dmix_2: CMD = ffmpeg -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/core_51_24_48_768_1.dtshd -f f32le -af aresample - 44 fate-dca-core_51_24_48_768_1-dmix_2: REF = $(SAMPLES)/dts/dcadec-suite/core_51_24_48_768_1-dmix_2.f32 47 fate-dca-x96_xxch_71_24_96_3840-dmix_2: CMD = ffmpeg -request_channel_layout 0x3 -i $(TARGET_SAMPLES)/dts/dcadec-suite/x96_xxch_71_24_96_3840.dtshd -f f32le -af aresample - 49 fate-dca-x96_xxch_71_24_96_3840-dmix_2: REF = $(SAMPLES)/dts/dcadec-suite/x96_xxch_71_24_96_3840-dmix_6.f32 53 fate-dca-x96_xxch_71_24_96_3840-dmix_6: CMD = ffmpeg -request_channel_layout "FL|FR|FC|LFE|SL|SR" -i $(TARGET_SAMPLES)/dts/dcade [all...] |
/kernel/linux/linux-6.6/drivers/thermal/intel/ |
H A D | intel_soc_dts_iosf.c | 132 static int configure_trip(struct intel_soc_dts_sensor_entry *dts, in configure_trip() argument 138 ret = update_trip_temp(dts->sensors, thres_index, temp); in configure_trip() 142 dts->trips[thres_index].temperature = temp; in configure_trip() 143 dts->trips[thres_index].type = trip_type; in configure_trip() 151 struct intel_soc_dts_sensor_entry *dts = thermal_zone_device_priv(tzd); in sys_set_trip_temp() local 152 struct intel_soc_dts_sensors *sensors = dts->sensors; in sys_set_trip_temp() 170 struct intel_soc_dts_sensor_entry *dts = thermal_zone_device_priv(tzd); in sys_get_curr_temp() local 174 sensors = dts->sensors; in sys_get_curr_temp() 181 out = bitmap_get_value8(&raw, dts->id * 8) - SOC_DTS_TJMAX_ENCODING; in sys_get_curr_temp() 213 static void remove_dts_thermal_zone(struct intel_soc_dts_sensor_entry *dts) in remove_dts_thermal_zone() argument 220 add_dts_thermal_zone(int id, struct intel_soc_dts_sensor_entry *dts, bool critical_trip) add_dts_thermal_zone() argument [all...] |
/kernel/linux/linux-5.10/drivers/thermal/intel/ |
H A D | intel_soc_dts_iosf.c | 79 struct intel_soc_dts_sensor_entry *dts; in sys_get_trip_temp() local 82 dts = tzd->devdata; in sys_get_trip_temp() 83 sensors = dts->sensors; in sys_get_trip_temp() 100 static int update_trip_temp(struct intel_soc_dts_sensor_entry *dts, in update_trip_temp() argument 113 struct intel_soc_dts_sensors *sensors = dts->sensors; in update_trip_temp() 176 dts->trip_types[thres_index] = trip_type; in update_trip_temp() 196 struct intel_soc_dts_sensor_entry *dts = tzd->devdata; in sys_set_trip_temp() local 197 struct intel_soc_dts_sensors *sensors = dts->sensors; in sys_set_trip_temp() 205 dts->trip_types[trip]); in sys_set_trip_temp() 214 struct intel_soc_dts_sensor_entry *dts; in sys_get_trip_type() local 228 struct intel_soc_dts_sensor_entry *dts; sys_get_curr_temp() local 274 remove_dts_thermal_zone(struct intel_soc_dts_sensor_entry *dts) remove_dts_thermal_zone() argument 283 add_dts_thermal_zone(int id, struct intel_soc_dts_sensor_entry *dts, bool notification_support, int trip_cnt, int read_only_trip_cnt) add_dts_thermal_zone() argument [all...] |
/third_party/ffmpeg/fftools/ |
H A D | ffmpeg_mux.c | 101 pkt->pts = pkt->dts = AV_NOPTS_VALUE; in of_write_packet() 115 if (pkt->dts != AV_NOPTS_VALUE && in of_write_packet() 117 pkt->dts > pkt->pts) { in of_write_packet() 119 pkt->dts, pkt->pts, in of_write_packet() 122 pkt->dts = pkt->pts + pkt->dts + ost->last_mux_dts + 1 in of_write_packet() 123 - FFMIN3(pkt->pts, pkt->dts, ost->last_mux_dts + 1) in of_write_packet() 124 - FFMAX3(pkt->pts, pkt->dts, ost->last_mux_dts + 1); in of_write_packet() 127 pkt->dts != AV_NOPTS_VALUE && in of_write_packet() 130 if (pkt->dts < ma in of_write_packet() [all...] |
/kernel/linux/linux-5.10/scripts/dtc/ |
H A D | dtx_diff | 25 -f print full dts in diff (--unified=99999) 32 -T annotate output .dts with input source file and line 37 Each DTx is processed by the dtc compiler to produce a sorted dts source 38 file. If DTx is a dts source file then it is pre-processed in the same 39 manner as done for the compile of the dts source file in the Linux kernel 42 If two DTx are provided, the resulting dts source files are diffed. 50 Otherwise DTx is treated as a dts source file (aka .dts). 58 the dts source file for include paths to be set properly for '#include' 65 `basename $0` ARCH=arch_of_dtx_1 DTx_1 >tmp_dtx_1.dts [all...] |
/kernel/linux/linux-6.6/scripts/dtc/ |
H A D | dtx_diff | 25 -f print full dts in diff (--unified=99999) 32 -T annotate output .dts with input source file and line 37 Each DTx is processed by the dtc compiler to produce a sorted dts source 38 file. If DTx is a dts source file then it is pre-processed in the same 39 manner as done for the compile of the dts source file in the Linux kernel 42 If two DTx are provided, the resulting dts source files are diffed. 50 Otherwise DTx is treated as a dts source file (aka .dts). 58 the dts source file for include paths to be set properly for '#include' 65 `basename $0` ARCH=arch_of_dtx_1 DTx_1 >tmp_dtx_1.dts [all...] |
/kernel/linux/linux-6.6/arch/powerpc/boot/ |
H A D | Makefile | 255 dtstree := $(srctree)/$(src)/dts 277 # args (to if_changed): 1 = (this rule), 2 = platform, 3 = dts 4=dtb 5=initrd 386 $(patsubst $(x).%, dts/%.dtb, $(filter $(x).%, $(image-y)))) 388 $(patsubst $(x).%, dts/fsl/%.dtb, $(filter $(x).%, $(image-y)))) 402 $(obj)/dtbImage.initrd.%: vmlinux $(wrapperbits) $(obj)/dts/%.dtb FORCE 403 $(call if_changed,wrap,$*,,$(obj)/dts/$*.dtb,$(obj)/ramdisk.image.gz) 405 $(obj)/dtbImage.%: vmlinux $(wrapperbits) $(obj)/dts/%.dtb FORCE 406 $(call if_changed,wrap,$*,,$(obj)/dts/$*.dtb) 416 $(obj)/uImage.initrd.%: vmlinux $(obj)/dts/%.dtb $(wrapperbits) FORCE 417 $(call if_changed,wrap,uboot-$*,,$(obj)/dts/ [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | demux.c | 110 { "dts", AV_CODEC_ID_DTS, AVMEDIA_TYPE_AUDIO }, in set_codec_from_probe_data() 475 int64_t ref = pkt->dts; in update_wrap_reference() 603 "Packet corrupt (stream = %d, dts = %s)", in ff_read_packet() 604 pkt->stream_index, av_ts2str(pkt->dts)); in ff_read_packet() 629 pkt->dts = wrap_timestamp(st, pkt->dts); in ff_read_packet() 634 /* TODO: audio: time filter; video: frame reordering (pts != dts) */ in ff_read_packet() 636 pkt->dts = pkt->pts = av_rescale_q(av_gettime(), AV_TIME_BASE_Q, st->time_base); in ff_read_packet() 744 static int64_t select_from_pts_buffer(AVStream *st, int64_t *pts_buffer, int64_t dts) in select_from_pts_buffer() argument 758 if (dts in select_from_pts_buffer() 821 update_initial_timestamps(AVFormatContext *s, int stream_index, int64_t dts, int64_t pts, AVPacket *pkt) update_initial_timestamps() argument 2198 double dts = (is_relative(ts) ? ts - RELATIVE_TS_BASE : ts) * av_q2d(st->time_base); ff_rfps_add_frame() local [all...] |
H A D | mux.c | 506 (pkt->pts == AV_NOPTS_VALUE || pkt->dts == AV_NOPTS_VALUE)) { in compute_muxer_pkt_fields() 515 av_log(s, AV_LOG_DEBUG, "compute_muxer_pkt_fields: pts:%s dts:%s cur_dts:%s b:%d size:%d st:%d\n", in compute_muxer_pkt_fields() 516 av_ts2str(pkt->pts), av_ts2str(pkt->dts), av_ts2str(sti->cur_dts), delay, pkt->size, pkt->stream_index); in compute_muxer_pkt_fields() 518 if (pkt->pts == AV_NOPTS_VALUE && pkt->dts != AV_NOPTS_VALUE && delay == 0) in compute_muxer_pkt_fields() 519 pkt->pts = pkt->dts; in compute_muxer_pkt_fields() 522 if ((pkt->pts == 0 || pkt->pts == AV_NOPTS_VALUE) && pkt->dts == AV_NOPTS_VALUE && !delay) { in compute_muxer_pkt_fields() 528 pkt->dts = in compute_muxer_pkt_fields() 533 //calculate dts from pts in compute_muxer_pkt_fields() 534 if (pkt->pts != AV_NOPTS_VALUE && pkt->dts == AV_NOPTS_VALUE && delay <= MAX_REORDER_DELAY) { in compute_muxer_pkt_fields() 541 pkt->dts in compute_muxer_pkt_fields() 1303 av_get_output_timestamp(struct AVFormatContext *s, int stream, int64_t *dts, int64_t *wall) av_get_output_timestamp() argument 1358 int64_t pts = pkt->pts, dts = pkt->dts, duration = pkt->duration; ff_write_chained() local [all...] |
H A D | supenc.c | 32 uint32_t pts = 0, dts = 0; in sup_write_packet() local 37 if (pkt->dts != AV_NOPTS_VALUE) { in sup_write_packet() 38 dts = pkt->dts; in sup_write_packet() 57 avio_wb32(s->pb, dts); in sup_write_packet()
|
H A D | supdec.c | 39 int64_t pts, dts, pos; in sup_read_packet() local 48 dts = avio_rb32(s->pb); in sup_read_packet() 58 pkt->dts = dts ? dts : AV_NOPTS_VALUE; in sup_read_packet()
|
H A D | mpegenc.c | 43 int64_t dts; member 421 av_log(ctx, AV_LOG_ERROR, "Unsupported audio codec. Must be one of mp1, mp2, mp3, 16-bit pcm_dvd, pcm_s16be, ac3 or dts.\n"); in mpeg_mux_init() 639 int64_t pts, int64_t dts, int64_t scr, int trailer_size) in flush_packet() 680 if (dts != pts) in flush_packet() 766 if (dts != pts) in flush_packet() 790 // first byte does not fit -> reset pts/dts + stuffing in flush_packet() 793 if (dts != pts) in flush_packet() 798 dts = AV_NOPTS_VALUE; in flush_packet() 853 if (dts != pts) in flush_packet() 869 if (pes_flags & 0x40) /* write dts */ in flush_packet() 638 flush_packet(AVFormatContext *ctx, int stream_index, int64_t pts, int64_t dts, int64_t scr, int trailer_size) flush_packet() argument 1152 int64_t pts, dts; mpeg_mux_write_packet() local [all...] |
H A D | oggdec.h | 44 * Will set dts if non-null and known. 47 uint64_t (*gptopts)(AVFormatContext *, int, uint64_t, int64_t *dts); 167 ogg_gptopts (AVFormatContext * s, int i, uint64_t gp, int64_t *dts) in ogg_gptopts() argument 174 pts = os->codec->gptopts(s, i, gp, dts); in ogg_gptopts() 177 if (dts) in ogg_gptopts() 178 *dts = pts; in ogg_gptopts()
|
H A D | mxg.c | 38 int64_t dts; member 68 mxg->dts = AV_NOPTS_VALUE; in mxg_read_header() 177 pkt->pts = pkt->dts = mxg->dts; in mxg_read_packet() 217 pkt->pts = pkt->dts = AV_RL64(startmarker_ptr + 8); in mxg_read_packet() 231 mxg->dts = AV_RL64(startmarker_ptr + 12); in mxg_read_packet()
|
H A D | r3d.c | 224 unsigned dts; in r3d_read_redv() local 227 dts = avio_rb32(s->pb); in r3d_read_redv() 264 pkt->dts = dts; in r3d_read_redv() 268 av_log(s, AV_LOG_TRACE, "pkt dts %"PRId64" duration %"PRId64"\n", pkt->dts, pkt->duration); in r3d_read_redv() 280 unsigned dts; in r3d_read_reda() local 295 dts = avio_rb32(s->pb); in r3d_read_reda() 328 pkt->dts = dts; in r3d_read_reda() [all...] |
H A D | mpeg.c | 230 * (if not NULL), and its start code, pts and dts. 239 int64_t pts, dts; in mpegps_read_pes_header() local 360 dts = AV_NOPTS_VALUE; in mpegps_read_pes_header() 380 dts = in mpegps_read_pes_header() 384 dts = get_pts(s->pb, -1); in mpegps_read_pes_header() 396 dts = pts = get_pts(s->pb, -1); in mpegps_read_pes_header() 399 dts = get_pts(s->pb, -1); in mpegps_read_pes_header() 461 if (dts != AV_NOPTS_VALUE && ppos) { in mpegps_read_pes_header() 467 av_add_index_entry(s->streams[i], *ppos, dts, 0, 0, in mpegps_read_pes_header() 475 *pdts = dts; in mpegps_read_pes_header() 490 int64_t pts, dts, dummy_pos; // dummy_pos is needed for the index building to work mpegps_read_packet() local 663 int64_t pos, pts, dts; mpegps_read_dts() local 965 int64_t pts, dts; vobsub_read_packet() local [all...] |
H A D | oggparsedirac.c | 74 int64_t dts = (gp >> 31); in dirac_gptopts() local 75 int64_t pts = dts + ((gp >> 9) & 0x1fff); in dirac_gptopts() 81 *dts_out = dts; in dirac_gptopts() 103 int64_t *dts) in old_dirac_gptopts() 102 old_dirac_gptopts(AVFormatContext *s, int idx, uint64_t gp, int64_t *dts) old_dirac_gptopts() argument
|
/kernel/linux/linux-6.6/arch/nios2/boot/dts/ |
H A D | Makefile | 3 obj-y := $(patsubst %.dts,%.dtb.o,$(CONFIG_NIOS2_DTB_SOURCE)) 6 dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
|
/kernel/linux/linux-6.6/scripts/dtc/include-prefixes/nios2/ |
H A D | Makefile | 3 obj-y := $(patsubst %.dts,%.dtb.o,$(CONFIG_NIOS2_DTB_SOURCE)) 6 dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
|
/third_party/ffmpeg/libavcodec/ |
H A D | setts_bsf.c | 140 av_log(ctx, AV_LOG_ERROR, "Error while parsing dts expression '%s'\n", s->dts_str); in setts_init() 178 s->var_values[VAR_STARTDTS] = s->cur_pkt->dts; in setts_filter() 181 s->var_values[VAR_TS] = s->cur_pkt->dts; in setts_filter() 184 s->var_values[VAR_DTS] = s->cur_pkt->dts; in setts_filter() 187 s->var_values[VAR_PREV_INDTS] = s->prev_inpkt->dts; in setts_filter() 190 s->var_values[VAR_PREV_OUTDTS] = s->prev_outpkt->dts; in setts_filter() 193 s->var_values[VAR_NEXT_DTS] = pkt->dts; in setts_filter() 207 s->var_values[VAR_TS] = s->cur_pkt->dts; in setts_filter() 223 pkt->dts = new_dts; in setts_filter() 257 { "dts", "se [all...] |
/kernel/linux/linux-6.6/drivers/pps/generators/ |
H A D | pps_gen_parport.c | 57 struct timespec64 expire_time, ts1, ts2, ts3, dts; in hrtimer_event() local 111 dts = timespec64_sub(ts3, ts2); in hrtimer_event() 113 (dev->port_write_time + timespec64_to_ns(&dts)) >> 1; in hrtimer_event() 117 dts = timespec64_sub(ts1, expire_time); in hrtimer_event() 118 delta = timespec64_to_ns(&dts); in hrtimer_event()
|
/third_party/ffmpeg/libavdevice/ |
H A D | alsa_enc.c | 92 if (pkt->dts != AV_NOPTS_VALUE) in audio_write_packet() 93 s->timestamp = pkt->dts; in audio_write_packet() 133 pkt.dts = (*frame)->pkt_dts; in audio_write_frame() 140 int64_t *dts, int64_t *wall) in audio_get_output_timestamp() 146 *dts = s->timestamp - delay; in audio_get_output_timestamp() 139 audio_get_output_timestamp(AVFormatContext *s1, int stream, int64_t *dts, int64_t *wall) audio_get_output_timestamp() argument
|
H A D | alsa_dec.c | 105 int64_t dts; in audio_read_packet() local 132 dts = av_gettime(); in audio_read_packet() 134 dts -= av_rescale(delay + res, 1000000, s->sample_rate); in audio_read_packet() 135 pkt->pts = ff_timefilter_update(s->timefilter, dts, s->last_period); in audio_read_packet()
|
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
H A D | delta-v4l2.c | 68 dev_dbg(delta->dev, "%s dump au[%d] dts=%lld size=%d data=%*ph\n", in dump_au() 69 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 72 dev_dbg(delta->dev, "%s dump au[%d] dts=%lld size=%d data=%*ph..%*ph\n", in dump_au() 73 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 83 dev_dbg(delta->dev, "%s dump frame[%d] dts=%lld type=%s field=%s data=%*ph\n", in dump_frame() 84 ctx->name, frame->index, frame->dts, in dump_frame() 154 frame->dts = 0; in delta_recycle() 161 struct delta_dts *dts; in delta_push_dts() local 163 dts = kzalloc(sizeof(*dts), GFP_KERNE in delta_push_dts() 180 struct delta_dts *dts; delta_pop_dts() local 203 struct delta_dts *dts; delta_flush_dts() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/delta/ |
H A D | delta-v4l2.c | 68 dev_dbg(delta->dev, "%s dump au[%d] dts=%lld size=%d data=%*ph\n", in dump_au() 69 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 72 dev_dbg(delta->dev, "%s dump au[%d] dts=%lld size=%d data=%*ph..%*ph\n", in dump_au() 73 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 83 dev_dbg(delta->dev, "%s dump frame[%d] dts=%lld type=%s field=%s data=%*ph\n", in dump_frame() 84 ctx->name, frame->index, frame->dts, in dump_frame() 154 frame->dts = 0; in delta_recycle() 161 struct delta_dts *dts; in delta_push_dts() local 163 dts = kzalloc(sizeof(*dts), GFP_KERNE in delta_push_dts() 180 struct delta_dts *dts; delta_pop_dts() local 203 struct delta_dts *dts; delta_flush_dts() local [all...] |