diff --git a/YUViewLib/src/video/PixelFormatYUV.h b/YUViewLib/src/video/PixelFormatYUV.h index 5063c8c53..052cd28b4 100644 --- a/YUViewLib/src/video/PixelFormatYUV.h +++ b/YUViewLib/src/video/PixelFormatYUV.h @@ -50,6 +50,15 @@ enum class Component Chroma = 1 }; +/* +kr/kg/kb matrix (Rec. ITU-T H.264 03/2010, p. 379): +R = Y + V*(1-Kr) +G = Y - U*(1-Kb)*Kb/Kg - V*(1-Kr)*Kr/Kg +B = Y + U*(1-Kb) +To respect value range of Y in [16:235] and U/V in [16:240], the matrix entries need to be scaled +by 255/219 for Y and 255/112 for U/V In this software color conversion is performed with 16bit +precision. Thus, further scaling with 2^16 is performed to get all factors as integers. +*/ enum class ColorConversion { BT709_LimitedRange, diff --git a/deployment/deploy.nsi b/deployment/deploy.nsi index b1c2caa04..f998cbef8 100644 --- a/deployment/deploy.nsi +++ b/deployment/deploy.nsi @@ -2,7 +2,7 @@ ; HM NIS Edit Wizard helper defines !define PRODUCT_NAME "YUView" -!define PRODUCT_VERSION "2.11" +!define PRODUCT_VERSION "2.12" !define PRODUCT_PUBLISHER "Institut für Nachrichtentechnik" !define PRODUCT_WEB_SITE "http://www.ient.rwth-aachen.de" !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\YUView.exe" diff --git a/deployment/wix/YUView.wxs b/deployment/wix/YUView.wxs index 8b3720da9..1181c36b9 100644 --- a/deployment/wix/YUView.wxs +++ b/deployment/wix/YUView.wxs @@ -1,6 +1,6 @@ - + diff --git a/packaging/linux/de.rwth_aachen.ient.YUView.appdata.xml b/packaging/linux/de.rwth_aachen.ient.YUView.appdata.xml index 6914b705d..3cbd08925 100644 --- a/packaging/linux/de.rwth_aachen.ient.YUView.appdata.xml +++ b/packaging/linux/de.rwth_aachen.ient.YUView.appdata.xml @@ -41,6 +41,6 @@ none - + diff --git a/snapcraft.yaml b/snapcraft.yaml index f3cf81755..8d7376234 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,5 +1,5 @@ name: yuview -version: 2.11 +version: 2.12 summary: YUView description: YUView - The free cross platform YUV viewer and video analysis tool