Home
last modified time | relevance | path

Searched refs:bpc (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/fxcodec/codec/
Dccodec_pngmodule.cpp117 int bpc = 0; in _png_get_header_func() local
119 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bpc, &color_type, nullptr, in _png_get_header_func()
122 if (bpc > 8) in _png_get_header_func()
124 else if (bpc < 8) in _png_get_header_func()
127 bpc = 8; in _png_get_header_func()
133 if (!pContext->m_pDelegate->PngReadHeader(width, height, bpc, pass, in _png_get_header_func()
Dfx_codec.cpp1565 int bpc);
1630 int bpc) { in Create() argument
1636 m_bpc = bpc; in Create()
1640 pitch *= bpc; in Create()
1649 m_dwLineBytes = (static_cast<uint32_t>(width) * nComps * bpc + 7) / 8; in Create()
1748 int bpc) { in CreateRunLengthDecoder() argument
1750 if (!pDecoder->Create(src_buf, src_size, width, height, nComps, bpc)) in CreateRunLengthDecoder()
Dfx_codec_flate.cpp293 int bpc, in PNG_PredictLine() argument
296 int row_size = (nPixels * bpc * nColors + 7) / 8; in PNG_PredictLine()
297 int BytesPerPixel = (bpc * nColors + 7) / 8; in PNG_PredictLine()
591 int bpc,
640 int bpc, in Create() argument
650 m_bpc = bpc; in Create()
651 m_Pitch = (static_cast<uint32_t>(width) * nComps * bpc + 7) / 8; in Create()
751 int bpc, in CreateDecoder() argument
757 pDecoder->Create(src_buf, src_size, width, height, nComps, bpc, predictor, in CreateDecoder()
Dccodec_tiffmodule.cpp35 int32_t* bpc,
242 int32_t* bpc, in LoadFrameInfo() argument
287 *bpc = tif_bpc; in LoadFrameInfo()
496 int32_t* bpc, in LoadFrameInfo() argument
499 return ctx->LoadFrameInfo(frame, width, height, comps, bpc, pAttribute); in LoadFrameInfo()
Dccodec_basicmodule.h24 int bpc);
Dccodec_tiffmodule.h33 int32_t* bpc,
Dccodec_pngmodule.h27 int bpc,
Dccodec_flatemodule.h23 int bpc,
Dccodec_progressivedecoder.h128 int bpc,
Dfx_codec_progress.cpp333 int bpc, in PngReadHeader() argument
340 m_SrcBPC = bpc; in PngReadHeader()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dfetch_jit.cpp264 …uint32_t bpc = info.bpp / info.numComps; ///@todo Code below assumes all components are same size… in JitLoadVertices() local
335 switch(bpc) in JitLoadVertices()
350 switch(bpc) in JitLoadVertices()
366 switch(bpc) in JitLoadVertices()
383 switch(bpc) in JitLoadVertices()
399 switch(bpc) in JitLoadVertices()
414 switch(bpc) in JitLoadVertices()
522 if (info.bpc[0] != 8 && info.bpc[0] != 16 && info.bpc[0] != 32 && info.bpc[0] != 64) in IsOddFormat()
533 uint32_t bpc0 = info.bpc[0]; in IsUniformFormat()
538 if (bpc0 != info.bpc[c] || type0 != info.type[c]) in IsUniformFormat()
[all …]
Dblend_jit.cpp223 if (info.bpc[c] <= QUANTIZE_THRESHOLD && info.type[c] != SWR_TYPE_UNUSED) in Quantize()
226 float factor = (float)((1 << info.bpc[c]) - 1); in Quantize()
674 if (info.bpc[i] >= 32) { in Create()
678 vMask[i] = VIMMED1((1 << info.bpc[i]) - 1); in Create()
680 scale[i] = (1 << (info.bpc[i] - 1)) - 1; in Create()
682 scale[i] = (1 << info.bpc[i]) - 1; in Create()
735 result[i] = SHL(result[i], C(32 - info.bpc[i])); in Create()
736 result[i] = ASHR(result[i], C(32 - info.bpc[i])); in Create()
Dbuilder_misc.cpp1009 if(info.type[0] == SWR_TYPE_FLOAT && info.bpc[0] == 32) in Gather4()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp45 int bpc = pDecoder->GetBPC(); in DecodeAllScanlines() local
48 int pitch = (width * ncomps * bpc + 7) / 8; in DecodeAllScanlines()
143 uint32_t bpc = pDict->GetIntegerFor("BitsPerComponent"); in ReadInlineStream() local
153 if (bpc && pitch > INT_MAX / bpc) in ReadInlineStream()
156 pitch *= bpc; in ReadInlineStream()
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp51 FX_SAFE_UINT32 CalculatePitch8(uint32_t bpc, uint32_t components, int width) { in CalculatePitch8() argument
52 FX_SAFE_UINT32 pitch = bpc; in CalculatePitch8()
69 bool IsAllowedBPCValue(int bpc) { in IsAllowedBPCValue() argument
70 return bpc == 1 || bpc == 2 || bpc == 4 || bpc == 8 || bpc == 16; in IsAllowedBPCValue()
545 int bpc; in CreateDCTDecoder() local
547 &bpc, &bTransform)) { in CreateDCTDecoder()
552 m_bpc = bpc; in CreateDCTDecoder()
600 m_bpc = bpc; in CreateDCTDecoder()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/
Dreport.css128 pre.source span.bpc {
134 pre.source span.bpc:hover {
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode.h65 int bpc,
Dfpdf_parser_decode.cpp288 int bpc, in FPDFAPI_CreateFlateDecoder() argument
303 src_buf, src_size, width, height, nComps, bpc, predictor, Colors, in FPDFAPI_CreateFlateDecoder()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dformats.h239 uint32_t bpc[4]; ///< bits per component member
/external/pdfium/third_party/libopenjpeg20/
Djp2.c605 opj_read_bytes(p_image_header_data, &(jp2->bpc), 1); /* BPC */ in opj_jp2_read_ihdr()
623 jp2->j2k->m_cp.allow_different_bit_depth_sign = (jp2->bpc == 255); in opj_jp2_read_ihdr()
664 opj_write_bytes(l_current_ihdr_ptr, jp2->bpc, 1); /* BPC */ in opj_jp2_write_ihdr()
736 if (jp2->bpc != 255) { in opj_jp2_read_bpcc()
739 jp2->bpc); in opj_jp2_read_bpcc()
1699 if (jp2->bpc == 255) { in opj_jp2_write_jp2h()
1991 jp2->bpc = depth_0 + (sign << 7); in opj_jp2_setup_encoder()
1996 jp2->bpc = 255; in opj_jp2_setup_encoder()
Djp2.h163 OPJ_UINT32 bpc; member