/external/pdfium/third_party/libopenjpeg20/ |
image.c | 46 image->numcomps = numcmpts; 48 image->comps = (opj_image_comp_t*)opj_calloc(1,image->numcomps * sizeof(opj_image_comp_t)); 86 for(compno = 0; compno < image->numcomps; compno++) { 124 for (i = 0; i < p_image_header->numcomps; ++i) { 162 for(compno = 0; compno < p_image_dest->numcomps; compno++) { 172 p_image_dest->numcomps = p_image_src->numcomps; 174 p_image_dest->comps = (opj_image_comp_t*) opj_malloc(p_image_dest->numcomps * sizeof(opj_image_comp_t)); 177 p_image_dest->numcomps = 0; 181 for (compno=0; compno < p_image_dest->numcomps; compno++) [all...] |
tcd.c | 57 fprintf(fd, " x0=%d, y0=%d, x1=%d, y1=%d, numcomps=%d\n", 58 tile->x0, tile->y0, tile->x1, tile->y1, tile->numcomps); 59 for (compno = 0; compno < tile->numcomps; compno++) { 230 for (compno = 0; compno < tcd_tile->numcomps; compno++) { 313 for (compno = 0; compno < tcd_tile->numcomps; compno++) { 418 for (compno = 0; compno < tcd_tile->numcomps; compno++) { 600 p_tcd->tcd_image->tiles->comps = (opj_tcd_tilecomp_t *) opj_calloc(p_image->numcomps,sizeof(opj_tcd_tilecomp_t)); 605 p_tcd->tcd_image->tiles->numcomps = p_image->numcomps; [all...] |
pi.c | 325 for (compno = 0; compno < pi->numcomps; compno++) { 412 for (compno = 0; compno < pi->numcomps; compno++) { 615 for (compno = 0; compno < p_image->numcomps; ++compno) { 739 for (compno = 0; compno < p_image->numcomps; ++compno) { [all...] |
jp2.c | 560 opj_read_bytes(p_image_header_data,&(jp2->numcomps),2); /* NC */ 564 jp2->comps = (opj_jp2_comps_t*) opj_calloc(jp2->numcomps, sizeof(opj_jp2_comps_t)); 619 opj_write_bytes(l_current_ihdr_ptr, jp2->numcomps, 2); /* NC */ 645 OPJ_UINT32 l_bpcc_size = 8 + jp2->numcomps; 665 for (i = 0; i < jp2->numcomps; ++i) { 694 if (p_bpc_header_size != jp2->numcomps) { 700 for (i = 0; i < jp2->numcomps; ++i) { 840 OPJ_UINT32 nr_channels = image->numcomps; /* FIXME image->numcomps == jp2->numcomps before color is applied ??? * [all...] |
j2k.c | 9354 OPJ_UINT32 numcomps = p_j2k->m_private_image->numcomps; local [all...] |
t1.c | 267 OPJ_UINT32 numcomps, 279 OPJ_UINT32 numcomps, [all...] |
pi.h | 99 OPJ_UINT32 numcomps; member in struct:opj_pi_iterator
|
/external/deqp/modules/gles31/functional/ |
es31fComputeShaderBuiltinVarTests.cpp | 177 static inline UVec3 readResultVec (const deUint32* ptr, int numComps) 180 for (int ndx = 0; ndx < numComps; ndx++) 185 static inline bool compareComps (const UVec3& a, const UVec3& b, int numComps) 187 DE_ASSERT(numComps == 1 || numComps == 3); 188 return numComps == 3 ? tcu::allEqual(a, b) : a.x() == b.x(); 194 int numComps; 196 LogComps (const UVec3& v_, int numComps_) : v(v_), numComps(numComps_) {} 201 DE_ASSERT(c.numComps == 1 || c.numComps == 3) [all...] |
/external/opencv3/3rdparty/libjasper/ |
jpc_cs.c | 221 cstate->numcomps = 0; 312 cstate->numcomps = ms->parms.siz.numcomps; 361 cstate->numcomps = ms->parms.siz.numcomps; 497 jpc_getuint16(in, &siz->numcomps)) { 501 !siz->tileheight || !siz->numcomps) { 504 if (!(siz->comps = jas_alloc2(siz->numcomps, sizeof(jpc_sizcomp_t)))) { 507 for (i = 0; i < siz->numcomps; ++i) { 533 siz->tileheight && siz->numcomps); [all...] |
jpc_dec.c | 158 static jpc_dec_cp_t *jpc_dec_cp_create(uint_fast16_t numcomps); 417 for (cmptno = 0, cmpt = dec->cmpts; cmptno < dec->numcomps; ++cmptno, 452 compinfos = jas_alloc2(dec->numcomps, sizeof(jas_image_cmptparm_t)); 455 cmptno < dec->numcomps; ++cmptno, ++cmpt, ++compinfo) { 466 if (!(dec->image = jas_image_create(dec->numcomps, compinfos, 689 dec->numcomps; ++compno, ++tcomp, ++cmpt) { 925 for (compno = 0, tcomp = tile->tcomps; compno < dec->numcomps; [all...] |
jpc_t2dec.c | 480 pi->numcomps = dec->numcomps; 481 if (!(pi->picomps = jas_alloc2(pi->numcomps, sizeof(jpc_picomp_t)))) { 485 for (compno = 0, picomp = pi->picomps; compno < pi->numcomps; ++compno, 491 compno < pi->numcomps; ++compno, ++tcomp, ++picomp) { 516 dec->cmpts; compno < pi->numcomps; ++compno, ++tcomp, ++picomp, 556 pi->defaultpchg.compnoend = pi->numcomps;
|
jpc_t2cod.c | 158 &pi->picomps[pi->compno]; pi->compno < pi->numcomps 202 &pi->picomps[pi->compno]; pi->compno < pi->numcomps && 248 for (compno = 0, picomp = pi->picomps; compno < pi->numcomps; 272 pi->numcomps; ++pi->compno, ++pi->picomp) { 340 for (compno = 0, picomp = pi->picomps; compno < pi->numcomps; 364 &pi->picomps[pi->compno]; pi->compno < pi->numcomps 522 for (compno = 0, picomp = pi->picomps; compno < pi->numcomps; 673 for (compno = 0, picomp = pi->picomps; compno < pi->numcomps;
|
jpc_t2enc.c | 567 pi->numcomps = cp->numcmpts; 568 if (!(pi->picomps = jas_alloc2(pi->numcomps, sizeof(jpc_picomp_t)))) { 572 for (compno = 0, picomp = pi->picomps; compno < pi->numcomps; ++compno, 578 compno < pi->numcomps; ++compno, ++tcomp, ++picomp) { 607 compno < pi->numcomps; ++compno, ++tcomp, ++picomp) { 646 pi->defaultpchg.compnoend = pi->numcomps;
|
jpc_cs.h | 129 uint_fast16_t numcomps; member in struct:__anon21695 214 uint_fast16_t numcomps; member in struct:__anon21698 566 int numcomps; member in struct:__anon21714
|
jpc_dec.h | 213 int numcomps; member in struct:__anon21724 622 int numcomps; member in struct:__anon21733
|
jpc_t2cod.h | 150 int numcomps; member in struct:__anon21752
|
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_jpx_opj.cpp | 411 if (img->numcomps < 3) { 487 if (image->numcomps > 2) { 547 image->comps, (image->numcomps + 2) * sizeof(opj_image_comp_t)); 548 if (image->numcomps == 2) { 557 image->numcomps += 2; 578 int enumcs, numcomps; local 579 numcomps = image->numcomps; 580 if (numcomps < 3) { 759 if (image->color_space != OPJ_CLRSPC_SYCC && image->numcomps == 3 & [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
vktComputeShaderBuiltinVarTests.cpp | 74 static inline bool compareNumComponents (const UVec3& a, const UVec3& b,const int numComps) 76 DE_ASSERT(numComps == 1 || numComps == 3); 77 return numComps == 3 ? tcu::allEqual(a, b) : a.x() == b.x(); 80 static inline UVec3 readResultVec (const deUint32* ptr, const int numComps) 83 for (int ndx = 0; ndx < numComps; ndx++) 91 int numComps; 93 LogComps (const UVec3 &v_, int numComps_) : v(v_), numComps(numComps_) {} 98 DE_ASSERT(c.numComps == 1 || c.numComps == 3) [all...] |
/hardware/qcom/media/msm8974/mm-core/omxcore/src/common/ |
qc_omx_core.c | 656 OMX_INOUT OMX_U32* numComps, 667 if (numComps == NULL) 673 *numComps = 0; 680 (*numComps)++; 688 if(numComps) 690 namecount = *numComps; 697 *numComps = 0; 706 strlcpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); 708 strncpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); 710 (*numComps)++ [all...] |
/hardware/qcom/media/msm8974/mm-core/src/common/ |
qc_omx_core.c | 641 OMX_INOUT OMX_U32* numComps, 652 if (numComps == NULL) 658 *numComps = 0; 665 (*numComps)++; 673 if(numComps) 675 namecount = *numComps; 682 *numComps = 0; 691 strlcpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); 693 strncpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); 695 (*numComps)++ [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderDerivateTests.cpp | 346 int numComps; 350 , numComps (numComps_) 357 DE_ASSERT(de::inRange(v.numComps, 1, 4)); 358 if (v.numComps == 1) return str << v.v[0]; 359 else if (v.numComps == 2) return str << v.v.toWidth<2>(); 360 else if (v.numComps == 3) return str << v.v.toWidth<3>(); 382 const int numComps = glu::getDataTypeFloatScalars(dataType); 387 log << TestLog::Message << "Expecting " << LogVecComps(reference, numComps) << " with threshold " << LogVecComps(threshold, numComps) << TestLog::EndMessage; 399 log << TestLog::Message << "FAIL: got " << LogVecComps(resDerivate, numComps) [all...] |
/hardware/qcom/media/msm8996/mm-core/src/common/ |
qc_omx_core.c | 739 OMX_INOUT OMX_U32* numComps, 750 if (numComps == NULL) 756 *numComps = 0; 763 (*numComps)++; 771 if(numComps) 773 namecount = *numComps; 780 *numComps = 0; 789 strlcpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); 791 strncpy((char *)compNames[*numComps],core[i].name, OMX_MAX_STRINGNAME_SIZE); 793 (*numComps)++ [all...] |
/external/ImageMagick/coders/ |
jp2.c | 392 for (i=0; i < (ssize_t) jp2_image->numcomps; i++) 411 if (jp2_image->numcomps <= 2) 414 if (jp2_image->numcomps > 1) 417 if (jp2_image->numcomps > 3) 419 for (i=0; i < (ssize_t) jp2_image->numcomps; i++) 455 for (i=0; i < (ssize_t) jp2_image->numcomps; i++) 477 if (jp2_image->numcomps == 2) 749 parameters->tcp_rates[0]=((float) (jp2_image->numcomps*jp2_image->comps[0].w* [all...] |
/external/deqp/modules/glshared/ |
glsRandomShaderProgram.cpp | 54 const int numComps = varType.getNumElements(); 56 DE_ASSERT(de::inRange(numComps, 1, 4)); 57 return glu::DataType(scalarType + numComps - 1);
|
glsShaderExecUtil.cpp | 548 const int numComps = glu::getDataTypeNumComponents(basicType); 561 DE_ASSERT(de::inRange<int>(numComps, 1, DE_LENGTH_OF_ARRAY(channelOrderMap))); 563 return tcu::TextureFormat(channelOrderMap[numComps-1], channelType); [all...] |