Home
last modified time | relevance | path

Searched refs:quantum (Results 1 – 25 of 108) sorted by relevance

12345

/external/ImageMagick/MagickCore/
Dquantum-private.h46 quantum; member
186 quantum; in PopLongPixel() local
188 quantum=(unsigned int) pixel; in PopLongPixel()
191 *pixels++=(unsigned char) (quantum); in PopLongPixel()
192 *pixels++=(unsigned char) (quantum >> 8); in PopLongPixel()
193 *pixels++=(unsigned char) (quantum >> 16); in PopLongPixel()
194 *pixels++=(unsigned char) (quantum >> 24); in PopLongPixel()
197 *pixels++=(unsigned char) (quantum >> 24); in PopLongPixel()
198 *pixels++=(unsigned char) (quantum >> 16); in PopLongPixel()
199 *pixels++=(unsigned char) (quantum >> 8); in PopLongPixel()
[all …]
Dquantum.h98 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() argument
101 return((unsigned char) quantum); in ScaleQuantumToChar()
103 if (quantum <= 0.0) in ScaleQuantumToChar()
105 if (quantum >= 255.0) in ScaleQuantumToChar()
107 return((unsigned char) (quantum+0.5)); in ScaleQuantumToChar()
111 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() argument
114 return((unsigned char) (((quantum+128UL)-((quantum+128UL) >> 8)) >> 8)); in ScaleQuantumToChar()
116 if (quantum <= 0.0) in ScaleQuantumToChar()
118 if ((quantum/257.0) >= 255.0) in ScaleQuantumToChar()
120 return((unsigned char) (quantum/257.0+0.5)); in ScaleQuantumToChar()
[all …]
Dblob.c118 quantum; member
206 blob_info->quantum=(size_t) MagickMaxBlobExtent; in AttachBlob()
455 clone_info->quantum=blob_info->quantum; in CloneBlobInfo()
793 quantum; in DiscardBlobBytes() local
808 quantum=(size_t) MagickMin(length-i,sizeof(buffer)); in DiscardBlobBytes()
809 (void) ReadBlobStream(image,quantum,buffer,&count); in DiscardBlobBytes()
1001 quantum; in FileToBlob() local
1010 quantum=(size_t) MagickMaxBufferExtent; in FileToBlob()
1012 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToBlob()
1013 blob=(unsigned char *) AcquireQuantumMemory(quantum,sizeof(*blob)); in FileToBlob()
[all …]
Dquantum-export.c120 quantum[8]; in PopDoublePixel() local
122 (void) ResetMagickMemory(quantum,0,sizeof(quantum)); in PopDoublePixel()
123 p=(double *) quantum; in PopDoublePixel()
127 *pixels++=quantum[0]; in PopDoublePixel()
128 *pixels++=quantum[1]; in PopDoublePixel()
129 *pixels++=quantum[2]; in PopDoublePixel()
130 *pixels++=quantum[3]; in PopDoublePixel()
131 *pixels++=quantum[4]; in PopDoublePixel()
132 *pixels++=quantum[5]; in PopDoublePixel()
133 *pixels++=quantum[6]; in PopDoublePixel()
[all …]
Dprofile.c1349 unsigned char *quantum) in ReadResourceByte() argument
1351 *quantum=(*p++); in ReadResourceByte()
1356 unsigned int *quantum) in ReadResourceLong() argument
1358 *quantum=(unsigned int) (*p++) << 24; in ReadResourceLong()
1359 *quantum|=(unsigned int) (*p++) << 16; in ReadResourceLong()
1360 *quantum|=(unsigned int) (*p++) << 8; in ReadResourceLong()
1361 *quantum|=(unsigned int) (*p++) << 0; in ReadResourceLong()
1366 unsigned short *quantum) in ReadResourceShort() argument
1368 *quantum=(unsigned short) (*p++) << 8; in ReadResourceShort()
1369 *quantum|=(unsigned short) (*p++); in ReadResourceShort()
[all …]
Dmemory.c236 MagickExport void *AcquireAlignedMemory(const size_t count,const size_t quantum) in AcquireAlignedMemory() argument
249 if (HeapOverflowSanityCheck(count,quantum) != MagickFalse) in AcquireAlignedMemory()
253 size=count*quantum; in AcquireAlignedMemory()
525 MagickExport void *AcquireQuantumMemory(const size_t count,const size_t quantum) in AcquireQuantumMemory() argument
530 if (HeapOverflowSanityCheck(count,quantum) != MagickFalse) in AcquireQuantumMemory()
532 extent=count*quantum; in AcquireQuantumMemory()
562 const size_t quantum) in AcquireVirtualMemory() argument
570 if (HeapOverflowSanityCheck(count,quantum) != MagickFalse) in AcquireVirtualMemory()
577 extent=count*quantum; in AcquireVirtualMemory()
923 const size_t quantum) in HeapOverflowSanityCheck() argument
[all …]
Dquantum-import.c130 quantum[8]; in PushDoublePixel() local
134 quantum[0]=(*pixels++); in PushDoublePixel()
135 quantum[1]=(*pixels++); in PushDoublePixel()
136 quantum[2]=(*pixels++); in PushDoublePixel()
137 quantum[3]=(*pixels++); in PushDoublePixel()
138 quantum[4]=(*pixels++); in PushDoublePixel()
139 quantum[5]=(*pixels++); in PushDoublePixel()
140 quantum[6]=(*pixels++); in PushDoublePixel()
141 quantum[7]=(*pixels++); in PushDoublePixel()
142 p=(double *) quantum; in PushDoublePixel()
[all …]
Dquantum.c423 quantum_info->quantum=8; in GetQuantumInfo()
664 quantum; in SetQuantumDepth() local
688 quantum=(quantum_info->pad+6)*(quantum_info->depth+7)/8; in SetQuantumDepth()
689 extent=MagickMax(image->columns,image->rows)*quantum; in SetQuantumDepth()
691 (quantum != (extent/MagickMax(image->columns,image->rows)))) in SetQuantumDepth()
975 const size_t quantum) in SetQuantumQuantum() argument
979 quantum_info->quantum=quantum; in SetQuantumQuantum()
DAndroid.mk69 quantum-export.c\
78 quantum-import.c\
87 quantum.c\
/external/ImageMagick/PerlMagick/
DMakefile.am21 $(PERLMAGICK)/quantum/@MAGICK_ABI_SUFFIX@.xs: $(PERLMAGICK)/quantum/quantum.xs
22 $(AM_V_GEN) $(LN_S) quantum.xs $@
24 $(PERLMAGICK)/quantum/@MAGICK_ABI_SUFFIX@.pm: $(PERLMAGICK)/quantum/quantum.pm
25 $(AM_V_GEN) $(LN_S) quantum.pm $@
27 perl-quantum-sources: $(PERLMAGICK)/quantum/@MAGICK_ABI_SUFFIX@.xs $(PERLMAGICK)/quantum/@MAGICK_AB…
29 perl-sources: perl-quantum-sources
123 rm -f quantum/@MAGICK_ABI_SUFFIX@.xs;\
124 rm -f quantum/@MAGICK_ABI_SUFFIX@.pm;\
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
DBase64.java76 int quantum = 0; in decode() local
107 quantum = (quantum << 6) | (byte) bits; in decode()
110 out[out_index++] = (byte) ((quantum & 0x00FF0000) >> 16); in decode()
111 out[out_index++] = (byte) ((quantum & 0x0000FF00) >> 8); in decode()
112 out[out_index++] = (byte) (quantum & 0x000000FF); in decode()
118 quantum = quantum << (6*pad); in decode()
120 out[out_index++] = (byte) ((quantum & 0x00FF0000) >> 16); in decode()
122 out[out_index++] = (byte) ((quantum & 0x0000FF00) >> 8); in decode()
/external/ImageMagick/coders/
Dyuv.c127 quantum, in ReadYUVImage() local
150 quantum=image->depth <= 8 ? 1 : 2; in ReadYUVImage()
198 image->columns+2UL,quantum*sizeof(*scanline)); in ReadYUVImage()
201 quantum*sizeof(*scanline)); in ReadYUVImage()
238 count=ReadBlob(image,(size_t) (2*quantum*image->columns),scanline); in ReadYUVImage()
250 if (quantum == 1) in ReadYUVImage()
258 if (quantum == 1) in ReadYUVImage()
270 if (quantum == 1) in ReadYUVImage()
278 if (quantum == 1) in ReadYUVImage()
292 count=ReadBlob(image,(size_t) quantum*image->columns,scanline); in ReadYUVImage()
[all …]
Dinline.c108 quantum; in ReadINLINEImage() local
148 quantum=MagickMin((size_t) GetBlobSize(image),MagickMaxBufferExtent); in ReadINLINEImage()
149 if (quantum == 0) in ReadINLINEImage()
150 quantum=MagickMaxBufferExtent; in ReadINLINEImage()
151 inline_image=(unsigned char *) AcquireQuantumMemory(quantum, in ReadINLINEImage()
156 count=(ssize_t) ReadBlob(image,quantum,inline_image+i); in ReadINLINEImage()
163 if (~((size_t) i) < (quantum+1)) in ReadINLINEImage()
169 quantum+1,sizeof(*inline_image)); in ReadINLINEImage()
Dmap.c126 quantum; in ReadMAPImage() local
190 quantum=(*p++ << 8); in ReadMAPImage()
191 quantum|=(*p++); in ReadMAPImage()
192 image->colormap[i].red=(Quantum) quantum; in ReadMAPImage()
193 quantum=(*p++ << 8); in ReadMAPImage()
194 quantum|=(*p++); in ReadMAPImage()
195 image->colormap[i].green=(Quantum) quantum; in ReadMAPImage()
196 quantum=(*p++ << 8); in ReadMAPImage()
197 quantum|=(*p++); in ReadMAPImage()
198 image->colormap[i].blue=(Quantum) quantum; in ReadMAPImage()
Ddcm.c2773 } quantum; in ReadDCMSignedShort() local
2775 quantum.unsigned_value=ReadDCMShort(stream_info,image); in ReadDCMSignedShort()
2776 return(quantum.signed_value); in ReadDCMSignedShort()
2834 quantum, in ReadDCMImage() local
2940 quantum=0; in ReadDCMImage()
2967 quantum=4; in ReadDCMImage()
2974 quantum=2; in ReadDCMImage()
2981 quantum=4; in ReadDCMImage()
2985 if (quantum == 4) in ReadDCMImage()
2993 if (quantum == 2) in ReadDCMImage()
[all …]
Dmiff.c230 quantum; in PushRunlengthPacket() local
234 p=PushCharPixel(p,&quantum); in PushRunlengthPacket()
235 pixel->alpha=ScaleCharToQuantum(quantum); in PushRunlengthPacket()
242 quantum; in PushRunlengthPacket() local
246 p=PushShortPixel(MSBEndian,p,&quantum); in PushRunlengthPacket()
247 pixel->alpha=(Quantum) (quantum >> (image->depth- in PushRunlengthPacket()
255 quantum; in PushRunlengthPacket() local
259 p=PushLongPixel(MSBEndian,p,&quantum); in PushRunlengthPacket()
260 pixel->alpha=(Quantum) (quantum >> (image->depth- in PushRunlengthPacket()
277 quantum; in PushRunlengthPacket() local
[all …]
/external/iproute2/tc/
Dq_hhf.c32 unsigned quantum = 0; in hhf_parse_opt() local
49 if (get_unsigned(&quantum, *argv, 0)) { in hhf_parse_opt()
99 if (quantum) in hhf_parse_opt()
100 addattr_l(n, 1024, TCA_HHF_QUANTUM, &quantum, sizeof(quantum)); in hhf_parse_opt()
124 unsigned quantum; in hhf_print_opt() local
144 quantum = rta_getattr_u32(tb[TCA_HHF_QUANTUM]); in hhf_print_opt()
145 fprintf(f, "quantum %u ", quantum); in hhf_print_opt()
Dq_fq.c78 unsigned int quantum; in fq_parse_opt() local
133 if (get_unsigned(&quantum, *argv, 0)) { in fq_parse_opt()
189 addattr_l(n, 1024, TCA_FQ_QUANTUM, &quantum, sizeof(quantum)); in fq_parse_opt()
218 unsigned int rate, quantum; in fq_print_opt() local
256 quantum = rta_getattr_u32(tb[TCA_FQ_QUANTUM]); in fq_print_opt()
257 fprintf(f, "quantum %u ", quantum); in fq_print_opt()
261 quantum = rta_getattr_u32(tb[TCA_FQ_INITIAL_QUANTUM]); in fq_print_opt()
262 fprintf(f, "initial_quantum %u ", quantum); in fq_print_opt()
Dq_fq_codel.c66 unsigned quantum = 0; in fq_codel_parse_opt() local
86 if (get_unsigned(&quantum, *argv, 0)) { in fq_codel_parse_opt()
129 if (quantum) in fq_codel_parse_opt()
130 addattr_l(n, 1024, TCA_FQ_CODEL_QUANTUM, &quantum, sizeof(quantum)); in fq_codel_parse_opt()
152 unsigned quantum; in fq_codel_print_opt() local
173 quantum = rta_getattr_u32(tb[TCA_FQ_CODEL_QUANTUM]); in fq_codel_print_opt()
174 fprintf(f, "quantum %u ", quantum); in fq_codel_print_opt()
/external/v8/test/mjsunit/regress/
Dregress-441099.js12 …alignMemory: function (quantum) { var ret = size = Math.ceil()*(quantum ? quantum : 8); return ret… argument
/external/iptables/extensions/
Dlibxt_hashlimit.c523 uint32_t quantum; in hashlimit_print() local
526 quantum = print_rate(r->cfg.avg); in hashlimit_print()
536 if (r->cfg.expire != quantum) in hashlimit_print()
543 uint32_t quantum; in hashlimit_mt_print() local
551 quantum = print_bytes(info->cfg.avg, info->cfg.burst, ""); in hashlimit_mt_print()
553 quantum = print_rate(info->cfg.avg); in hashlimit_mt_print()
567 if (info->cfg.expire != quantum) in hashlimit_mt_print()
597 uint32_t quantum; in hashlimit_save() local
600 quantum = print_rate(r->cfg.avg); in hashlimit_save()
614 if (r->cfg.expire != quantum) in hashlimit_save()
[all …]
/external/ceres-solver/data/nist/
DRoszman1.dat12 quantum defects in iodine atoms. The response
13 variable is the number of quantum defects, and the
25 Data: 1 Response (y = quantum defect)
/external/libnl/lib/route/sch/
Dsfq.c72 sfq->qs_quantum = opts->quantum; in sfq_msg_parser()
123 opts.quantum = sfq->qs_quantum; in sfq_get_opts()
147 int rtnl_sfq_set_quantum(struct rtnl_qdisc *qdisc, int quantum) in rtnl_sfq_set_quantum() argument
155 sfq->qs_quantum = quantum; in rtnl_sfq_set_quantum()
/external/iproute2/examples/
Dcbqinit.eth143 $TC qdisc add dev $DEVICE parent 1:2 sfq quantum 1514b perturb 15
51 $TC qdisc add dev $DEVICE parent 1:3 sfq quantum 1514b perturb 15
59 $TC qdisc add dev $DEVICE parent 1:4 sfq quantum 1514b perturb 15
/external/ImageMagick/MagickWand/
Dpixel-iterator.c290 *quantum; in NewPixelIterator() local
308 quantum=GetMagickQuantumDepth(&depth); in NewPixelIterator()
310 ThrowWandFatalException(WandError,"QuantumDepthMismatch",quantum); in NewPixelIterator()
410 *quantum; in NewPixelRegionIterator() local
426 quantum=GetMagickQuantumDepth(&depth); in NewPixelRegionIterator()
428 ThrowWandFatalException(WandError,"QuantumDepthMismatch",quantum); in NewPixelRegionIterator()
430 ThrowWandFatalException(WandError,"ZeroRegionSize",quantum); in NewPixelRegionIterator()

12345