Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 25 of 33) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dlossless_common.h101 const int highest_bit = BitsLog2Floor(--distance); in VP8LPrefixEncodeBitsNoLUT()
102 const int second_highest_bit = (distance >> (highest_bit - 1)) & 1; in VP8LPrefixEncodeBitsNoLUT()
110 const int highest_bit = BitsLog2Floor(--distance); in VP8LPrefixEncodeNoLUT()
111 const int second_highest_bit = (distance >> (highest_bit - 1)) & 1; in VP8LPrefixEncodeNoLUT()
113 *extra_bits_value = distance & ((1 << *extra_bits) - 1); in VP8LPrefixEncodeNoLUT()
128 if (distance < PREFIX_LOOKUP_IDX_MAX) { in VP8LPrefixEncodeBits()
129 const VP8LPrefixCode prefix_code = kPrefixEncodeCode[distance]; in VP8LPrefixEncodeBits()
133 VP8LPrefixEncodeBitsNoLUT(distance, code, extra_bits); in VP8LPrefixEncodeBits()
140 if (distance < PREFIX_LOOKUP_IDX_MAX) { in VP8LPrefixEncode()
141 const VP8LPrefixCode prefix_code = kPrefixEncodeCode[distance]; in VP8LPrefixEncode()
[all …]
/AliOS-Things-master/components/amp/modules/
A Dsh1106.js104 let xerr = 1, yerr = 1, delta_x, delta_y, distance;
131 distance = delta_x;
133 distance = delta_y;
135 for (let t = 0; t <= distance; t++) {
140 if (xerr > distance / 2) {
141 xerr -= distance;
144 if (yerr > distance) {
145 yerr -= distance;
/AliOS-Things-master/components/freetype/src/truetype/
A Dttinterp.c2047 if ( distance >= 0 ) in Round_None()
2088 if ( distance >= 0 ) in Round_To_Grid()
2132 if ( distance >= 0 ) in Round_To_Half_Grid()
2174 if ( distance >= 0 ) in Round_Down_To_Grid()
2218 if ( distance >= 0 ) in Round_Up_To_Grid()
2262 if ( distance >= 0 ) in Round_To_Double_Grid()
2310 if ( distance >= 0 ) in Round_Super()
6381 distance = 0; in Ins_MDAP()
6470 distance = 0; in Ins_MIAP()
6484 distance = ROUND_None( distance, in Ins_MIAP()
[all …]
A Dttinterp.h70 (*TT_Round_Func)( EXEC_OP_ FT_F26Dot6 distance,
77 FT_F26Dot6 distance );
/AliOS-Things-master/components/py_engine/external/unzip/internal/
A Ddeflate.h326 # define _tr_tally_dist(s, distance, length, flush) \ argument
328 ush dist = (distance); \
338 # define _tr_tally_dist(s, distance, length, flush) \ argument
339 flush = _tr_tally(s, distance, length)
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Ddeflate.h333 # define _tr_tally_dist(s, distance, length, flush) \ argument
335 ush dist = (ush)(distance); \
345 # define _tr_tally_dist(s, distance, length, flush) \ argument
346 flush = _tr_tally(s, distance, length)
A DChangeLog561 - Add puff compile option to permit invalid distance-too-far streams
583 - Add compile option to permit invalid distance-too-far streams
793 dynamic blocks with only literals and no distance codes --
795 - Add a note to puff.c on no distance codes case.
849 - Perform more rigorous check for distance-too-far in inffast.c
916 - Make inflate distance-too-far checks more rigorous
963 - When Z_RLE requested, restrict matches to distance one
/AliOS-Things-master/components/freetype/src/base/
A Dftapi.c65 FT_Long distance ) in FT_Skip_Stream() argument
67 return FT_Stream_Skip( stream, distance ); in FT_Skip_Stream()
A Dftstream.c93 FT_Long distance ) in FT_Stream_Skip() argument
95 if ( distance < 0 ) in FT_Stream_Skip()
98 return FT_Stream_Seek( stream, (FT_ULong)( stream->pos + distance ) ); in FT_Stream_Skip()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dblock_map_test.cc187 int distance = L1Distance(block_coords, previous_block_coords); in GetBlockByIndexSquareTest() local
188 total_l1_distance += distance; in GetBlockByIndexSquareTest()
189 discontinuity_count += (distance > 1); in GetBlockByIndexSquareTest()
/AliOS-Things-master/components/drivers/external_device/sh1106/src/
A Dsh1106.c580 int xerr = 1, yerr = 1, delta_x, delta_y, distance; in OLED_DrawLine() local
607 distance = delta_x; in OLED_DrawLine()
609 distance = delta_y; in OLED_DrawLine()
611 for (t = 0; t <= distance; t++) { in OLED_DrawLine()
616 if (xerr > distance / 2) { in OLED_DrawLine()
617 xerr -= distance; in OLED_DrawLine()
620 if (yerr > distance) { in OLED_DrawLine()
621 yerr -= distance; in OLED_DrawLine()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11keyboard.c268 int distance; in X11_InitKeyboard() local
356 distance = 0; in X11_InitKeyboard()
360 distance += 1; in X11_InitKeyboard()
362 distance += 1; in X11_InitKeyboard()
365 if (distance < best_distance) { in X11_InitKeyboard()
366 best_distance = distance; in X11_InitKeyboard()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/doc/
A Drfc1951.txt81 3.2.5. Compressed blocks (length and distance codes) ...... 11
206 pair <length, backward distance>. The representation used in the
547 decode distance from input stream
571 X and Y, a string reference with <length = 5, distance = 2>
589 3.2.5. Compressed blocks (length and distance codes)
594 byte values (0..255), or <length, backward distance> pairs,
595 where the length is drawn from (3..258) and the distance is
695 distance code. Each code is defined by a sequence of code
716 construction algorithm given earlier. If only one distance
720 distance codes used at all (the data is all literals).
[all …]
A Dalgorithm.txt6 pointer to the previous string, in the form of a pair (distance,
84 of the first table is nine bits. Also the distance trees have 30 possible
191 byte (a "literal"), or it can be either a length or a distance which
/AliOS-Things-master/components/py_engine/engine/lib/uzlib/
A Ddefl_static.h45 void zlib_match(struct Outbuf *ectx, int distance, int len);
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dbackward_references_enc.h45 static WEBP_INLINE PixOrCopy PixOrCopyCreateCopy(uint32_t distance, in PixOrCopyCreateCopy() argument
49 retval.argb_or_distance = distance; in PixOrCopyCreateCopy()
A Dbackward_references_cost_enc.c115 uint32_t distance) { in GetDistanceCost() argument
117 VP8LPrefixEncodeBits(distance, &code, &extra_bits); in GetDistanceCost()
A Dvp8l_enc.c750 const int distance = PixOrCopyDistance(v); in StoreImageToBitMask() local
757 VP8LPrefixEncode(distance, &code, &n_bits, &bits); in StoreImageToBitMask()
/AliOS-Things-master/components/freetype/include/internal/
A Dftstream.h361 FT_Long distance );
493 #define FT_STREAM_SKIP( distance ) \ argument
495 (FT_Long)(distance) ) )
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_pixels.c781 unsigned int distance; in SDL_FindColor() local
792 distance = (rd * rd) + (gd * gd) + (bd * bd) + (ad * ad); in SDL_FindColor()
793 if (distance < smallest) { in SDL_FindColor()
795 if (distance == 0) { /* Perfect match! */ in SDL_FindColor()
798 smallest = distance; in SDL_FindColor()
/AliOS-Things-master/components/SDL2/test/
A Dtestyuv.c97 int distance = (deltaR * deltaR + deltaG * deltaG + deltaB * deltaB); in verify_yuv_data() local
98 if (distance > tolerance) { in verify_yuv_data()
99 …e = %d\n", x, y, actual[0], actual[1], actual[2], expected[0], expected[1], expected[2], distance); in verify_yuv_data()
A Dtestime.c402 char *utf8_advance(char *p, size_t distance) in utf8_advance() argument
405 for (; i < distance && p; ++i) in utf8_advance()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngrtran.c755 png_bytep distance; in png_set_quantize() local
766 distance = (png_bytep)png_malloc(png_ptr, (png_alloc_size_t)(num_entries * in png_set_quantize()
769 memset(distance, 0xff, num_entries * (sizeof (png_byte))); in png_set_quantize()
801 if (d < (int)distance[d_index]) in png_set_quantize()
803 distance[d_index] = (png_byte)d; in png_set_quantize()
811 png_free(png_ptr, distance); in png_set_quantize()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/
A Dtypes.h264 std::distance(src_iterable.begin(), src_iterable.end()); in BuildFrom()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A DREADME499 -kmin <int> ............ min distance between key frames
500 -kmax <int> ............ max distance between key frames

Completed in 747 milliseconds

12