1 .. SPDX-License-Identifier: GFDL-1.1-no-invari !! 1 .. Permission is granted to copy, distribute and/or modify this >> 2 .. document under the terms of the GNU Free Documentation License, >> 3 .. Version 1.1 or any later version published by the Free Software >> 4 .. Foundation, with no Invariant Sections, no Front-Cover Texts >> 5 .. and no Back-Cover Texts. A copy of the license is included at >> 6 .. Documentation/userspace-api/media/fdl-appendix.rst. >> 7 .. >> 8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections 2 9 3 ************ 10 ************ 4 Introduction 11 Introduction 5 ************ 12 ************ 6 13 7 Some video capture devices can sample a subsec 14 Some video capture devices can sample a subsection of a picture and 8 shrink or enlarge it to an image of arbitrary 15 shrink or enlarge it to an image of arbitrary size. Next, the devices 9 can insert the image into larger one. Some vid 16 can insert the image into larger one. Some video output devices can crop 10 part of an input image, scale it up or down an 17 part of an input image, scale it up or down and insert it at an 11 arbitrary scan line and horizontal offset into 18 arbitrary scan line and horizontal offset into a video signal. We call 12 these abilities cropping, scaling and composin 19 these abilities cropping, scaling and composing. 13 20 14 On a video *capture* device the source is a vi 21 On a video *capture* device the source is a video signal, and the 15 cropping target determine the area actually sa 22 cropping target determine the area actually sampled. The sink is an 16 image stored in a memory buffer. The composing 23 image stored in a memory buffer. The composing area specifies which part 17 of the buffer is actually written to by the ha 24 of the buffer is actually written to by the hardware. 18 25 19 On a video *output* device the source is an im 26 On a video *output* device the source is an image in a memory buffer, 20 and the cropping target is a part of an image 27 and the cropping target is a part of an image to be shown on a display. 21 The sink is the display or the graphics screen 28 The sink is the display or the graphics screen. The application may 22 select the part of display where the image sho 29 select the part of display where the image should be displayed. The size 23 and position of such a window is controlled by 30 and position of such a window is controlled by the compose target. 24 31 25 Rectangles for all cropping and composing targ 32 Rectangles for all cropping and composing targets are defined even if 26 the device does supports neither cropping nor 33 the device does supports neither cropping nor composing. Their size and 27 position will be fixed in such a case. If the 34 position will be fixed in such a case. If the device does not support 28 scaling then the cropping and composing rectan 35 scaling then the cropping and composing rectangles have the same size.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.