Home
last modified time | relevance | path

Searched refs:BitsPerComponent (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/core/fxcodec/codec/
Dfx_codec_flate.cpp351 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 …]
Dccodec_flatemodule.h26 int BitsPerComponent,
34 int BitsPerComponent,
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode.cpp27 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/
Dbug_554151.in45 /BitsPerComponent 4
Dbug_547706.in34 << /BitsPerComponent 16 /ColorSpace /DeviceRGB /ShadingType 5 >>
Dbug_557223.in35 /BitsPerComponent 8
Dbug_555784.in50 /BitsPerComponent 16
/external/pdfium/testing/resources/pixel/
Dbug_512557.in27 /BitsPerComponent 1
Dbug_71.in47 /BitsPerComponent 8