summaryrefslogtreecommitdiffstats
path: root/Documentation/video4linux/vivid.txt
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-05-31 07:10:32 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-05 10:52:12 -0400
commit64d5702229d86deacf42a43bc893a981f72d4908 (patch)
tree4485295fdcc45bbb8a325141dacb67ce4965bad4 /Documentation/video4linux/vivid.txt
parente1dedcfff1bbaa6b56a40116ee402b6d222e20c9 (diff)
[media] vivid.txt: update the vivid documentation
Document the new Transfer Function control (and fix the documentation for the other colorspace controls which were not quite correct). Mention the support for 4:2:0 and more multiplanar formats. Update the TODO list at the end. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Documentation/video4linux/vivid.txt')
-rw-r--r--Documentation/video4linux/vivid.txt30
1 files changed, 18 insertions, 12 deletions
diff --git a/Documentation/video4linux/vivid.txt b/Documentation/video4linux/vivid.txt
index cd4b5a1ac529..0c1b3a6ba6be 100644
--- a/Documentation/video4linux/vivid.txt
+++ b/Documentation/video4linux/vivid.txt
@@ -631,26 +631,33 @@ Timestamp Source: selects when the timestamp for each buffer is taken.
631 631
632Colorspace: selects which colorspace should be used when generating the image. 632Colorspace: selects which colorspace should be used when generating the image.
633 This only applies if the CSC Colorbar test pattern is selected, 633 This only applies if the CSC Colorbar test pattern is selected,
634 otherwise the test pattern will go through unconverted (except for 634 otherwise the test pattern will go through unconverted.
635 the so-called 'Transfer Function' corrections and the R'G'B' to Y'CbCr 635 This behavior is also what you want, since a 75% Colorbar
636 conversion). This behavior is also what you want, since a 75% Colorbar
637 should really have 75% signal intensity and should not be affected 636 should really have 75% signal intensity and should not be affected
638 by colorspace conversions. 637 by colorspace conversions.
639 638
640 Changing the colorspace will result in the V4L2_EVENT_SOURCE_CHANGE 639 Changing the colorspace will result in the V4L2_EVENT_SOURCE_CHANGE
641 to be sent since it emulates a detected colorspace change. 640 to be sent since it emulates a detected colorspace change.
642 641
642Transfer Function: selects which colorspace transfer function should be used when
643 generating an image. This only applies if the CSC Colorbar test pattern is
644 selected, otherwise the test pattern will go through unconverted.
645 This behavior is also what you want, since a 75% Colorbar
646 should really have 75% signal intensity and should not be affected
647 by colorspace conversions.
648
649 Changing the transfer function will result in the V4L2_EVENT_SOURCE_CHANGE
650 to be sent since it emulates a detected colorspace change.
651
643Y'CbCr Encoding: selects which Y'CbCr encoding should be used when generating 652Y'CbCr Encoding: selects which Y'CbCr encoding should be used when generating
644 a Y'CbCr image. This only applies if the CSC Colorbar test pattern is 653 a Y'CbCr image. This only applies if the format is set to a Y'CbCr format
645 selected, and if the format is set to a Y'CbCr format as opposed to an 654 as opposed to an RGB format.
646 RGB format.
647 655
648 Changing the Y'CbCr encoding will result in the V4L2_EVENT_SOURCE_CHANGE 656 Changing the Y'CbCr encoding will result in the V4L2_EVENT_SOURCE_CHANGE
649 to be sent since it emulates a detected colorspace change. 657 to be sent since it emulates a detected colorspace change.
650 658
651Quantization: selects which quantization should be used for the RGB or Y'CbCr 659Quantization: selects which quantization should be used for the RGB or Y'CbCr
652 encoding when generating the test pattern. This only applies if the CSC 660 encoding when generating the test pattern.
653 Colorbar test pattern is selected.
654 661
655 Changing the quantization will result in the V4L2_EVENT_SOURCE_CHANGE 662 Changing the quantization will result in the V4L2_EVENT_SOURCE_CHANGE
656 to be sent since it emulates a detected colorspace change. 663 to be sent since it emulates a detected colorspace change.
@@ -985,8 +992,9 @@ to change crop and compose rectangles on the fly.
985Section 12: Formats 992Section 12: Formats
986------------------- 993-------------------
987 994
988The driver supports all the regular packed YUYV formats, 16, 24 and 32 RGB 995The driver supports all the regular packed and planar 4:4:4, 4:2:2 and 4:2:0
989packed formats and two multiplanar formats (one luma and one chroma plane). 996YUYV formats, 8, 16, 24 and 32 RGB packed formats and various multiplanar
997formats.
990 998
991The alpha component can be set through the 'Alpha Component' User control 999The alpha component can be set through the 'Alpha Component' User control
992for those formats that support it. If the 'Apply Alpha To Red Only' control 1000for those formats that support it. If the 'Apply Alpha To Red Only' control
@@ -1119,11 +1127,9 @@ Just as a reminder and in no particular order:
1119- Use per-queue locks and/or per-device locks to improve throughput 1127- Use per-queue locks and/or per-device locks to improve throughput
1120- Add support to loop from a specific output to a specific input across 1128- Add support to loop from a specific output to a specific input across
1121 vivid instances 1129 vivid instances
1122- Add support for VIDIOC_EXPBUF once support for that has been added to vb2
1123- The SDR radio should use the same 'frequencies' for stations as the normal 1130- The SDR radio should use the same 'frequencies' for stations as the normal
1124 radio receiver, and give back noise if the frequency doesn't match up with 1131 radio receiver, and give back noise if the frequency doesn't match up with
1125 a station frequency 1132 a station frequency
1126- Improve the sine generation of the SDR radio.
1127- Make a thread for the RDS generation, that would help in particular for the 1133- Make a thread for the RDS generation, that would help in particular for the
1128 "Controls" RDS Rx I/O Mode as the read-only RDS controls could be updated 1134 "Controls" RDS Rx I/O Mode as the read-only RDS controls could be updated
1129 in real-time. 1135 in real-time.