summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/util/render/dither
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 23:52:44 +0900
commit0c9e076a4ab62782b73ac09fb45fd9da0df19aec (patch)
tree93c54de885a10fdfb44b39fee0972aa9b394e8d9 /mpeglib/lib/util/render/dither
parente51ec3eaa1902878a55ad0ca8ed50f6c5662d352 (diff)
downloadtdemultimedia-0c9e076a4ab62782b73ac09fb45fd9da0df19aec.tar.gz
tdemultimedia-0c9e076a4ab62782b73ac09fb45fd9da0df19aec.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6db8697910438fd063598f66a73b68d2dcd70a36)
Diffstat (limited to 'mpeglib/lib/util/render/dither')
-rw-r--r--mpeglib/lib/util/render/dither/colorTable8Bit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpeglib/lib/util/render/dither/colorTable8Bit.cpp b/mpeglib/lib/util/render/dither/colorTable8Bit.cpp
index 57c533de..fa3aa84d 100644
--- a/mpeglib/lib/util/render/dither/colorTable8Bit.cpp
+++ b/mpeglib/lib/util/render/dither/colorTable8Bit.cpp
@@ -59,7 +59,7 @@ void ColorTable8Bit::init8BitColor() {
for (i=0; i<CR_RANGE; i++) {
- register double tmp;
+ double tmp;
if (chromaCorrectFlag) {
tmp = ((i * 256) / (CR_RANGE)) + (256/(CR_RANGE*2));
Cr_r_tab[i]=(TABTYPE) ((0.419/0.299)*CHROMA_CORRECTION128D(tmp-128.0));
@@ -75,7 +75,7 @@ void ColorTable8Bit::init8BitColor() {
for (i=0; i<CB_RANGE; i++) {
- register double tmp;
+ double tmp;
if (chromaCorrectFlag) {
tmp = ((i * 256) / (CB_RANGE)) + (256/(CB_RANGE*2));
Cb_g_tab[i]=(TABTYPE) (-(0.114/0.331)*CHROMA_CORRECTION128D(tmp-128.0));