Home
last modified time | relevance | path

Searched refs:BLOCKSIZE (Results 1 – 24 of 24) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dra144enc.c57 avctx->frame_size = NBLOCKS * BLOCKSIZE; in ra144_encode_init()
116 for (i = 0; i < BLOCKSIZE; i++) { in orthogonalize()
121 for (i = 0; i < BLOCKSIZE; i++) in orthogonalize()
146 ff_celp_lp_synthesis_filterf(work, coefs, vect, BLOCKSIZE, LPC_ORDER); in get_match_score()
152 for (i = 0; i < BLOCKSIZE; i++) { in get_match_score()
177 for (i = 0; i < FFMIN(BLOCKSIZE, lag); i++) in create_adapt_vect()
179 if (lag < BLOCKSIZE) in create_adapt_vect()
180 for (i = 0; i < BLOCKSIZE - lag; i++) in create_adapt_vect()
200 float exc[BLOCKSIZE]; in adaptive_cb_search()
203 for (i = BLOCKSIZE / 2; i <= BUFFERSIZE; i++) { in adaptive_cb_search()
[all …]
Dra144.c1518 for (i=0; i < BLOCKSIZE; i++) in add_wav()
1521 for (i=0; i < BLOCKSIZE; i++) in add_wav()
1534 memcpy(target, source, FFMIN(BLOCKSIZE, offset)*sizeof(*target)); in ff_copy_and_dup()
1535 if (offset < BLOCKSIZE) in ff_copy_and_dup()
1536 memcpy(target + offset, source, (BLOCKSIZE - offset)*sizeof(*target)); in ff_copy_and_dup()
1686 unsigned int sum = adsp->scalarproduct_int16(data, data, BLOCKSIZE); in ff_irms()
1702 cba_idx += BLOCKSIZE/2 - 1; in ff_subblock_synthesis()
1710 memmove(ractx->adapt_cb, ractx->adapt_cb + BLOCKSIZE, in ff_subblock_synthesis()
1711 (BUFFERSIZE - BLOCKSIZE) * sizeof(*ractx->adapt_cb)); in ff_subblock_synthesis()
1713 block = ractx->adapt_cb + BUFFERSIZE - BLOCKSIZE; in ff_subblock_synthesis()
[all …]
Dra144.h34 #define BLOCKSIZE 40 ///< subblock size in 16-bit words macro
57 int16_t curr_block[NBLOCKS * BLOCKSIZE];
66 DECLARE_ALIGNED(16, int16_t, buffer_a)[FFALIGN(BLOCKSIZE,16)];
Dra144dec.c88 frame->nb_samples = NBLOCKS * BLOCKSIZE; in ra144_decode_frame()
115 for (j=0; j < BLOCKSIZE; j++) in ra144_decode_frame()
/third_party/ffmpeg/libavformat/
Dcrypto.c31 #define BLOCKSIZE 16 macro
36 uint8_t inbuffer [BLOCKSIZE*MAX_BUFFER_BLOCKS],
37 outbuffer[BLOCKSIZE*MAX_BUFFER_BLOCKS];
59 uint8_t pad[BLOCKSIZE];
91 } else if (default_buf_len != BLOCKSIZE) { in set_aes_arg()
94 desc, default_buf_len, BLOCKSIZE); in set_aes_arg()
101 } else if (*buf_len != BLOCKSIZE) { in set_aes_arg()
104 desc, *buf_len, BLOCKSIZE); in set_aes_arg()
156 ret = av_aes_init(c->aes_decrypt, c->decrypt_key, BLOCKSIZE * 8, 1); in crypto_open2()
171 ret = av_aes_init(c->aes_encrypt, c->encrypt_key, BLOCKSIZE * 8, 0); in crypto_open2()
[all …]
/third_party/ltp/testcases/kernel/io/writetest/
Dwritetest.c47 #define BLOCKSIZE (1024*1024) macro
70 for (i = 0; i < BLOCKSIZE; i++) { in buf_fill()
81 uint8_t buf[BLOCKSIZE]; in write_file()
97 rv = write(fd, buf, BLOCKSIZE); in write_file()
98 if (rv != BLOCKSIZE) { in write_file()
116 uint8_t buf_actual[BLOCKSIZE]; in verify_file()
117 char buf_read[BLOCKSIZE]; in verify_file()
133 rv = read(fd, buf_read, BLOCKSIZE); in verify_file()
134 if (rv != BLOCKSIZE) { in verify_file()
138 for (n = 0; n < BLOCKSIZE; n++) { in verify_file()
[all …]
/third_party/e2fsprogs/tests/f_badsymlinks2/
Dmkimage.sh7 BLOCKSIZE=4096
73 symlink $((BLOCKSIZE - 1 - overhead)) $dir/slow_max > /dev/null
75 ino=$(symlink $((BLOCKSIZE - 1 - overhead)) $dir/one_too_long)
76 echo "set_inode_field <$ino> i_size $BLOCKSIZE"
79 set_encrypted_symlink_len $ino $((BLOCKSIZE - overhead))
82 ino=$(symlink $((BLOCKSIZE - 1 - overhead)) $dir/too_long)
86 set_encrypted_symlink_len $ino $((BLOCKSIZE + 1000 - overhead))
111 mke2fs -O 'encrypt,^extents,^64bit' -b $BLOCKSIZE -I 256 image
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/compression/
DCompressionTableGenerator.java88 final static int BLOCKSIZE = 0xFF; field in CompressionTableGenerator
98 int [] offsetTable = new int [ BLOCKSIZE + 1 ]; in printOffsetTable()
139 boolean [] singleTagTable = new boolean [ BLOCKSIZE + 1 ]; in printSingleTagTable()
141 for( i = 0x00; i <= BLOCKSIZE; i++ ) { in printSingleTagTable()
186 boolean [] unicodeTagTable = new boolean [ BLOCKSIZE + 1 ]; in printUnicodeTagTable()
188 for( i = 0x00; i <= BLOCKSIZE; i++ ) { in printUnicodeTagTable()
/third_party/e2fsprogs/e2fsck/
Dmtrace.h106 #define BLOCKSIZE (1 << BLOCKLOG) macro
107 #define BLOCKIFY(SIZE) (((SIZE) + BLOCKSIZE - 1) / BLOCKSIZE)
154 #define BLOCK(A) (((char *) (A) - _heapbase) / BLOCKSIZE + 1)
155 #define ADDRESS(B) ((__ptr_t) (((B) - 1) * BLOCKSIZE + _heapbase))
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/untgz/
Duntgz.c65 #define BLOCKSIZE 512 macro
91 char buffer[BLOCKSIZE];
394 char fname[BLOCKSIZE]; in tar()
404 len = gzread(in, &buffer, BLOCKSIZE); in tar()
411 if (len != BLOCKSIZE) in tar()
506 if (remaining < 0 || remaining >= BLOCKSIZE) in tar()
511 len = gzread(in, fname, BLOCKSIZE); in tar()
514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar()
529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining; in tar()
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/untgz/
Duntgz.c65 #define BLOCKSIZE 512 macro
91 char buffer[BLOCKSIZE];
394 char fname[BLOCKSIZE]; in tar()
404 len = gzread(in, &buffer, BLOCKSIZE); in tar()
411 if (len != BLOCKSIZE) in tar()
506 if (remaining < 0 || remaining >= BLOCKSIZE) in tar()
511 len = gzread(in, fname, BLOCKSIZE); in tar()
514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar()
529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining; in tar()
/third_party/zlib/contrib/untgz/
Duntgz.c65 #define BLOCKSIZE 512 macro
91 char buffer[BLOCKSIZE];
394 char fname[BLOCKSIZE]; in tar()
404 len = gzread(in, &buffer, BLOCKSIZE); in tar()
411 if (len != BLOCKSIZE) in tar()
506 if (remaining < 0 || remaining >= BLOCKSIZE) in tar()
511 len = gzread(in, fname, BLOCKSIZE); in tar()
514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar()
529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining; in tar()
/third_party/ltp/testcases/kernel/syscalls/fsync/
Dfsync02.c22 #define BLOCKSIZE 8192 macro
44 f_bavail = (stat_buf.f_bavail * stat_buf.f_bsize) / BLOCKSIZE; in setup()
69 offset = i * ((BLOCKSIZE * max_block) / data_blocks); in run()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Drandom_choice_with_mask_impl.cu241 BLOCKNUM = std::ceil(static_cast<float>(n) / BLOCKSIZE); in CalRandomChoiceWithMask()
242 ReductionSum<BLOCKSIZE, S><<<BLOCKNUM, BLOCKSIZE, 0, stream>>>(tmp_buff, Tnum_buff, n); in CalRandomChoiceWithMask()
245 } while (n > BLOCKSIZE); in CalRandomChoiceWithMask()
246 if (n > 1) ReductionSum<BLOCKSIZE, S><<<1, BLOCKSIZE, 0, stream>>>(Tnum_buff, Tnum_buff, n); in CalRandomChoiceWithMask()
Drandom_choice_with_mask_impl.cuh23 #define BLOCKSIZE 256 macro
/third_party/python/Modules/_ctypes/
Dmalloc_closure.c19 #define BLOCKSIZE _pagesize macro
56 count = BLOCKSIZE / sizeof(ITEM); in more_core()
/third_party/python/Lib/
Dtarfile.py78 BLOCKSIZE = 512 # length of processing blocks variable
79 RECORDSIZE = BLOCKSIZE * 20 # length of records
577 self.buf = self.fileobj.read(BLOCKSIZE)
962 buf = struct.pack("%ds" % BLOCKSIZE, b"".join(parts))
963 chksum = calc_chksums(buf[-BLOCKSIZE:])[0]
972 blocks, remainder = divmod(len(payload), BLOCKSIZE)
974 payload += (BLOCKSIZE - remainder) * NUL
1051 if len(buf) != BLOCKSIZE:
1053 if buf.count(NUL) == BLOCKSIZE:
1113 buf = tarfile.fileobj.read(BLOCKSIZE)
[all …]
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
Ds-c1.c76 #define BLOCKSIZE (1000 * SCALABILITY_FACTOR) macro
78 #define NSEM_LIMIT (1000 * BLOCKSIZE)
107 sem_t sems[BLOCKSIZE];
179 for (i = 0; i < BLOCKSIZE; i++) { in main()
290 for (i = 0; i < BLOCKSIZE; i++) { in main()
/third_party/ltp/lib/
Dtst_memutils.c17 #define BLOCKSIZE (16 * 1024 * 1024) macro
21 size_t i, map_count = 0, safety = 0, blocksize = BLOCKSIZE; in tst_pollute_memory()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
Ds-c1.c77 #define BLOCKSIZE (100 * SCALABILITY_FACTOR) macro
106 sem_t *sems[BLOCKSIZE];
179 for (i = 0; i < BLOCKSIZE; i++) { in main()
300 for (i = 0; i < BLOCKSIZE; i++) { in main()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/random/
Drandom_choice_with_mask_gpu_kernel.h135 int blocknum = std::ceil(static_cast<float>(ceil_power2_) / BLOCKSIZE); in InitSizeLists()
/third_party/python/Modules/
Darraymodule.c1539 int BLOCKSIZE = 64*1024; in array_array_tofile() local
1540 Py_ssize_t nblocks = (nbytes + BLOCKSIZE - 1) / BLOCKSIZE; in array_array_tofile()
1547 char* ptr = self->ob_item + i*BLOCKSIZE; in array_array_tofile()
1548 Py_ssize_t size = BLOCKSIZE; in array_array_tofile()
1552 if (i*BLOCKSIZE + size > nbytes) in array_array_tofile()
1553 size = nbytes - i*BLOCKSIZE; in array_array_tofile()
/third_party/python/Lib/test/
Dtest_tarfile.py1117 t.size = tarfile.RECORDSIZE - tarfile.BLOCKSIZE
/third_party/gstreamer/gstreamer/
DChangeLog132821 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...