An error occurred while fetching folder content.
videodev2.h: go back to limited range Y'CbCr for SRGB and, ADOBERGB
Hans Verkuil authored
commit 35879ee4 upstream.

This reverts 'commit 7e0739cd ("[media] videodev2.h: fix
sYCC/AdobeYCC default quantization range").

The problem is that many drivers can convert R'G'B' content (often
from sensors) to Y'CbCr, but they all produce limited range Y'CbCr.

To stay backwards compatible the default quantization range for
sRGB and AdobeRGB Y'CbCr encoding should be limited range, not full
range, even though the corresponding standards specify full range.

Update the V4L2_MAP_QUANTIZATION_DEFAULT define accordingly and
also update the documentation.

Fixes: 7e0739cd

 ("[media] videodev2.h: fix sYCC/AdobeYCC default quantization range")
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
7b071234
Name Last commit Last update
..
80211 docs-rst: sphinxify 802.11 documentation
ABI Merge tag 'platform-drivers-x86-v4.9-3' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86
DocBook Merge tag 'docs-4.9-2' of git://git.lwn.net/linux
EDID drm: Add 800x600 (SVGA) screen resolution to the built-in EDIDs
PCI Merge tag 'pci-v4.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
RCU kthread: kthread worker API cleanup
accounting tools: move accounting tool from Documentation
acpi Merge branches 'acpi-button', 'acpi-battery' and 'acpi-doc'
aoe aoe: remove do-nothing NAME="%k" term from example udev rules
arm Merge tag 'linux-kselftest-4.9-rc1-update' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
arm64 Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
auxdisplay samples: move auxdisplay example code from Documentation
backlight backlight: lp855x_bl: support new LP8555 device
blackfin samples: move blackfin gptimers-example from Documentation
block block: remove remnant refs to hardsect
blockdev zram: cosmetic: cleanup documentation
bus-devices ARM: OMAP2+: gpmc: generic timing calculation
cdrom doc: fix broken references
cgroup-v1 Merge tag 'doc-4.8-fixes' of git://git.lwn.net/linux
cma cma: debug: document new debugfs interface
connector samples: connector: from Documentation to samples directory
console TTY:console: update document console.txt
cpu-freq cpufreq-stats: Minor documentation fix
cpuidle cpuidle: remove cpuidle_unregister_governor()
cris CRIS: Update documentation
crypto
dev-tools
development-process
device-mapper
devicetree
dmaengine
driver-api
driver-model
early-userspace
extcon
fault-injection
fb
features
filesystems
firmware_class
fmc
fpga
frv
gpio
gpu
hid
hwmon
i2c
ia64
ide
iio
infiniband
input
ioctl
isdn
ja_JP
kbuild
kdump
ko_KR
laptops
leds
livepatch
locking
m68k
media
memory-devices
metag
mic
mips
misc-devices
mmc
mn10300
mtd
namespaces
netlabel
networking
nfc
nios2
nvdimm
nvmem
parisc
pcmcia
perf
phy
platform
power
powerpc
pps
prctl
pti
ptp
rapidio
s390
scheduler
scsi
security
serial
sh
sound
sphinx-static