Home
last modified time | relevance | path

Searched refs:hsize (Results 1 – 25 of 40) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_midequalizer.c47 unsigned *cchange, size_t hsize);
136 int w, int h, float *histogram, size_t hsize) in compute_histogram8() argument
140 memset(histogram, 0, hsize * sizeof(*histogram)); in compute_histogram8()
149 for (x = 0; x < hsize - 1; x++) { in compute_histogram8()
151 histogram[x] /= hsize; in compute_histogram8()
153 histogram[x] /= hsize; in compute_histogram8()
157 int w, int h, float *histogram, size_t hsize) in compute_histogram16() argument
161 memset(histogram, 0, hsize * sizeof(*histogram)); in compute_histogram16()
170 for (x = 0; x < hsize - 1; x++) { in compute_histogram16()
172 histogram[x] /= hsize; in compute_histogram16()
[all …]
Dvf_tmidequalizer.c52 int w, int h, float *histogram, size_t hsize);
101 int nb_frames, int radius, int hsize, in compute_contrast_function() argument
107 for (int p1 = 0; p1 < hsize; p1++) { in compute_contrast_function()
116 for (; p2[k] < hsize && h2[p2[k]] < h1[p1]; p2[k]++); in compute_contrast_function()
117 if (p2[k] == hsize) in compute_contrast_function()
129 for (; p2[k] < hsize && h2[p2[k]] < h1[p1]; p2[k]++); in compute_contrast_function()
130 if (p2[k] == hsize) in compute_contrast_function()
289 int w, int h, float *histogram, size_t hsize) in compute_histogram8() argument
291 memset(histogram, 0, hsize * sizeof(*histogram)); in compute_histogram8()
299 for (int x = 0; x < hsize; x++) in compute_histogram8()
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DCsvSchema.java72 int hsize = keyMarshaller().getColumns().size(); in parseHeader() local
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() local
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/ffmpeg/libavcodec/
Dbmp.c37 unsigned int fsize, hsize; in bmp_decode_frame() local
71 hsize = bytestream_get_le32(&buf); /* header size */ in bmp_decode_frame()
73 if (ihsize + 14LL > hsize) { in bmp_decode_frame()
74 av_log(avctx, AV_LOG_ERROR, "invalid header size %u\n", hsize); in bmp_decode_frame()
82 if (fsize <= hsize) { in bmp_decode_frame()
85 fsize, hsize); in bmp_decode_frame()
186 if (hsize - ihsize - 14 > 0) in bmp_decode_frame()
193 if (hsize - ihsize - 14 > 0) { in bmp_decode_frame()
216 buf = buf0 + hsize; in bmp_decode_frame()
217 dsize = buf_size - hsize; in bmp_decode_frame()
[all …]
Dbmpenc.c70 int n_bytes_image, n_bytes_per_row, n_bytes, i, n, hsize, ret; in bmp_encode_frame() local
119 hsize = SIZE_BITMAPFILEHEADER + SIZE_BITMAPINFOHEADER + (pal_entries << 2); in bmp_encode_frame()
120 n_bytes = n_bytes_image + hsize; in bmp_encode_frame()
129 bytestream_put_le32(&buf, hsize); // BITMAPFILEHEADER.bfOffBits in bmp_encode_frame()
145 buf = pkt->data + hsize; in bmp_encode_frame()
Dpixlet.c381 int hsize, i, j; in filterfn() local
384 hsize = size >> 1; in filterfn()
386 high = &low[hsize + 8]; in filterfn()
389 memcpy(high, dest + hsize, size); in filterfn()
391 ll = &low[hsize]; in filterfn()
392 lh = &low[hsize]; in filterfn()
393 hl = &high[hsize]; in filterfn()
402 for (i = 0; i < hsize; i++) { in filterfn()
411 for (i = 0; i < hsize; i++) { in filterfn()
Dmss3.c592 const int hsize = block_size >> 1; in decode_haar_block() local
598 if (i < hsize && j < hsize) in decode_haar_block()
608 for (j = 0; j < hsize; j++) { in decode_haar_block()
609 for (i = 0; i < hsize; i++) { in decode_haar_block()
611 B = block[i + hsize]; in decode_haar_block()
612 C = block[i + hsize * block_size]; in decode_haar_block()
613 D = block[i + hsize * block_size + hsize]; in decode_haar_block()
Dtakdec.c684 int chan, i, ret, hsize; in tak_decode_frame() local
695 hsize = get_bits_count(gb) / 8; in tak_decode_frame()
697 if (ff_tak_check_crc(pkt->data, hsize)) { in tak_decode_frame()
878 if (ff_tak_check_crc(pkt->data + hsize, in tak_decode_frame()
879 get_bits_count(gb) / 8 - hsize)) { in tak_decode_frame()
Dclearvideo.c444 int i, hsize = size >> 1; in restore_tree() local
447 int xoff = (i & 2) == 0 ? 0 : hsize; in restore_tree()
448 int yoff = (i & 1) == 0 ? 0 : hsize; in restore_tree()
451 … ret = restore_tree(avctx, dst, src, plane, x + xoff, y + yoff, hsize, tile->child[i], root_mv); in restore_tree()
454 … ret = tile_do_block(avctx, dst, src, plane, x + xoff, y + yoff, mv.x, mv.y, hsize, tile->bias); in restore_tree()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstadapter.c415 gsize hsize;
423 hsize = gst_buffer_get_size (head);
427 gst_buffer_resize (head, adapter->skip, hsize - adapter->skip);
428 hsize -= adapter->skip;
434 while (g != NULL && hsize < size) {
439 hsize, gst_buffer_get_size (cur), size);
442 hsize = gst_buffer_get_size (head);
967 gsize hsize, skip; in gst_adapter_get_buffer() local
984 hsize = gst_buffer_get_size (cur); in gst_adapter_get_buffer()
987 if (skip == 0 && hsize == nbytes) { in gst_adapter_get_buffer()
[all …]
/third_party/elfutils/tests/
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()
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()
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()
Dshow-die-info.c333 size_t hsize; in main() local
337 while (dwarf_nextcu (dbg, off, &off, &hsize, &abbrev, &addresssize, in main()
342 (unsigned long long int) old_off, hsize, in main()
347 if (dwarf_offdie (dbg, old_off + hsize, &die) != NULL) in main()
Drun-show-die-info.sh25 New CU: off = 0, hsize = 11, ab = 0, as = 4, os = 4
49 New CU: off = 135, hsize = 11, ab = 54, as = 4, os = 4
73 New CU: off = 270, hsize = 11, ab = 108, as = 4, os = 4
123 New CU: off = 0, hsize = 11, ab = 0, as = 4, os = 4
910 New CU: off = 2418, hsize = 11, ab = 213, as = 4, os = 4
934 New CU: off = 2521, hsize = 11, ab = 267, as = 4, os = 4
/third_party/elfutils/libelf/
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() local
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()
Delf_compress.c66 __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()
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 in elf_compress() local
409 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress()
/third_party/FreeBSD/sys/dev/usb/
Dusb_hid.c634 uint32_t hsize = loc->size; in hid_get_data_sub() local
639 DPRINTFN(11, "hid_get_data: loc %d/%d\n", hpos, hsize); in hid_get_data_sub()
642 if (hsize == 0) in hid_get_data_sub()
644 if (hsize > 32) in hid_get_data_sub()
645 hsize = 32; in hid_get_data_sub()
650 n = (hsize + 7) / 8; in hid_get_data_sub()
660 n = 32 - hsize; in hid_get_data_sub()
693 uint32_t hsize = loc->size; in hid_put_data_unsigned() local
699 DPRINTFN(11, "hid_put_data: loc %d/%d = %u\n", hpos, hsize, value); in hid_put_data_unsigned()
702 if (hsize == 0) in hid_put_data_unsigned()
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpqdmdepay.c335 guint hsize = 2; in gst_rtp_qdm2_depay_process() local
345 hsize = 3; in gst_rtp_qdm2_depay_process()
353 add_packet (rtpqdm2depay, packetid, packlen + hsize, in gst_rtp_qdm2_depay_process()
354 payload + pos - hsize); in gst_rtp_qdm2_depay_process()
/third_party/mesa3d/src/mesa/main/
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/
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()
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/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsmodes.c51 float hsize, vsize; in WIN_GetMonitorDPI() local
57 hsize = data->mode->w / data->mode_data->HorzDPI; in WIN_GetMonitorDPI()
62 hsize, in WIN_GetMonitorDPI()
/third_party/f2fs-tools/fsck/
Dxattr.c84 struct f2fs_node *inode, __u32 hsize, void *txattr_addr) in write_all_xattrs() argument
98 if (hsize <= inline_size) in write_all_xattrs()
/third_party/skia/third_party/externals/microhttpd/doc/
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 by -5.8pt % Space to left+right.
3033 \advance\hsize by -2\dimen2 % Rules.
[all …]

12