Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libjasper/
Djp2_cod.h153 uint_fast8_t bpc; member
192 uint_fast8_t *bpc; member
306 #define JP2_BPCTODTYPE(bpc) \ argument
307 (JAS_IMAGE_CDT_SETSGND(bpc >> 7) | JAS_IMAGE_CDT_SETPREC((bpc & 0x7f) + 1))
Djp2_cod.c370 jp2_getuint16(in, &ihdr->numcmpts) || jp2_getuint8(in, &ihdr->bpc) || in jp2_ihdr_getdata()
560 jp2_putuint16(out, ihdr->numcmpts) || jp2_putuint8(out, ihdr->bpc) || in jp2_ihdr_putdata()
820 if (pclr->bpc) in jp2_pclr_destroy()
821 jas_free(pclr->bpc); in jp2_pclr_destroy()
842 if (!(pclr->bpc = jas_alloc2(pclr->numchans, sizeof(uint_fast8_t)))) { in jp2_pclr_getdata()
846 if (jp2_getuint8(in, &pclr->bpc[i])) { in jp2_pclr_getdata()
852 if (jp2_getint(in, (pclr->bpc[j] & 0x80) != 0, in jp2_pclr_getdata()
853 (pclr->bpc[j] & 0x7f) + 1, &x)) { in jp2_pclr_getdata()
Djp2_dec.c250 if ((samedtype && dec->ihdr->data.ihdr.bpc != JP2_DTYPETOBPC(dtype)) || in jp2_decode()
251 (!samedtype && dec->ihdr->data.ihdr.bpc != JP2_IHDR_BPCNULL)) { in jp2_decode()
362 …>image, cmapent->cmptno, pclrd->numlutents, lutents, JP2_BPCTODTYPE(pclrd->bpc[cmapent->pcol]), ne… in jp2_decode()
Djp2_enc.c178 ihdr->bpc = allcmptssame ? JP2_SPTOBPC(jas_image_cmptsgnd(image, 0), in jp2_write_header()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_png.cpp123 int bpc = 0, color_type = 0, color_type1 = 0, pass = 0; in _png_get_header_func() local
125 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bpc, &color_type, NULL, in _png_get_header_func()
128 if (bpc > 8) { in _png_get_header_func()
130 } else if (bpc < 8) { in _png_get_header_func()
133 bpc = 8; in _png_get_header_func()
138 if (!pModule->ReadHeaderCallback(p->child_ptr, width, height, bpc, pass, in _png_get_header_func()
Dfx_codec.cpp297 int bpc);
363 int bpc) { in Create() argument
369 m_bpc = bpc; in Create()
375 pitch *= bpc; in Create()
384 m_dwLineBytes = (static_cast<FX_DWORD>(width) * nComps * bpc + 7) / 8; in Create()
482 int bpc) { in CreateRunLengthDecoder() argument
485 bpc)) { in CreateRunLengthDecoder()
Dfx_codec_flate.cpp337 int bpc, in PNG_PredictLine() argument
340 int row_size = (nPixels * bpc * nColors + 7) / 8; in PNG_PredictLine()
341 int BytesPerPixel = (bpc * nColors + 7) / 8; in PNG_PredictLine()
745 int bpc,
795 int bpc, in Create() argument
805 m_bpc = bpc; in Create()
807 m_Pitch = (static_cast<FX_DWORD>(width) * nComps * bpc + 7) / 8; in Create()
905 int bpc, in CreateDecoder() argument
911 pDecoder->Create(src_buf, src_size, width, height, nComps, bpc, predictor, in CreateDecoder()
Dfx_codec_tiff.cpp36 FX_DWORD& bpc,
283 FX_DWORD& bpc, in LoadFrameInfo() argument
324 bpc = tif_bpc; in LoadFrameInfo()
532 FX_DWORD& bpc, in LoadFrameInfo() argument
535 return pDecoder->LoadFrameInfo(frame, width, height, comps, bpc, pAttribute); in LoadFrameInfo()
Dcodec_int.h40 int bpc) override;
133 int bpc,
360 FX_DWORD& bpc,
Dfx_codec_progress.h117 int bpc,
Dfx_codec_progress.cpp340 int bpc, in PngReadHeaderFunc() argument
348 pCodec->m_SrcBPC = bpc; in PngReadHeaderFunc()
1254 FX_DWORD bpc; in DetectImageType() local
1257 (FX_DWORD&)m_SrcComponents, bpc, pAttribute); in DetectImageType()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_loadimage.cpp45 FX_SAFE_DWORD CalculatePitch8(FX_DWORD bpc, FX_DWORD components, int width) { in CalculatePitch8() argument
46 FX_SAFE_DWORD pitch = bpc; in CalculatePitch8()
63 bool IsAllowedBPCValue(int bpc) { in IsAllowedBPCValue() argument
64 return bpc == 1 || bpc == 2 || bpc == 4 || bpc == 8 || bpc == 16; in IsAllowedBPCValue()
598 int bpc,
620 int comps, bpc; in CreateDecoder() local
623 bpc, bTransform)) { in CreateDecoder()
636 m_bpc = bpc; in CreateDecoder()
Dfpdf_render_image.cpp863 int bpc,
/external/pdfium/core/include/fxcodec/
Dfx_codec.h114 int bpc) = 0;
150 int bpc,
295 int bpc,
399 FX_DWORD& bpc,
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser_old.cpp257 int bpc = pDecoder->GetBPC(); in _DecodeAllScanlines() local
260 int pitch = (width * ncomps * bpc + 7) / 8; in _DecodeAllScanlines()
354 FX_DWORD bpc = pDict->GetInteger("BitsPerComponent"); in ReadInlineStream() local
364 if (bpc && pitch > INT_MAX / bpc) { in ReadInlineStream()
367 pitch *= bpc; in ReadInlineStream()
/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/third_party/libopenjpeg20/
Djp2.h171 OPJ_UINT32 bpc; member
Djp2.c570 opj_read_bytes(p_image_header_data,&(jp2->bpc),1); /* BPC */ in opj_jp2_read_ihdr()
622 opj_write_bytes(l_current_ihdr_ptr, jp2->bpc, 1); /* BPC */ in opj_jp2_write_ihdr()
689 if (jp2->bpc != 255 ){ in opj_jp2_read_bpcc()
690 …ble although BPC given by the IHDR box (%d) indicate components bit depth is constant\n",jp2->bpc); in opj_jp2_read_bpcc()
1557 if (jp2->bpc == 255) { in opj_jp2_write_jp2h()
1829 jp2->bpc = depth_0 + (sign << 7); in opj_jp2_setup_encoder()
1834 jp2->bpc = 255; in opj_jp2_setup_encoder()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_decode.cpp278 int bpc, in FPDFAPI_CreateFlateDecoder() argument
292 src_buf, src_size, width, height, nComps, bpc, predictor, Colors, in FPDFAPI_CreateFlateDecoder()