Searched defs:bpc (Results 1 - 11 of 11) sorted by relevance

/external/pdfium/core/fpdfapi/page/
H A Dcpdf_streamparser.cpp45 int bpc = pDecoder->GetBPC(); local
48 int pitch = (width * ncomps * bpc + 7) / 8;
143 uint32_t bpc = pDict->GetIntegerFor("BitsPerComponent"); local
153 if (bpc && pitch > INT_MAX / bpc)
156 pitch *= bpc;
/external/pdfium/core/fxcodec/codec/
H A Dccodec_pngmodule.cpp117 int bpc = 0; local
119 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bpc, &color_type, nullptr,
122 if (bpc > 8)
124 else if (bpc < 8)
127 bpc = 8;
133 if (!pContext->m_pDelegate->PngReadHeader(width, height, bpc, pass,
H A Dccodec_tiffmodule.cpp35 int32_t* bpc,
242 int32_t* bpc,
287 *bpc = tif_bpc;
496 int32_t* bpc,
499 return ctx->LoadFrameInfo(frame, width, height, comps, bpc, pAttribute);
238 LoadFrameInfo(int32_t frame, int32_t* width, int32_t* height, int32_t* comps, int32_t* bpc, CFX_DIBAttribute* pAttribute) argument
491 LoadFrameInfo(Context* pContext, int32_t frame, int32_t* width, int32_t* height, int32_t* comps, int32_t* bpc, CFX_DIBAttribute* pAttribute) argument
H A Dfx_codec.cpp1565 int bpc);
1630 int bpc) {
1636 m_bpc = bpc;
1640 pitch *= bpc;
1649 m_dwLineBytes = (static_cast<uint32_t>(width) * nComps * bpc + 7) / 8;
1748 int bpc) {
1750 if (!pDecoder->Create(src_buf, src_size, width, height, nComps, bpc))
1625 Create(const uint8_t* src_buf, uint32_t src_size, int width, int height, int nComps, int bpc) argument
1743 CreateRunLengthDecoder(const uint8_t* src_buf, uint32_t src_size, int width, int height, int nComps, int bpc) argument
H A Dfx_codec_flate.cpp293 int bpc,
296 int row_size = (nPixels * bpc * nColors + 7) / 8;
297 int BytesPerPixel = (bpc * nColors + 7) / 8;
591 int bpc,
640 int bpc,
650 m_bpc = bpc;
651 m_Pitch = (static_cast<uint32_t>(width) * nComps * bpc + 7) / 8;
751 int bpc,
757 pDecoder->Create(src_buf, src_size, width, height, nComps, bpc, predictor,
290 PNG_PredictLine(uint8_t* pDestData, const uint8_t* pSrcData, const uint8_t* pLastLine, int bpc, int nColors, int nPixels) argument
635 Create(const uint8_t* src_buf, uint32_t src_size, int width, int height, int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns) argument
745 CreateDecoder( const uint8_t* src_buf, uint32_t src_size, int width, int height, int nComps, int bpc, int predictor, int Colors, int BitsPerComponent, int Columns) argument
H A Dfx_codec_progress.cpp333 int bpc,
340 m_SrcBPC = bpc;
331 PngReadHeader(int width, int height, int bpc, int pass, int* color_type, double* gamma) argument
/external/pdfium/core/fpdfapi/parser/
H A Dfpdf_parser_decode.cpp288 int bpc,
303 src_buf, src_size, width, height, nComps, bpc, predictor, Colors,
282 FPDFAPI_CreateFlateDecoder( const uint8_t* src_buf, uint32_t src_size, int width, int height, int nComps, int bpc, const CPDF_Dictionary* pParams) argument
/external/pdfium/third_party/libopenjpeg20/
H A Djp2.h163 OPJ_UINT32 bpc; member in struct:opj_jp2
/external/pdfium/core/fpdfapi/render/
H A Dcpdf_dibsource.cpp51 FX_SAFE_UINT32 CalculatePitch8(uint32_t bpc, uint32_t components, int width) { argument
52 FX_SAFE_UINT32 pitch = bpc;
69 bool IsAllowedBPCValue(int bpc) { argument
70 return bpc == 1 || bpc == 2 || bpc == 4 || bpc == 8 || bpc == 16;
545 int bpc; local
547 &bpc,
[all...]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
H A Dformats.h239 uint32_t bpc[4]; ///< bits per component member in struct:SWR_FORMAT_INFO
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
H A Dfetch_jit.cpp264 uint32_t bpc = info.bpp / info.numComps; ///@todo Code below assumes all components are same size. Need to fix. local
335 switch(bpc)
350 switch(bpc)
366 switch(bpc)
383 switch(bpc)
399 switch(bpc)
414 switch(bpc)
522 if (info.bpc[0] != 8 && info.bpc[0] != 16 && info.bpc[
721 uint32_t bpc = info.bpp / info.numComps; ///@todo Code below assumes all components are same size. Need to fix. local
[all...]

Completed in 371 milliseconds