/external/skia/include/codec/ |
SkEncodedInfo.h | 70 static SkEncodedInfo Make(Color color, Alpha alpha, int bitsPerComponent) { 71 SkASSERT(1 == bitsPerComponent || 72 2 == bitsPerComponent || 73 4 == bitsPerComponent || 74 8 == bitsPerComponent || 75 16 == bitsPerComponent); 85 SkASSERT(16 != bitsPerComponent); 91 SkASSERT(bitsPerComponent >= 8); 97 SkASSERT(8 == bitsPerComponent); 101 SkASSERT(bitsPerComponent >= 8) [all...] |
/external/skia/src/utils/mac/ |
SkCreateCGImageRef.cpp | 57 size_t* bitsPerComponent, 68 *bitsPerComponent = 5; 75 *bitsPerComponent = 8; 80 *bitsPerComponent = 8; 84 *bitsPerComponent = 8; 88 *bitsPerComponent = 4; 103 size_t* bitsPerComponent, 106 if (!getBitmapInfo(bm, bitsPerComponent, info, &upscaleTo32)) { 124 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING; 127 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info) [all...] |
/external/pdfium/core/fxcodec/codec/ |
ccodec_flatemodule.h | 26 int BitsPerComponent, 34 int BitsPerComponent,
|
fx_codec_flate.cpp | 351 int BitsPerComponent, 353 const int BytesPerPixel = (Colors * BitsPerComponent + 7) / 8; 354 const int row_size = (Colors * BitsPerComponent * Columns + 7) / 8; 444 int BitsPerComponent, 447 if (BitsPerComponent == 1) { 448 int row_bits = std::min(BitsPerComponent * Colors * Columns, 466 int BytesPerPixel = BitsPerComponent * Colors / 8; 467 if (BitsPerComponent == 16) { 485 int BitsPerComponent, 487 int row_size = (Colors * BitsPerComponent * Columns + 7) / 8 [all...] |
/external/pdfium/testing/resources/ |
bug_547706.in | 34 << /BitsPerComponent 16 /ColorSpace /DeviceRGB /ShadingType 5 >>
|
bug_554151.in | 45 /BitsPerComponent 4
|
bug_557223.in | 35 /BitsPerComponent 8
|
bug_555784.in | 50 /BitsPerComponent 16 [all...] |
/external/pdfium/testing/resources/pixel/ |
bug_512557.in | 27 /BitsPerComponent 1
|
bug_71.in | 47 /BitsPerComponent 8
|
/external/pdfium/core/fpdfapi/page/ |
cpdf_streamcontentparser_unittest.cpp | 9 EXPECT_EQ(CFX_ByteStringC("BitsPerComponent"),
|
cpdf_image.cpp | 105 pDict->SetNewFor<CPDF_Number>("BitsPerComponent", bits); 213 pDict->SetNewFor<CPDF_Number>("BitsPerComponent", 1); 242 pDict->SetNewFor<CPDF_Number>("BitsPerComponent", 8); 246 pDict->SetNewFor<CPDF_Number>("BitsPerComponent", 8); 267 pMaskDict->SetNewFor<CPDF_Number>("BitsPerComponent", 8);
|
cpdf_meshstream.cpp | 120 m_nComponentBits = pDict->GetIntegerFor("BitsPerComponent");
|
cpdf_streamparser.cpp | 147 uint32_t bpc = pDict->GetIntegerFor("BitsPerComponent");
|
/external/pdfium/core/fpdfapi/render/ |
fpdf_render_loadimage_embeddertest.cpp | 11 // Test scanline downsampling with a BitsPerComponent of 4.
|
/external/pdfium/core/fpdfapi/parser/ |
fpdf_parser_decode.cpp | 27 bool CheckFlateDecodeParams(int Colors, int BitsPerComponent, int Columns) { 28 if (Colors < 0 || BitsPerComponent < 0 || Columns < 0) 36 if (check > 0 && BitsPerComponent > INT_MAX / check) 39 return check * BitsPerComponent <= INT_MAX - 7; 285 int Colors = 0, BitsPerComponent = 0, Columns = 0; 289 BitsPerComponent = pParams->GetIntegerFor("BitsPerComponent", 8); 291 if (!CheckFlateDecodeParams(Colors, BitsPerComponent, Columns)) 296 BitsPerComponent, Columns); 308 int BitsPerComponent = 0 [all...] |
/external/clang/test/Analysis/Inputs/ |
system-header-simulator.h | 69 size_t bitsPerComponent, size_t bytesPerRow,
|
/external/skia/src/codec/ |
SkSwizzler.cpp | 855 SkASSERT(16 == encodedInfo.bitsPerComponent() || 856 8 == encodedInfo.bitsPerComponent()); 857 if (8 == encodedInfo.bitsPerComponent()) { 868 SkASSERT(16 == encodedInfo.bitsPerComponent()); 883 switch (encodedInfo.bitsPerComponent()) { [all...] |
SkBmpCodec.cpp | 439 uint8_t bitsPerComponent; 450 bitsPerComponent = 8; 453 bitsPerComponent = (uint8_t) bitsPerPixel; 460 bitsPerComponent = 8; 472 bitsPerComponent = 8; 484 const SkEncodedInfo info = SkEncodedInfo::Make(color, alpha, bitsPerComponent);
|
SkAndroidCodec.cpp | 123 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8;
|
SkPngCodec.cpp | 467 if (16 == info.bitsPerComponent()) { [all...] |
/external/skia/src/pdf/ |
SkPDFBitmap.cpp | 385 pdfDict.insertInt("BitsPerComponent", 8); 469 pdfDict.insertInt("BitsPerComponent", 8);
|
/external/ImageMagick/coders/ |
ps2.c | 253 " /BitsPerComponent 8", 267 " /BitsPerComponent 8", 299 " /BitsPerComponent bits", 327 " /BitsPerComponent 8", [all...] |
ps3.c | 657 " /BitsPerComponent 8", 670 " /BitsPerComponent 8", 699 " /BitsPerComponent bits", 717 " /BitsPerComponent 8", 745 " /BitsPerComponent 1", [all...] |
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
genPCLm.cpp | 494 sprintf(pOutStr, "/BitsPerComponent 8\n"); 583 sprintf(pOutStr, "/BitsPerComponent 8\n"); 709 sprintf(pOutStr, "/BitsPerComponent 8\n"); [all...] |