Searched refs:nonzero (Results 1 - 18 of 18) sorted by relevance

/external/icu4c/tools/tzcode/
H A Dialloc.c16 #define nonzero(n) (((n) == 0) ? 1 : (n)) macro
22 return malloc((size_t) nonzero(n));
42 return realloc((void *) pointer, (size_t) nonzero(size));
/external/tremolo/Tremolo/
H A Dmapping0.c136 int *nonzero= local
137 alloca(sizeof(*nonzero)*vi->channels);
163 nonzero[i]=1;
165 nonzero[i]=0;
169 /* channel coupling can 'dirty' the nonzero listing */
171 if(nonzero[info->coupling[i].mag] ||
172 nonzero[info->coupling[i].ang]){
173 nonzero[info->coupling[i].mag]=1;
174 nonzero[info->coupling[i].ang]=1;
183 if(nonzero[
[all...]
H A Dres012.c104 ogg_int32_t **in,int *nonzero,int ch){
123 if(nonzero[i])
198 for(i=0;i<ch;i++)if(nonzero[i])break;
199 if(i==ch)return(0); /* no nonzero vectors */
103 res_inverse(vorbis_dsp_state *vd,vorbis_info_residue *info, ogg_int32_t **in,int *nonzero,int ch) argument
H A Dcodec_internal.h151 ogg_int32_t **in,int *nonzero,int ch);
/external/skia/src/core/
H A DSkMath.cpp52 int nonzero = ((x >> 24) - 1) >> 31 << 3; local
53 zeros += nonzero;
54 x <<= nonzero; local
56 nonzero = ((x >> 28) - 1) >> 31 << 2;
57 zeros += nonzero;
58 x <<= nonzero; local
60 nonzero = ((x >> 30) - 1) >> 31 << 1;
61 zeros += nonzero;
62 x <<= nonzero; local
/external/libvorbis/lib/
H A Dmapping0.c247 int *nonzero = alloca(sizeof(*nonzero)*vi->channels); local
625 nonzero[i]=floor1_encode(opb,vb,b->flr[info->floorsubmap[submap]],
652 nonzero,
676 if(nonzero[j])zerobundle[ch_in_bundle]=1;
719 int *nonzero =alloca(sizeof(*nonzero)*vi->channels); local
728 nonzero[i]=1;
730 nonzero[i]=0;
734 /* channel coupling can 'dirty' the nonzero listin
[all...]
H A Dres0.c717 float **in,int *nonzero,int ch){
720 if(nonzero[i])
729 int **in,int *nonzero,int ch, long **partword, int submap){
732 if(nonzero[i])
743 int **in,int *nonzero,int ch){
746 if(nonzero[i])
755 float **in,int *nonzero,int ch){
758 if(nonzero[i])
767 int **in,int *nonzero,int ch){
770 if(nonzero[
716 res0_inverse(vorbis_block *vb,vorbis_look_residue *vl, float **in,int *nonzero,int ch) argument
728 res1_forward(oggpack_buffer *opb,vorbis_block *vb,vorbis_look_residue *vl, int **in,int *nonzero,int ch, long **partword, int submap) argument
742 res1_class(vorbis_block *vb,vorbis_look_residue *vl, int **in,int *nonzero,int ch) argument
754 res1_inverse(vorbis_block *vb,vorbis_look_residue *vl, float **in,int *nonzero,int ch) argument
766 res2_class(vorbis_block *vb,vorbis_look_residue *vl, int **in,int *nonzero,int ch) argument
780 res2_forward(oggpack_buffer *opb, vorbis_block *vb,vorbis_look_residue *vl, int **in,int *nonzero,int ch, long **partword,int submap) argument
804 res2_inverse(vorbis_block *vb,vorbis_look_residue *vl, float **in,int *nonzero,int ch) argument
[all...]
H A Dpsy.h150 int *nonzero,
H A Dpsytune.c310 int nonzero[2]; local
389 nonzero[i]=_floor_P[1]->forward(&vb,floor_look,
418 nonzero);
428 nonzero);
520 fprintf(stderr,"average nonzero samples: %.03g/%d\n",nonz/tot*framesize/2,
H A Dpsy.c974 /* For now: no acc adjustment for nonzero quantization. populate *out and q as this value is final. */
982 again, no energy adjustment for error in nonzero quant-- for now
1013 int *nonzero,
1068 memcpy(nz,nonzero,sizeof(*nz)*ch);
1187 /* make sure coupling a zero and a nonzero channel results in two
1188 nonzero channels. */
1189 if(nonzero[vi->coupling_mag[i]] ||
1190 nonzero[vi->coupling_ang[i]]){
1191 nonzero[vi->coupling_mag[i]]=1;
1192 nonzero[v
1007 _vp_couple_quantize_normalize(int blobno, vorbis_info_psy_global *g, vorbis_look_psy *p, vorbis_info_mapping0 *vi, float **mdct, int **iwork, int *nonzero, int sliding_lowpass, int ch) argument
[all...]
H A Dfloor1.c598 long nonzero=0; local
617 nonzero+=accumulate_fit(logmask,logmdct,0,n,fits,n,info);
620 nonzero+=accumulate_fit(logmask,logmdct,look->sorted_index[i],
625 if(nonzero){
/external/libvpx/vp8/encoder/arm/armv6/
H A Dvp8_fast_quantize_b_armv6.asm36 ; it can be used to mark nonzero
75 orrne r1, r1, r2, lsr #24 ; add flag for nonzero coeffs
85 orrne r1, r1, r2, lsr #23 ; add flag for nonzero coeffs
112 ; check shortcut for nonzero qcoeffs
/external/libvorbis/doc/
H A D07-floor1.tex127 9) if ( vector [floor1_class_subclasses] element [i] is nonzero ) \{
169 Packet decode begins by checking the \varname{[nonzero]} flag:
172 1) [nonzero] = read 1 bit as boolean
175 If \varname{[nonzero]} is unset, that indicates this channel contained
183 Assuming \varname{[nonzero]} is set, decode proceeds as follows:
229 \varname{[nonzero]} flag had been unset at the beginning of decode.
288 16) if ( [val] is nonzero ) \{
H A D09-helper.tex60 4) if ( [sign] is nonzero ) then negate [mantissa]
H A D04-codec.tex68 \varname{[blocksize_1]}. The framing bit must be nonzero. Failure to
128 \item read \varname{[vorbis_time_count]} 16 bit values; each value should be zero. If any value is nonzero, this is an error condition and the stream is undecodable.
192 \item If the mapping type is nonzero, the stream is undecodable
222 \item read 2 bits (reserved field); if the value is nonzero, the stream is undecodable
412 \subsubsection{nonzero vector propagate}
H A Da1-encapsulation-ogg.tex162 offset is nonzero, the second finished audio packet must flush the
/external/opencv/cxcore/src/
H A D_cxipp.h301 ( const srctype* img, int imgstep, CvSize size, int* nonzero ))
/external/grub/docs/
H A Dtexinfo.tex2497 % A ``lowercase letter'' is one whose \lccode is nonzero.
2498 % An ``uppercase letter'' is one whose \lccode is both nonzero, and
3481 % \lastskip and \lastpenalty cannot both be nonzero simultaneously.
3486 % If \lastskip is nonzero, that means the last item was a
3512 % On the other hand, if we had a nonzero \lastskip,
4981 % and narrows the margins. We keep \parskip nonzero in general, since
4999 % We have retained a nonzero parskip for the environment, since we're
5370 % The first line needs space for \box0; but if \rightskip is nonzero,

Completed in 359 milliseconds