Searched refs:BitsPerComponent (Results 1 – 9 of 9) sorted by relevance
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_flate.cpp | 351 int BitsPerComponent, in PNG_Predictor() argument 353 const int BytesPerPixel = (Colors * BitsPerComponent + 7) / 8; in PNG_Predictor() 354 const int row_size = (Colors * BitsPerComponent * Columns + 7) / 8; in PNG_Predictor() 444 int BitsPerComponent, in TIFF_PredictLine() argument 447 if (BitsPerComponent == 1) { in TIFF_PredictLine() 448 int row_bits = std::min(BitsPerComponent * Colors * Columns, in TIFF_PredictLine() 466 int BytesPerPixel = BitsPerComponent * Colors / 8; in TIFF_PredictLine() 467 if (BitsPerComponent == 16) { in TIFF_PredictLine() 485 int BitsPerComponent, in TIFF_Predictor() argument 487 int row_size = (Colors * BitsPerComponent * Columns + 7) / 8; in TIFF_Predictor() [all …]
|
D | ccodec_flatemodule.h | 26 int BitsPerComponent, 34 int BitsPerComponent,
|
/external/pdfium/core/fpdfapi/parser/ |
D | fpdf_parser_decode.cpp | 27 bool CheckFlateDecodeParams(int Colors, int BitsPerComponent, int Columns) { in CheckFlateDecodeParams() argument 28 if (Colors < 0 || BitsPerComponent < 0 || Columns < 0) in CheckFlateDecodeParams() 36 if (check > 0 && BitsPerComponent > INT_MAX / check) in CheckFlateDecodeParams() 39 return check * BitsPerComponent <= INT_MAX - 7; in CheckFlateDecodeParams() 285 int Colors = 0, BitsPerComponent = 0, Columns = 0; in FPDFAPI_CreateFlateDecoder() local 289 BitsPerComponent = pParams->GetIntegerFor("BitsPerComponent", 8); in FPDFAPI_CreateFlateDecoder() 291 if (!CheckFlateDecodeParams(Colors, BitsPerComponent, Columns)) in FPDFAPI_CreateFlateDecoder() 296 BitsPerComponent, Columns); in FPDFAPI_CreateFlateDecoder() 308 int BitsPerComponent = 0; in FPDFAPI_FlateOrLZWDecode() local 315 BitsPerComponent = pParams->GetIntegerFor("BitsPerComponent", 8); in FPDFAPI_FlateOrLZWDecode() [all …]
|
/external/pdfium/testing/resources/ |
D | bug_554151.in | 45 /BitsPerComponent 4
|
D | bug_547706.in | 34 << /BitsPerComponent 16 /ColorSpace /DeviceRGB /ShadingType 5 >>
|
D | bug_557223.in | 35 /BitsPerComponent 8
|
D | bug_555784.in | 50 /BitsPerComponent 16
|
/external/pdfium/testing/resources/pixel/ |
D | bug_512557.in | 27 /BitsPerComponent 1
|
D | bug_71.in | 47 /BitsPerComponent 8
|