Home
last modified time | relevance | path

Searched refs:getColorTable (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/core/
DSkProcSpriteBlitter.cpp28 if fSource.getColorTable())
29 ctable = fSource.getColorTable()->lockColors();
38 if fSource.getColorTable())
39 fSource.getColorTable()->unlockColors();
DSkSpriteBlitter_RGB16.cpp145 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.getColorTable()->lockCo…
148 #define SkSPRITE_POSTAMBLE(srcBM) srcBM.getColorTable()->unlockColors()
159 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.getColorTable()->lockCo…
162 #define SkSPRITE_POSTAMBLE(srcBM) srcBM.getColorTable()->unlockColors();
237 #define SkSPRITE_PREAMBLE(srcBM, x, y) const uint16_t* ctable = srcBM.getColorTable()->lock16B…
240 #define SkSPRITE_POSTAMBLE(srcBM) srcBM.getColorTable()->unlock16BitCache()
251 #define SkSPRITE_PREAMBLE(srcBM, x, y) const uint16_t* ctable = srcBM.getColorTable()->lock16B…
254 #define SkSPRITE_POSTAMBLE(srcBM) srcBM.getColorTable()->unlock16BitCache();
DSkBitmapProcState_procs.h157 #define PREAMBLE(state) const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()…
160 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors()
172 … const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()->lockColors()
175 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors()
283 #define PREAMBLE(state) const uint16_t* SK_RESTRICT table = state.fBitmap->getColorTable()-…
286 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlock16BitCache()
338 #define PREAMBLE(state) const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()…
340 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors()
DSkBitmap.cpp659 for (int i = bm.getColorTable()->count() - 1; i >= 0; --i) { in ComputeIsOpaque()
959 ctable.reset(SkNEW_ARGS(SkColorTable, (*src->getColorTable()))); in copyTo()
1123 SkColorTable* ct = src.getColorTable(); in GetBitmapAlpha()
1238 SkColorTable* ct = bitmap.getColorTable(); in WriteRawPixels()
DSkBitmapProcShader.cpp93 if (!bm.getColorTable()) { in valid_for_drawing()
/external/chromium_org/third_party/skia/src/core/
DSkProcSpriteBlitter.cpp28 if fSource.getColorTable())
29 ctable = fSource.getColorTable()->lockColors();
38 if fSource.getColorTable())
39 fSource.getColorTable()->unlockColors();
DSkSpriteBlitter_RGB16.cpp145 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.getColorTable()->lockCo…
148 #define SkSPRITE_POSTAMBLE(srcBM) srcBM.getColorTable()->unlockColors()
159 #define SkSPRITE_PREAMBLE(srcBM, x, y) const SkPMColor* ctable = srcBM.getColorTable()->lockCo…
162 #define SkSPRITE_POSTAMBLE(srcBM) srcBM.getColorTable()->unlockColors();
237 #define SkSPRITE_PREAMBLE(srcBM, x, y) const uint16_t* ctable = srcBM.getColorTable()->lock16B…
240 #define SkSPRITE_POSTAMBLE(srcBM) srcBM.getColorTable()->unlock16BitCache()
251 #define SkSPRITE_PREAMBLE(srcBM, x, y) const uint16_t* ctable = srcBM.getColorTable()->lock16B…
254 #define SkSPRITE_POSTAMBLE(srcBM) srcBM.getColorTable()->unlock16BitCache();
DSkBitmapProcState_procs.h157 #define PREAMBLE(state) const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()…
160 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors()
172 … const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()->lockColors()
175 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors()
283 #define PREAMBLE(state) const uint16_t* SK_RESTRICT table = state.fBitmap->getColorTable()-…
286 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlock16BitCache()
338 #define PREAMBLE(state) const SkPMColor* SK_RESTRICT table = state.fBitmap->getColorTable()…
340 #define POSTAMBLE(state) state.fBitmap->getColorTable()->unlockColors()
DSkBitmap.cpp595 for (int i = bm.getColorTable()->count() - 1; i >= 0; --i) { in ComputeIsOpaque()
883 this->getColorTable()); in readPixels()
943 ctable.reset(SkNEW_ARGS(SkColorTable, (*src->getColorTable()))); in copyTo()
1068 SkColorTable* ct = src.getColorTable(); in GetBitmapAlpha()
1183 SkColorTable* ct = bitmap.getColorTable(); in WriteRawPixels()
DSkBitmapProcShader.cpp106 if (!bm.getColorTable()) { in valid_for_drawing()
/external/chromium_org/third_party/skia/src/opts/
DSkBitmapProcState_opts_mips_dsp.cpp21 const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->lock16BitCache(); in SI8_D16_nofilter_DX_mips_dsp()
145 s.fBitmap->getColorTable()->unlock16BitCache(); in SI8_D16_nofilter_DX_mips_dsp()
154 const SkPMColor* SK_RESTRICT table = s.fBitmap->getColorTable()->lockColors(); in SI8_opaque_D32_nofilter_DX_mips_dsp()
366 s.fBitmap->getColorTable()->unlockColors(); in SI8_opaque_D32_nofilter_DX_mips_dsp()
DSkBitmapProcState_opts_arm.cpp33 const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->lock16BitCache(); in SI8_D16_nofilter_DX_arm()
108 s.fBitmap->getColorTable()->unlock16BitCache(); in SI8_D16_nofilter_DX_arm()
124 const SkPMColor* SK_RESTRICT table = s.fBitmap->getColorTable()->lockColors(); in SI8_opaque_D32_nofilter_DX_arm()
188 s.fBitmap->getColorTable()->unlockColors(); in SI8_opaque_D32_nofilter_DX_arm()
/external/chromium_org/third_party/skia/src/images/
DSkImageDecoder_libgif.cpp159 bm.getColorTable()); in error_return()
167 bm.getColorTable()); in gif_warning()
198 SkColorTable* ct = bm->getColorTable(); // Index8 must have it. in sanitize_indexed_bitmap()
DSkDecodingImageGenerator.cpp195 SkColorTable* ctable = bitmap.getColorTable(); in onGetPixels()
DSkImageDecoder_libpng.cpp1163 SkColorTable* ctable = bitmap.getColorTable(); in onEncode()
1223 SkColorTable* ct = bitmap.getColorTable(); in doEncode()
/external/skia/src/images/
DSkImageDecoder_libgif.cpp159 bm.getColorTable()); in error_return()
168 bm.getColorTable()); in gif_warning()
199 SkColorTable* ct = bm->getColorTable(); // Index8 must have it. in sanitize_indexed_bitmap()
DSkDecodingImageGenerator.cpp200 SkColorTable* ctable = bitmap.getColorTable(); in onGetPixels()
DSkImageDecoder_libpng.cpp1163 SkColorTable* ctable = bitmap.getColorTable(); in onEncode()
1223 SkColorTable* ct = bitmap.getColorTable(); in doEncode()
/external/skia/include/core/
DSkBitmap.h496 SkColorTable* getColorTable() const { return fColorTable; } in getColorTable() function
827 fCTable = bm.getColorTable(); in SkAutoLockColors()
860 return this->lockColors(bm.getColorTable()); in lockColors()
/external/chromium_org/third_party/skia/include/core/
DSkBitmap.h459 SkColorTable* getColorTable() const { return fColorTable; } in getColorTable() function
810 fCTable = bm.getColorTable(); in SkAutoLockColors()
843 return this->lockColors(bm.getColorTable()); in lockColors()
/external/skia/tests/
DBitmapCopyTest.cpp56 if (bitmap.getColorTable()) { in init_src()
257 bool hasCT = subset.getColorTable() != NULL; in DEF_TEST()
258 REPORTER_ASSERT(reporter, (copy.getColorTable() != NULL) == hasCT); in DEF_TEST()
/external/chromium_org/third_party/skia/tests/
DBitmapCopyTest.cpp56 if (bitmap.getColorTable()) { in init_src()
257 bool hasCT = subset.getColorTable() != NULL; in DEF_TEST()
258 REPORTER_ASSERT(reporter, (copy.getColorTable() != NULL) == hasCT); in DEF_TEST()
DImageDecodingTest.cpp749 REPORTER_ASSERT(r, bitmap.getColorTable() && "first pass"); in DEF_TEST()
753 REPORTER_ASSERT(r, bitmap.getColorTable() && "second pass"); in DEF_TEST()
/external/skia/src/gpu/
DSkGr.cpp44 SkColorTable* ctable = bitmap.getColorTable(); in build_compressed_data()
/external/chromium_org/third_party/skia/src/gpu/
DSkGr.cpp46 SkColorTable* ctable = bitmap.getColorTable(); in build_compressed_data()

12