Home
last modified time | relevance | path

Searched refs:ts_header (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/media/test-drivers/vidtv/
Dvidtv_ts.c54 struct vidtv_mpeg_ts ts_header = {}; in vidtv_ts_null_write_into() local
56 ts_header.sync_byte = TS_SYNC_BYTE; in vidtv_ts_null_write_into()
57 ts_header.bitfield = cpu_to_be16(TS_NULL_PACKET_PID); in vidtv_ts_null_write_into()
58 ts_header.payload = 1; in vidtv_ts_null_write_into()
59 ts_header.continuity_counter = *args.continuity_counter; in vidtv_ts_null_write_into()
65 &ts_header, in vidtv_ts_null_write_into()
66 sizeof(ts_header)); in vidtv_ts_null_write_into()
89 struct vidtv_mpeg_ts ts_header = {}; in vidtv_ts_pcr_write_into() local
92 ts_header.sync_byte = TS_SYNC_BYTE; in vidtv_ts_pcr_write_into()
93 ts_header.bitfield = cpu_to_be16(args.pid); in vidtv_ts_pcr_write_into()
[all …]
Dvidtv_pes.c276 struct vidtv_mpeg_ts ts_header = {}; in vidtv_pes_write_ts_h() local
279 ts_header.sync_byte = TS_SYNC_BYTE; in vidtv_pes_write_ts_h()
280 ts_header.bitfield = cpu_to_be16((payload_start << 14) | args.pid); in vidtv_pes_write_ts_h()
281 ts_header.scrambling = 0; in vidtv_pes_write_ts_h()
282 ts_header.adaptation_field = (args.n_stuffing_bytes) > 0; in vidtv_pes_write_ts_h()
283 ts_header.payload = (args.n_stuffing_bytes) < PES_TS_HEADER_MAX_STUFFING_BYTES; in vidtv_pes_write_ts_h()
285 ts_header.continuity_counter = *args.continuity_counter; in vidtv_pes_write_ts_h()
293 &ts_header, in vidtv_pes_write_ts_h()
294 sizeof(ts_header)); in vidtv_pes_write_ts_h()
Dvidtv_psi.c167 struct vidtv_mpeg_ts ts_header = { in vidtv_psi_ts_psi_write_into() local
204 ts_header.continuity_counter = *args->continuity_counter; in vidtv_psi_ts_psi_write_into()
209 &ts_header, in vidtv_psi_ts_psi_write_into()
210 sizeof(ts_header)); in vidtv_psi_ts_psi_write_into()