webengine/osswebengine/WebCore/platform/symbian/bitmap/StaticImageDecoder.cpp
branchRCL_3
changeset 94 919f36ff910f
parent 93 79859ed3eea9
equal deleted inserted replaced
93:79859ed3eea9 94:919f36ff910f
    19 #include "StaticImageDecoder.h"
    19 #include "StaticImageDecoder.h"
    20 #include "MaskedBitmap.h"
    20 #include "MaskedBitmap.h"
    21 #include <imageconversion.h>
    21 #include <imageconversion.h>
    22 #include <eikenv.h>
    22 #include <eikenv.h>
    23 #include <fbs.h>
    23 #include <fbs.h>
    24 #include <oom.h>
    24 #include "oom.h"
    25 
    25 
    26 // CONSTANTS
    26 // CONSTANTS
    27 // block all images that would take free ram below this amount when decoded
    27 // block all images that would take free ram below this amount when decoded
    28 const TInt KFreeRamBitmapBlockLimit = 1536 * 1024;
    28 const TInt KFreeRamBitmapBlockLimit = 1536 * 1024;
    29 // do the following additional checks if image would take free ram below this amount
    29 // do the following additional checks if image would take free ram below this amount