Home
last modified time | relevance | path

Searched refs:outbuffer (Results 1 - 19 of 19) sorted by relevance

/third_party/qrcodegen/rust-no-heap/examples/
H A Dqrcodegen-demo.rs54 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_basic_demo() variables
56 let qr: QrCode = QrCode::encode_text(text, &mut tempbuffer, &mut outbuffer, in do_basic_demo()
58 // Note: qr has a reference to outbuffer, so outbuffer needs to outlive qr in do_basic_demo()
68 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() variables
71 &mut tempbuffer, &mut outbuffer, QrCodeEcc::Medium, Version::MIN, Version::MAX, None, true).unwrap(); in do_variety_demo()
76 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() variables
79 &mut tempbuffer, &mut outbuffer, QrCodeEcc::High, Version::MIN, Version::MAX, None, true).unwrap(); in do_variety_demo()
84 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() variables
87 &mut tempbuffer, &mut outbuffer, QrCodeEc in do_variety_demo()
100 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; do_variety_demo() variables
114 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; do_segment_demo() variables
136 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; do_segment_demo() variables
156 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; do_segment_demo() variables
192 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; do_mask_demo() variables
205 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; do_mask_demo() variables
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djdatadst-tj.c30 void jpeg_mem_dest_tj(j_compress_ptr cinfo, unsigned char **outbuffer,
42 unsigned char **outbuffer; /* target buffer */ member
134 if (dest->alloc) *dest->outbuffer = dest->buffer; in term_mem_destination()
151 jpeg_mem_dest_tj(j_compress_ptr cinfo, unsigned char **outbuffer, in jpeg_mem_dest_tj() argument
157 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest_tj()
181 if (dest->buffer == *outbuffer && *outbuffer != NULL && alloc) in jpeg_mem_dest_tj()
183 dest->outbuffer = outbuffer; in jpeg_mem_dest_tj()
187 if (*outbuffer in jpeg_mem_dest_tj()
[all...]
H A Djdatadst.c52 unsigned char **outbuffer; /* target buffer */ member
193 *dest->outbuffer = dest->buffer; in term_mem_destination()
251 jpeg_mem_dest(j_compress_ptr cinfo, unsigned char **outbuffer, in jpeg_mem_dest() argument
256 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest()
277 dest->outbuffer = outbuffer; in jpeg_mem_dest()
281 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest()
283 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest()
289 dest->pub.next_output_byte = dest->buffer = *outbuffer; in jpeg_mem_dest()
H A Dcjpeg.c176 if (memdst && outbuffer) \
184 free(outbuffer); \
569 unsigned char *outbuffer = NULL; in cjpeg() local
713 jpeg_mem_dest(&cinfo, &outbuffer, &outsize); in cjpeg()
753 free(outbuffer); in cjpeg()
H A Djpeglib.h927 EXTERN(void) jpeg_mem_dest(j_compress_ptr cinfo, unsigned char **outbuffer,
/third_party/ffmpeg/libavcodec/
H A Dqcelpdec.c693 float *outbuffer; in qcelp_decode_frame() local
703 outbuffer = (float *)frame->data[0]; in qcelp_decode_frame()
752 compute_svector(q, gain, outbuffer); in qcelp_decode_frame()
759 apply_pitch_filters(q, outbuffer); in qcelp_decode_frame()
766 compute_svector(q, gain, outbuffer); in qcelp_decode_frame()
768 apply_pitch_filters(q, outbuffer); in qcelp_decode_frame()
776 outbuffer + i * 40, 40, 10); in qcelp_decode_frame()
781 postfilter(q, outbuffer, lpc); in qcelp_decode_frame()
H A Dcook.c937 * @param outbuffer pointer to the outbuffer
940 const uint8_t *inbuffer, float **outbuffer) in decode_subpacket()
964 outbuffer ? outbuffer[p->ch_idx] : NULL); in decode_subpacket()
970 outbuffer ? outbuffer[p->ch_idx + 1] : NULL); in decode_subpacket()
974 outbuffer ? outbuffer[p->ch_idx + 1] : NULL); in decode_subpacket()
939 decode_subpacket(COOKContext *q, COOKSubpacket *p, const uint8_t *inbuffer, float **outbuffer) decode_subpacket() argument
H A Dalac.c394 int16_t *outbuffer = (int16_t *)frame->extended_data[ch_index + ch]; in decode_element() local
396 *outbuffer++ = alac->output_samples_buffer[ch][i]; in decode_element()
/third_party/ffmpeg/libavfilter/
H A Dvf_fftdnoiz.c397 AVComplexFloat outbuffer[BSIZE]; in filter_block3d2() local
408 s->tx_r_fn(s->fft_r[jobnr], outbuffer, buffer, sizeof(float)); in filter_block3d2()
411 const float re = outbuffer[z].re; in filter_block3d2()
412 const float im = outbuffer[z].im; in filter_block3d2()
425 outbuffer[z].re *= factor; in filter_block3d2()
426 outbuffer[z].im *= factor; in filter_block3d2()
429 s->itx_r_fn(s->ifft_r[jobnr], buffer, outbuffer, sizeof(float)); in filter_block3d2()
458 AVComplexFloat outbuffer[BSIZE]; in filter_block3d1() local
466 s->tx_r_fn(s->fft_r[jobnr], outbuffer, buffer, sizeof(float)); in filter_block3d1()
469 const float re = outbuffer[ in filter_block3d1()
[all...]
/third_party/ffmpeg/libavformat/
H A Dcrypto.c37 outbuffer[BLOCKSIZE*MAX_BUFFER_BLOCKS]; member
214 av_aes_crypt(c->aes_decrypt, c->outbuffer, c->inbuffer + c->indata_used, in crypto_read()
217 c->outptr = c->outbuffer; in crypto_read()
227 int padding = c->outbuffer[c->outdata - 1]; in crypto_read()
275 c->outptr = c->outbuffer; in crypto_seek()
/third_party/backends/backend/
H A Dcanon-sane.c216 s->outbuffer = malloc (30894); /* modification for FB1200S */ in sane_open()
218 s->outbuffer = malloc (15312); /* modification for FB620S */ in sane_open()
220 if (!s->outbuffer) in sane_open()
266 if (s->outbuffer) in sane_close()
267 free (s->outbuffer); /* modification for FB620S */ in sane_close()
1826 memcpy (buf, &(s->outbuffer[s->buf_pos]), ncopy); in read_fb620()
1854 out = s->outbuffer; in read_fb620()
1879 memcpy (buf, &(s->outbuffer[s->buf_pos]), ncopy); in read_fb620()
2048 s->outbuffer[6 * pix] = secondimage[3 * pix]; in read_fb1200()
2049 s->outbuffer[ in read_fb1200()
[all...]
H A Dcanon.h300 SANE_Byte *outbuffer; /* modification for FB620S */ member
/third_party/node/deps/openssl/openssl/providers/implementations/digests/
H A Dblake2b_prov.c308 uint8_t outbuffer[BLAKE2B_OUTBYTES] = {0}; in ossl_blake2b_final() local
309 uint8_t *target = outbuffer; in ossl_blake2b_final()
328 OPENSSL_cleanse(target, sizeof(outbuffer)); in ossl_blake2b_final()
H A Dblake2s_prov.c299 uint8_t outbuffer[BLAKE2S_OUTBYTES] = {0}; in ossl_blake2s_final() local
300 uint8_t *target = outbuffer; in ossl_blake2s_final()
319 OPENSSL_cleanse(target, sizeof(outbuffer)); in ossl_blake2s_final()
/third_party/curl/lib/
H A Dcurl_sha256.h45 CURLcode Curl_sha256it(unsigned char *outbuffer, const unsigned char *input,
H A Dmd5.c595 CURLcode Curl_md5it(unsigned char *outbuffer, const unsigned char *input, in Curl_md5it() argument
604 my_md5_final(outbuffer, &ctx); in Curl_md5it()
/third_party/openssl/providers/implementations/digests/
H A Dblake2b_prov.c308 uint8_t outbuffer[BLAKE2B_OUTBYTES] = {0}; in ossl_blake2b_final() local
309 uint8_t *target = outbuffer; in ossl_blake2b_final()
H A Dblake2s_prov.c299 uint8_t outbuffer[BLAKE2S_OUTBYTES] = {0}; in ossl_blake2s_final() local
300 uint8_t *target = outbuffer; in ossl_blake2s_final()
/third_party/qrcodegen/rust-no-heap/src/
H A Dlib.rs67 //! let mut outbuffer = vec![0u8; Version::MAX.buffer_len()];
69 //! let qr = QrCode::encode_text("Hello, world!", &mut tempbuffer, &mut outbuffer,
77 //! let mut outbuffer = vec![0u8; Version::MAX.buffer_len()];
82 //! let qr = QrCode::encode_binary(&mut dataandtemp, 3, &mut outbuffer, QrCodeEcc::High,
147 /// - The slices tempbuffer and outbuffer each must have a length of at least len.
164 pub fn encode_text<'b>(text: &str, tempbuffer: &'b mut [u8], mut outbuffer: &'a mut [u8], ecl: QrCodeEcc, in encode_text()
167 let minlen: usize = outbuffer.len().min(tempbuffer.len()); in encode_text()
168 outbuffer = &mut outbuffer[ .. minlen];
172 let (datacodewordslen, ecl, version) = QrCode::encode_segments_to_codewords(&[], outbuffer, ec
[all...]

Completed in 17 milliseconds