diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-06-24 12:29:10 +0300 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2021-06-24 18:17:20 +0200 |
commit | 26da6f400b098aee119c0afce956891e84bd64a6 (patch) | |
tree | eee87dc4e8d8a8821e2f3fd68548abf219496c53 /vcl | |
parent | c2559714a7637a659d839d8ac42f6e9263159882 (diff) |
Add ProfileZone to 24- and 32-bit scaleDown/Up in BitmapScaleSuperFilter
Change-Id: Ibc98d1e5ba24f98c437468d3f9a469725892e7d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117773
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/bitmap/BitmapScaleSuperFilter.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/bitmap/BitmapScaleSuperFilter.cxx b/vcl/source/bitmap/BitmapScaleSuperFilter.cxx index bd6b7bd00b56..af57c98e7dcd 100644 --- a/vcl/source/bitmap/BitmapScaleSuperFilter.cxx +++ b/vcl/source/bitmap/BitmapScaleSuperFilter.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <comphelper/profilezone.hxx> #include <comphelper/threadpool.hxx> #include <tools/helpers.hxx> @@ -127,6 +128,7 @@ public: void scaleUp32bit(ScaleContext &rCtx, long nStartY, long nEndY) { + comphelper::ProfileZone pz("BitmapScaleSuperFilter::scaleUp32bit"); const int nColorComponents = 4; const long nStartX = 0; @@ -261,6 +263,7 @@ void scaleUpPaletteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) void scaleUp24bit(ScaleContext &rCtx, long nStartY, long nEndY) { + comphelper::ProfileZone pz("BitmapScaleSuperFilter::scaleUp24bit"); const int nColorComponents = 3; const long nStartX = 0; @@ -351,6 +354,7 @@ void scaleUpNonPaletteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) void scaleDown32bit(ScaleContext &rCtx, long nStartY, long nEndY) { + comphelper::ProfileZone pz("BitmapScaleSuperFilter::scaleDown32bit"); const int constColorComponents = 4; const long nStartX = 0; @@ -746,6 +750,7 @@ void scaleDownPaletteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) void scaleDown24bit(ScaleContext &rCtx, long nStartY, long nEndY) { + comphelper::ProfileZone pz("BitmapScaleSuperFilter::scaleDown24bit"); const int constColorComponents = 3; const long nStartX = 0; |