18c2ecf20Sopenharmony_ci.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ci.. _dvb_video:
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#######################
68c2ecf20Sopenharmony_ciDigital TV Video Device
78c2ecf20Sopenharmony_ci#######################
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciThe Digital TV video device controls the MPEG2 video decoder of the Digital
108c2ecf20Sopenharmony_ciTV hardware. It can be accessed through **/dev/dvb/adapter0/video0**. Data
118c2ecf20Sopenharmony_citypes and and ioctl definitions can be accessed by including
128c2ecf20Sopenharmony_ci**linux/dvb/video.h** in your application.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciNote that the Digital TV video device only controls decoding of the MPEG video
158c2ecf20Sopenharmony_cistream, not its presentation on the TV or computer screen. On PCs this
168c2ecf20Sopenharmony_ciis typically handled by an associated video4linux device, e.g.
178c2ecf20Sopenharmony_ci**/dev/video**, which allows scaling and defining output windows.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciSome Digital TV cards don’t have their own MPEG decoder, which results in the
208c2ecf20Sopenharmony_ciomission of the audio and video device as well as the video4linux
218c2ecf20Sopenharmony_cidevice.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciThe ioctls that deal with SPUs (sub picture units) and navigation
248c2ecf20Sopenharmony_cipackets are only supported on some MPEG decoders made for DVD playback.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciThese ioctls were also used by V4L2 to control MPEG decoders implemented
278c2ecf20Sopenharmony_ciin V4L2. The use of these ioctls for that purpose has been made obsolete
288c2ecf20Sopenharmony_ciand proper V4L2 ioctls or controls have been created to replace that
298c2ecf20Sopenharmony_cifunctionality.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci.. toctree::
338c2ecf20Sopenharmony_ci    :maxdepth: 1
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci    video_types
368c2ecf20Sopenharmony_ci    video_function_calls
37