Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_pes.c85 struct vidtv_pes_optional_pts_dts pts_dts = {}; in vidtv_pes_write_pts_dts() local
101 pts_dts.pts1 = (0x3 << 4) | ((args->pts & mask1) >> 29) | 0x1; in vidtv_pes_write_pts_dts()
102 pts_dts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts()
103 pts_dts.pts3 = cpu_to_be16(((args->pts & mask3) << 1) | 0x1); in vidtv_pes_write_pts_dts()
105 pts_dts.dts1 = (0x1 << 4) | ((args->dts & mask1) >> 29) | 0x1; in vidtv_pes_write_pts_dts()
106 pts_dts.dts2 = cpu_to_be16(((args->dts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts()
107 pts_dts.dts3 = cpu_to_be16(((args->dts & mask3) << 1) | 0x1); in vidtv_pes_write_pts_dts()
109 op = &pts_dts; in vidtv_pes_write_pts_dts()
110 op_sz = sizeof(pts_dts); in vidtv_pes_write_pts_dts()