Searched refs:left (Results 1 - 25 of 2877) sorted by last modified time

1234567891011>>

/external/zxing/core/
H A Dcore.jar ... .zxing.BinaryBitmap crop (int, int, int, int) int left int top int width int height com.google. ...
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DPlanarYUVLuminanceSource.java38 private final int left; field in class:PlanarYUVLuminanceSource
41 public PlanarYUVLuminanceSource(byte[] yuvData, int dataWidth, int dataHeight, int left, int top, argument
45 if (left + width > dataWidth || top + height > dataHeight) {
52 this.left = left;
68 int offset = (y + top) * dataWidth + left;
86 int inputOffset = top * dataWidth + left;
114 int inputOffset = top * dataWidth + left;
132 for (int y = 0, rowStart = top * dataWidth + left; y < height; y++, rowStart += dataWidth) {
H A DViewfinderView.java93 canvas.drawRect(0, frame.top, frame.left, frame.bottom + 1, paint);
105 canvas.drawRect(frame.left, frame.top, frame.right + 1, frame.top + 2, paint);
106 canvas.drawRect(frame.left, frame.top + 2, frame.left + 2, frame.bottom - 1, paint);
108 canvas.drawRect(frame.left, frame.bottom - 1, frame.right + 1, frame.bottom + 1, paint);
115 canvas.drawRect(frame.left + 2, middle - 1, frame.right - 1, middle + 2, paint);
123 int frameLeft = frame.left;
155 frame.left - POINT_SIZE,
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
H A DCameraManager.java221 rect.left = rect.left * cameraResolution.x / screenResolution.x;
272 return new PlanarYUVLuminanceSource(data, width, height, rect.left, rect.top,
/external/zlib/src/as400/
H A Dzlib.inc97 D zs_avail_out 10U 0 Room left @ next_out
/external/zlib/src/contrib/blast/
H A Dblast.c42 unsigned left; /* available input at in */ member in struct:state
66 * bit buffer, using shift left.
75 if (s->left == 0) {
76 s->left = s->infun(s->inhow, &(s->in));
77 if (s->left == 0) longjmp(s->env, 1); /* out of input */
80 s->left--;
84 /* drop need bits and update buffer, always zero to seven bits left */
133 int left; /* bits left in next or left t local
191 int left; /* number of possible codes left of current length */ local
[all...]
/external/zlib/src/contrib/infback9/
H A Dinfback9.c179 if (left == 0) { \
181 left = WSIZE; \
183 if (out(out_desc, put, (unsigned)left)) { \
228 unsigned long left; /* available output */ local
268 left = WSIZE;
332 if (copy > left) copy = left;
336 left -= copy;
494 left--;
553 if (offset > WSIZE - (wrap ? 0: left)) {
[all...]
H A Dinftree9.c46 int left; /* number of prefix codes available */ local
125 left = 1;
127 left <<= 1;
128 left -= count[len];
129 if (left < 0) return -1; /* over-subscribed */
131 if (left > 0 && (type == CODES || max != 1))
263 left = (int)(1 << curr);
265 left -= count[curr + drop];
266 if (left <= 0) break;
268 left <<
[all...]
/external/zlib/src/contrib/masmx64/
H A Dinffasx64.asm63 je L_one_time ; /* if only one decode left */
/external/zlib/src/contrib/puff/
H A Dpuff.c124 * bit buffer, using shift left.
139 /* drop need bits and update buffer, always zero to seven bits left */
271 int left; /* bits left in next or left to process */ local
275 left = s->bitcnt;
280 while (left--) {
295 left = (MAXBITS+1) - len;
296 if (left == 0)
301 if (left >
344 int left; /* number of possible codes left of current length */ local
[all...]
/external/zlib/src/examples/
H A Denough.c120 left: number of available bit patterns at length len
126 left: 2..syms - 1, but only the evens (so syms == 8 -> 2, 4, 6)
129 syms == 2 is not saved since that immediately leads to a single code. left
132 left ends at syms-1 since left == syms immediately results in a single code.
133 (left > sym is not allowed since that would result in an incomplete code.)
151 to the num[] array as described above for the (syms, left, len) triplet.
199 len through max inclusive, coding syms symbols, with left bit patterns of
203 local big_t count(int syms, int len, int left) argument
213 if (syms == left)
258 beenhere(int syms, int len, int left, int mem, int rem) argument
322 examine(int syms, int len, int left, int mem, int rem) argument
406 int left; /* number of unused bit patterns at this length */ local
[all...]
H A Dgun.c168 /* throw out what's left in the current bits byte buffer (this is a vestigial
173 left = 0; \
204 unsigned chunk; /* bytes left in current chunk */
205 int left; /* bits left in rem */ local
259 left = 7;
260 chunk = bits - 2; /* 7 bytes left in this chunk */
287 code += (unsigned)last << left; /* middle (or high) bits of code */
288 left += 8;
290 if (bits > left) { /* nee
[all...]
H A Dgzappend.c122 /* rotate list[0..len-1] left by rot positions, in place */
137 /* do simple left shift by one */
163 *to = *from; /* shift left */
173 unsigned left; /* bytes available at next */ member in struct:__anon34352
186 in->left = (unsigned)len;
198 #define read1(in) (in->left == 0 ? readmore(in) : 0, \
199 in->left--, *(in->next)++)
206 if (n > in->left) {
207 n -= in->left;
215 if (n > in->left)
261 int ret, lastbit, left, full; local
391 unsigned left; local
[all...]
H A Dgzjoin.c81 unsigned left; /* bytes remaining at next */ member in struct:__anon34353
113 in->left = 0;
127 if (in->left != 0)
131 len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left);
134 in->left += (unsigned)len;
135 } while (len != 0 && in->left < CHUNK);
140 #define bget(in) (in->left ? 0 : bload(in), \
141 in->left ? (in->left
176 unsigned left; local
[all...]
H A Dzran.c15 in the uncompressed output. The compressed file is left open, and can then
93 off_t in, off_t out, unsigned left, unsigned char *window)
126 if (left)
127 memcpy(next->window, window + WINSIZE - left, left);
128 if (left < WINSIZE)
129 memcpy(next->window + left, window, WINSIZE - left);
92 addpoint(struct access *index, int bits, off_t in, off_t out, unsigned left, unsigned char *window) argument
/external/zlib/src/
H A Dgzread.c79 left unchanged if there is no more input data available, will be set to COPY
488 unsigned left, n; local
514 left = (unsigned)len - 1;
515 if (left) do {
525 n = state->x.have > left ? left : state->x.have;
535 left -= n;
537 } while (left && eol == NULL);
H A Dinfback.c131 left = strm->avail_out; \
142 strm->avail_out = left; \
212 if (left == 0) { \
214 left = state->wsize; \
215 state->whave = left; \
216 if (out(out_desc, put, left)) { \
260 unsigned have, left; /* available input and output */ local
287 left = state->wsize;
346 if (copy > left) copy = left;
[all...]
H A Dinflate.c462 left = strm->avail_out; \
473 strm->avail_out = left; \
551 input left to load n bits into the accumulator, or it continues. BITS(n)
564 state information is maintained to continue the loop where it left off
612 unsigned have, left; /* available input and output */ local
636 out = left;
884 if (copy > left) copy = left;
889 left -= copy;
1022 if (have >= 6 && left >
[all...]
H A Dinftrees.c46 int left; /* number of prefix codes available */ local
131 left = 1;
133 left <<= 1;
134 left -= count[len];
135 if (left < 0) return -1; /* over-subscribed */
137 if (left > 0 && (type == CODES || max != 1))
270 left = (int)(1 << curr);
272 left -= count[curr + drop];
273 if (left <= 0) break;
275 left <<
[all...]
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp1302 size_t left = 1; local
1304 while(left <= right)
1306 size_t mid = (left + right) / 2;
1307 if(array[mid] <= value) left = mid + 1; /*the value to find is more to the right*/
1308 else if(array[mid - 1] > value) right = mid - 1; /*the value to find is more to the left*/
/external/webrtc/src/common_audio/resampler/
H A Dresampler.cc446 WebRtc_Word16* left = (WebRtc_Word16*)malloc(lengthIn * sizeof(WebRtc_Word16) / 2); local
454 left[i >> 1] = samplesIn[i];
464 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left);
468 free(left);
483 free(left);
/external/webrtc/src/modules/audio_processing/
H A Daudio_buffer.cc24 void StereoToMono(const int16_t* left, const int16_t* right, argument
26 assert(left != NULL && right != NULL && out != NULL);
28 int32_t data32 = (static_cast<int32_t>(left[i]) +
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dieee802_11.c1281 int left, i; local
1320 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req));
1329 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req));
1370 resp = check_assoc_ies(hapd, sta, pos, left, reassoc);
1452 send_assoc_resp(hapd, sta, resp, reassoc, pos, left);
H A Dvlan_init.c663 int left; local
670 left = recvfrom(sock, buf, sizeof(buf), MSG_DONTWAIT,
672 if (left < 0) {
680 while (left >= (int) sizeof(*h)) {
685 if (len > left || plen < 0) {
687 "message: len=%d left=%d plen=%d",
688 len, left, plen);
702 left -= len;
706 if (left > 0) {
708 "netlink message", __func__, left);
[all...]
H A Dwmm.c260 int left = len - IEEE80211_HDRLEN - 4; local
278 if (ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed) {

Completed in 1977 milliseconds

1234567891011>>