[FFmpeg-cvslog] avfilter/avf_showspectrum: improve magma colors

Paul B Mahol git at videolan.org
Wed Nov 7 20:02:32 EET 2018


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Nov  7 17:18:44 2018 +0100| [975510758cc70cf73fa5936610864abbe694a0a6] | committer: Paul B Mahol

avfilter/avf_showspectrum: improve magma colors

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=975510758cc70cf73fa5936610864abbe694a0a6
---

 libavfilter/avf_showspectrum.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index b278790071..6bbacd0be1 100644
--- a/libavfilter/avf_showspectrum.c
+++ b/libavfilter/avf_showspectrum.c
@@ -248,8 +248,8 @@ static const struct ColorTable {
     { 0.35,            85/256.,     (138-128)/256.,      (179-128)/256. },
     { 0.48,            96/256.,     (128-128)/256.,      (189-128)/256. },
     { 0.64,           128/256.,     (103-128)/256.,      (214-128)/256. },
-    { 0.78,           167/256.,      (85-128)/256.,      (174-128)/256. },
-    {    1,           205/256.,      (80-128)/256.,      (152-128)/256. }},
+    { 0.92,           205/256.,      (80-128)/256.,      (152-128)/256. },
+    {    1,                  1,                  0,                   0 }},
     [GREEN] = {
     {    0,                  0,                  0,                   0 },
     {  .75,                 .5,                  0,                 -.5 },



More information about the ffmpeg-cvslog mailing list