Home
last modified time | relevance | path

Searched refs:hsize (Results 1 - 25 of 33) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
H A Dvf_midequalizer.c47 unsigned *cchange, size_t hsize);
131 int w, int h, float *histogram, size_t hsize) in compute_histogram8()
135 memset(histogram, 0, hsize * sizeof(*histogram)); in compute_histogram8()
144 for (x = 0; x < hsize - 1; x++) { in compute_histogram8()
146 histogram[x] /= hsize; in compute_histogram8()
148 histogram[x] /= hsize; in compute_histogram8()
152 int w, int h, float *histogram, size_t hsize) in compute_histogram16()
156 memset(histogram, 0, hsize * sizeof(*histogram)); in compute_histogram16()
165 for (x = 0; x < hsize - 1; x++) { in compute_histogram16()
167 histogram[x] /= hsize; in compute_histogram16()
130 compute_histogram8(const uint8_t *src, ptrdiff_t linesize, int w, int h, float *histogram, size_t hsize) compute_histogram8() argument
151 compute_histogram16(const uint16_t *src, ptrdiff_t linesize, int w, int h, float *histogram, size_t hsize) compute_histogram16() argument
172 compute_contrast_change(float *histogram1, float *histogram2, unsigned *cchange, size_t hsize) compute_contrast_change() argument
186 midequalizer8(const uint8_t *in0, const uint8_t *in1, uint8_t *dst, ptrdiff_t linesize1, ptrdiff_t linesize2, ptrdiff_t dlinesize, int w0, int h0, int w1, int h1, float *histogram1, float *histogram2, unsigned *cchange, size_t hsize) midequalizer8() argument
212 midequalizer16(const uint8_t *in0, const uint8_t *in1, uint8_t *dst, ptrdiff_t linesize1, ptrdiff_t linesize2, ptrdiff_t dlinesize, int w0, int h0, int w1, int h1, float *histogram1, float *histogram2, unsigned *cchange, size_t hsize) midequalizer16() argument
[all...]
H A Dvf_tmidequalizer.c52 int w, int h, float *histogram, size_t hsize);
96 int nb_frames, int radius, int hsize, in compute_contrast_function()
102 for (int p1 = 0; p1 < hsize; p1++) { in compute_contrast_function()
111 for (; p2[k] < hsize && h2[p2[k]] < h1[p1]; p2[k]++); in compute_contrast_function()
112 if (p2[k] == hsize) in compute_contrast_function()
124 for (; p2[k] < hsize && h2[p2[k]] < h1[p1]; p2[k]++); in compute_contrast_function()
125 if (p2[k] == hsize) in compute_contrast_function()
286 int w, int h, float *histogram, size_t hsize) in compute_histogram8()
288 memset(histogram, 0, hsize * sizeof(*histogram)); in compute_histogram8()
296 for (int x = 0; x < hsize; in compute_histogram8()
94 compute_contrast_function(const float *const histograms[256], const float *const kernel, int nb_frames, int radius, int hsize, float *f, int idx) compute_contrast_function() argument
285 compute_histogram8(const uint8_t *src, ptrdiff_t linesize, int w, int h, float *histogram, size_t hsize) compute_histogram8() argument
303 compute_histogram16(const uint8_t *ssrc, ptrdiff_t linesize, int w, int h, float *histogram, size_t hsize) compute_histogram16() argument
[all...]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
H A DCsvSchema.java72 int hsize = keyMarshaller().getColumns().size(); in parseHeader()
73 checkArgument(header.size() >= hsize, "CSV header too short: %s", header); in parseHeader()
74 checkArgument(header.subList(0, hsize).equals(keyMarshaller().getColumns()), in parseHeader()
77 header.subList(hsize, header.size()).forEach(s -> columns.add(columns().getColumn(s))); in parseHeader()
84 int hsize = keyMarshaller().getColumns().size(); in parseRow()
85 checkArgument(row.size() >= hsize, "CSV row too short: %s", row); in parseRow()
86 K key = keyMarshaller().deserialize(row.subList(0, hsize)); in parseRow()
88 for (int n = 0; n < row.size() - hsize; n++) { in parseRow()
91 Assignment.ofOptional(c, Optional.ofNullable(c.parse(row.get(n + hsize))))); in parseRow()
/third_party/elfutils/tests/
H A Ddwarf-die-addr-die.c86 size_t hsize; in check_dbg() local
90 while (dwarf_nextcu (dbg, off, &off, &hsize, &abbrev, &addresssize, in check_dbg()
94 if (dwarf_offdie (dbg, old_off + hsize, &die) != NULL) in check_dbg()
109 while (dwarf_next_unit (dbg, off, &off, &hsize, &version, &abbrev, in check_dbg()
113 if (dwarf_offdie_types (dbg, old_off + hsize, &die) != NULL) in check_dbg()
123 old_off + hsize + typeoff); in check_dbg()
H A Dget-lines.c51 size_t hsize; in main() local
55 while (dwarf_nextcu (dbg, cuoff, &cuoff, &hsize, &ao, &asz, &osz) == 0) in main()
58 hsize, (unsigned long long int) ao, in main()
63 if (dwarf_offdie (dbg, old_cuoff + hsize, &die) == NULL) in main()
H A Dshow-abbrev.c45 size_t hsize; in main() local
46 while (dwarf_nextcu (dbg, cuoff, &cuoff, &hsize, NULL, NULL, NULL) == 0) in main()
50 if (dwarf_offdie (dbg, old_cuoff + hsize, &die) == NULL) in main()
H A Dshow-die-info.c333 size_t hsize; in main() local
337 while (dwarf_nextcu (dbg, off, &off, &hsize, &abbrev, &addresssize, in main()
340 printf ("New CU: off = %llu, hsize = %zu, ab = %llu, as = %" PRIu8 in main()
342 (unsigned long long int) old_off, hsize, in main()
347 if (dwarf_offdie (dbg, old_off + hsize, &die) != NULL) in main()
/third_party/elfutils/libelf/
H A Delf_compress_gnu.c102 size_t hsize = 4 + 8; /* GNU "ZLIB" + 8 byte size. */ in elf_compress_gnu() local
104 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress_gnu()
154 size_t hsize = 4 + 8; /* GNU "ZLIB" + 8 byte size. */ in elf_compress_gnu()
155 if (data->d_size < hsize || memcmp (data->d_buf, "ZLIB", 4) != 0) in elf_compress_gnu()
179 size_t size_in = data->d_size - hsize; in elf_compress_gnu()
180 void *buf_in = data->d_buf + hsize; in elf_compress_gnu()
H A Delf_compress.c59 alignment. Returns a buffer that has at least hsize bytes (for the
61 returns the new buffer size in new_size (hsize + compressed data
66 __libelf_compress (Elf_Scn *scn, size_t hsize, int ei_data, in __libelf_compress() argument
86 && data->d_size <= hsize + 5 + 6) in __libelf_compress()
93 hsize. Make the first chunk twice that size (25%), then increase in __libelf_compress()
95 size_t block = (data->d_size / 8) + hsize; in __libelf_compress()
105 size_t used = hsize; in __libelf_compress()
294 size_t hsize = (elfclass == ELFCLASS32 in __libelf_decompress_elf() local
296 size_t size_in = data->d_size - hsize; in __libelf_decompress_elf()
297 void *buf_in = data->d_buf + hsize; in __libelf_decompress_elf()
406 size_t hsize = (elfclass == ELFCLASS32 elf_compress() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dbmp.c36 unsigned int fsize, hsize; in bmp_decode_frame() local
70 hsize = bytestream_get_le32(&buf); /* header size */ in bmp_decode_frame()
72 if (ihsize + 14LL > hsize) { in bmp_decode_frame()
73 av_log(avctx, AV_LOG_ERROR, "invalid header size %u\n", hsize); in bmp_decode_frame()
81 if (fsize <= hsize) { in bmp_decode_frame()
84 fsize, hsize); in bmp_decode_frame()
185 if (hsize - ihsize - 14 > 0) in bmp_decode_frame()
192 if (hsize - ihsize - 14 > 0) { in bmp_decode_frame()
215 buf = buf0 + hsize; in bmp_decode_frame()
216 dsize = buf_size - hsize; in bmp_decode_frame()
[all...]
H A Dbmpenc.c70 int n_bytes_image, n_bytes_per_row, n_bytes, i, n, hsize, ret; in bmp_encode_frame() local
113 hsize = SIZE_BITMAPFILEHEADER + SIZE_BITMAPINFOHEADER + (pal_entries << 2); in bmp_encode_frame()
114 n_bytes = n_bytes_image + hsize; in bmp_encode_frame()
123 bytestream_put_le32(&buf, hsize); // BITMAPFILEHEADER.bfOffBits in bmp_encode_frame()
139 buf = pkt->data + hsize; in bmp_encode_frame()
H A Dmss3.c593 const int hsize = block_size >> 1; in decode_haar_block() local
599 if (i < hsize && j < hsize) in decode_haar_block()
609 for (j = 0; j < hsize; j++) { in decode_haar_block()
610 for (i = 0; i < hsize; i++) { in decode_haar_block()
612 B = block[i + hsize]; in decode_haar_block()
613 C = block[i + hsize * block_size]; in decode_haar_block()
614 D = block[i + hsize * block_size + hsize]; in decode_haar_block()
H A Dpixlet.c382 int hsize, i, j; in filterfn() local
385 hsize = size >> 1; in filterfn()
387 high = &low[hsize + 8]; in filterfn()
390 memcpy(high, dest + hsize, size); in filterfn()
392 ll = &low[hsize]; in filterfn()
393 lh = &low[hsize]; in filterfn()
394 hl = &high[hsize]; in filterfn()
403 for (i = 0; i < hsize; i++) { in filterfn()
412 for (i = 0; i < hsize; i++) { in filterfn()
H A Dclearvideo.c445 int i, hsize = size >> 1; in restore_tree() local
448 int xoff = (i & 2) == 0 ? 0 : hsize; in restore_tree()
449 int yoff = (i & 1) == 0 ? 0 : hsize; in restore_tree()
452 ret = restore_tree(avctx, dst, src, plane, x + xoff, y + yoff, hsize, tile->child[i], root_mv); in restore_tree()
455 ret = tile_do_block(avctx, dst, src, plane, x + xoff, y + yoff, mv.x, mv.y, hsize, tile->bias); in restore_tree()
H A Dtakdec.c682 int chan, i, ret, hsize; in tak_decode_frame() local
693 hsize = get_bits_count(gb) / 8; in tak_decode_frame()
695 if (ff_tak_check_crc(pkt->data, hsize)) { in tak_decode_frame()
881 if (ff_tak_check_crc(pkt->data + hsize, in tak_decode_frame()
882 get_bits_count(gb) / 8 - hsize)) { in tak_decode_frame()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_hid.c633 uint32_t hsize = loc->size; in hid_get_data_sub() local
638 DPRINTFN(11, "hid_get_data: loc %d/%d\n", hpos, hsize); in hid_get_data_sub()
641 if (hsize == 0) in hid_get_data_sub()
643 if (hsize > 32) in hid_get_data_sub()
644 hsize = 32; in hid_get_data_sub()
649 n = (hsize + 7) / 8; in hid_get_data_sub()
659 n = 32 - hsize; in hid_get_data_sub()
692 uint32_t hsize = loc->size; in hid_put_data_unsigned() local
698 DPRINTFN(11, "hid_put_data: loc %d/%d = %u\n", hpos, hsize, value); in hid_put_data_unsigned()
701 if (hsize in hid_put_data_unsigned()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Deval.c217 GLint i, j, k, size, dsize, hsize; in _mesa_copy_map_points2f() local
230 hsize = (uorder > vorder ? uorder : vorder)*size; in _mesa_copy_map_points2f()
232 if(hsize>dsize) in _mesa_copy_map_points2f()
233 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f()
260 GLint i, j, k, size, hsize, dsize; in _mesa_copy_map_points2d() local
273 hsize = (uorder > vorder ? uorder : vorder)*size; in _mesa_copy_map_points2d()
275 if(hsize>dsize) in _mesa_copy_map_points2d()
276 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
/third_party/ffmpeg/tests/checkasm/
H A Dvp9dsp.c564 int op, hsize, bit_depth, filter, dx, dy; in check_mc() local
578 for (hsize = 0; hsize < 5; hsize++) { in check_mc()
579 int size = 64 >> hsize; in check_mc()
593 if (check_func(dsp.mc[hsize][filter][op][dx][dy], in check_mc()
H A Dvp8dsp.c280 int hsize = k / 3; in check_mc() local
281 int size = 16 >> hsize; in check_mc()
297 if (check_func(tab[hsize][dy][dx], "vp8_put_%s", str)) { in check_mc()
/third_party/f2fs-tools/fsck/
H A Dxattr.c84 struct f2fs_node *inode, __u32 hsize, void *txattr_addr) in write_all_xattrs()
98 if (hsize <= inline_size) in write_all_xattrs()
83 write_all_xattrs(struct f2fs_sb_info *sbi, struct f2fs_node *inode, __u32 hsize, void *txattr_addr) write_all_xattrs() argument
/third_party/node/deps/npm/node_modules/fastest-levenshtein/
H A Dmod.js43 var hsize = Math.ceil(n / 32);
45 for (var i = 0; i < hsize; i++) {
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dtexinfo.tex326 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
328 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
348 \hsize = \outerhsize
361 \hfil % center the page within the outer (page) hsize.
405 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
784 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
908 \advance\hsize by -\leftskip
909 \advance\hsize by -\rightskip
3032 \hsize = \dimen0 \advance\hsize b
[all...]
/third_party/python/Lib/test/
H A Dtest_largefile.py162 hsize = int(required / 1024 / 1024)
164 f"required {hsize} MiB of free disk space")
/third_party/elfutils/src/
H A Dnm.c624 size_t hsize; in get_local_names() local
626 while (dwarf_nextcu (dbg, old_offset = offset, &offset, &hsize, NULL, NULL, in get_local_names()
630 Dwarf_Die *cudie = dwarf_offdie (dbg, old_offset + hsize, &cudie_mem); in get_local_names()
/third_party/ffmpeg/tools/
H A Dcrypto_bench.c95 #define DEFINE_LAVU_MD(suffix, type, namespace, hsize) \
102 av_ ## namespace ## _init(h, hsize); \

Completed in 28 milliseconds

12