Home
last modified time | relevance | path

Searched refs:part_size (Results 1 – 8 of 8) sorted by relevance

/third_party/mbedtls/programs/psa/
Dcrypto_examples.c64 size_t part_size, in cipher_operation() argument
74 bytes_to_write = (input_size - bytes_written > part_size ? in cipher_operation()
75 part_size : in cipher_operation()
102 size_t part_size, in cipher_encrypt() argument
118 status = cipher_operation(&operation, input, input_size, part_size, in cipher_encrypt()
133 size_t part_size, in cipher_decrypt() argument
148 status = cipher_operation(&operation, input, input_size, part_size, in cipher_decrypt()
163 part_size = block_size, in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() enumerator
189 input, sizeof(input), part_size, in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
194 encrypt, output_len, part_size, in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
[all …]
/third_party/ffmpeg/libavfilter/
Daf_afir.c158 int offset, int nb_partitions, int part_size) in init_segment() argument
167 seg->fft_length = part_size * 2 + 1; in init_segment()
168 seg->part_size = part_size; in init_segment()
170 seg->coeff_size = FFALIGN(seg->part_size + 1, 32); in init_segment()
180 for (int ch = 0; ch < ctx->inputs[0]->ch_layout.nb_channels && part_size >= 8; ch++) { in init_segment()
181 double dscale = 1.0, idscale = 1.0 / part_size; in init_segment()
182 float fscale = 1.f, ifscale = 1.f / part_size; in init_segment()
186 … av_tx_init(&seg->tx[ch], &seg->tx_fn, AV_TX_FLOAT_RDFT, 0, 2 * part_size, &fscale, 0); in init_segment()
187 … av_tx_init(&seg->itx[ch], &seg->itx_fn, AV_TX_FLOAT_RDFT, 1, 2 * part_size, &ifscale, 0); in init_segment()
190 … av_tx_init(&seg->tx[ch], &seg->tx_fn, AV_TX_DOUBLE_RDFT, 0, 2 * part_size, &dscale, 0); in init_segment()
[all …]
Dafir_template.c157 const int size = remaining >= seg->part_size ? seg->part_size : remaining; in fn()
172 for (int n = 0; n < seg->part_size + 1; n++) { in fn()
181 av_log(ctx, AV_LOG_DEBUG, "partition size: %d\n", seg->part_size); in fn()
297 if (seg->output_offset[ch] == seg->part_size) { in fn()
307 if (seg->part_size < 8) { in fn()
308 memset(dst, 0, sizeof(*dst) * seg->part_size * seg->nb_partitions); in fn()
336 memset(blockin + seg->part_size, 0, sizeof(*blockin) * (seg->fft_length - seg->part_size)); in fn()
338 memcpy(blockin, src, sizeof(*src) * seg->part_size); in fn()
350 s->afirdsp.fcmul_add(sumin, blockout, (const ftype *)coeff, seg->part_size); in fn()
352 s->afirdsp.dcmul_add(sumin, blockout, (const ftype *)coeff, seg->part_size); in fn()
[all …]
Daf_afir.h33 int part_size; member
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_container.c49 uint32_t part_size) in add_part_header() argument
54 !blob_write_bytes(&c->parts, &part_size, sizeof(part_size))) in add_part_header()
65 const void *part_data, uint32_t part_size) in add_part() argument
67 return add_part_header(c, fourcc, part_size) && in add_part()
68 blob_write_bytes(&c->parts, part_data, part_size); in add_part()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dsyntax_enc.c253 const size_t part_size = VP8BitWriterSize(enc->parts_ + p); in EmitPartitionsSize() local
254 if (part_size >= VP8_MAX_PARTITION_SIZE) { in EmitPartitionsSize()
257 buf[3 * p + 0] = (part_size >> 0) & 0xff; in EmitPartitionsSize()
258 buf[3 * p + 1] = (part_size >> 8) & 0xff; in EmitPartitionsSize()
259 buf[3 * p + 2] = (part_size >> 16) & 0xff; in EmitPartitionsSize()
/third_party/skia/third_party/externals/libwebp/src/dec/
Didec_dec.c374 const size_t part_size = br->buf_end_ - br->buf_; in CopyParts0Data() local
379 assert(part_size <= mem->part0_size_); in CopyParts0Data()
380 if (part_size == 0) { // can't have zero-size partition #0 in CopyParts0Data()
385 uint8_t* const part0_buf = (uint8_t*)WebPSafeMalloc(1ULL, part_size); in CopyParts0Data()
389 memcpy(part0_buf, br->buf_, part_size); in CopyParts0Data()
391 VP8BitReaderSetBuffer(br, part0_buf, part_size); in CopyParts0Data()
395 mem->start_ += part_size; in CopyParts0Data()
/third_party/skia/third_party/externals/libwebp/examples/
Dwebpinfo.c394 const uint8_t* part_size = data + partition0_length; in ParseLossyHeader() local
407 part_size[0] | (part_size[1] << 8) | (part_size[2] << 16); in ParseLossyHeader()
414 part_size += 3; in ParseLossyHeader()