Home
last modified time | relevance | path

Searched refs:clip (Results 1 – 18 of 18) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Dquant_dec.c16 static WEBP_INLINE int clip(int v, int M) { in clip() function
91 m->y1_mat_[0] = kDcTable[clip(q + dqy1_dc, 127)]; in VP8ParseQuant()
92 m->y1_mat_[1] = kAcTable[clip(q + 0, 127)]; in VP8ParseQuant()
94 m->y2_mat_[0] = kDcTable[clip(q + dqy2_dc, 127)] * 2; in VP8ParseQuant()
98 m->y2_mat_[1] = (kAcTable[clip(q + dqy2_ac, 127)] * 101581) >> 16; in VP8ParseQuant()
101 m->uv_mat_[0] = kDcTable[clip(q + dquv_dc, 117)]; in VP8ParseQuant()
102 m->uv_mat_[1] = kAcTable[clip(q + dquv_ac, 127)]; in VP8ParseQuant()
/AliOS-Things-master/components/SDL2/src/video/haiku/
A DSDL_bclipboard.cc39 BMessage *clip = NULL; in HAIKU_SetClipboardText() local
42 if((clip = be_clipboard->Data())) { in HAIKU_SetClipboardText()
46 clip->AddData("text/plain", B_MIME_TYPE, text, asciiLength); in HAIKU_SetClipboardText()
55 BMessage *clip = NULL; in HAIKU_GetClipboardText() local
60 if((clip = be_clipboard->Data())) { in HAIKU_GetClipboardText()
62 clip->FindData("text/plain", B_MIME_TYPE, (const void**)&text, in HAIKU_GetClipboardText()
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxBlitFunc.c477 SDL_Rect *clip = &dst->clip_rect; in SDL_gfxBlitRGBA() local
480 dx = clip->x - dr.x; in SDL_gfxBlitRGBA()
486 dx = dr.x + w - clip->x - clip->w; in SDL_gfxBlitRGBA()
490 dy = clip->y - dr.y; in SDL_gfxBlitRGBA()
496 dy = dr.y + h - clip->y - clip->h; in SDL_gfxBlitRGBA()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_rect.c192 SDL_EnclosePoints(const SDL_Point * points, int count, const SDL_Rect * clip, in SDL_EnclosePoints() argument
211 if (clip) { in SDL_EnclosePoints()
213 const int clip_minx = clip->x; in SDL_EnclosePoints()
214 const int clip_miny = clip->y; in SDL_EnclosePoints()
215 const int clip_maxx = clip->x+clip->w-1; in SDL_EnclosePoints()
216 const int clip_maxy = clip->y+clip->h-1; in SDL_EnclosePoints()
219 if (SDL_RectEmpty(clip)) { in SDL_EnclosePoints()
A DSDL_surface.c689 SDL_Rect *clip = &dst->clip_rect; in SDL_UpperBlit() local
692 dx = clip->x - dstrect->x; in SDL_UpperBlit()
698 dx = dstrect->x + w - clip->x - clip->w; in SDL_UpperBlit()
702 dy = clip->y - dstrect->y; in SDL_UpperBlit()
708 dy = dstrect->y + h - clip->y - clip->h; in SDL_UpperBlit()
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestGfxBlit.c73 SDL_Rect dest,clip; in Draw() local
124 clip.x = width_half-256-10 ; in Draw()
125 clip.y = height_half-256/2 ; in Draw()
126 clip.w = 256; in Draw()
127 clip.h = 256; in Draw()
A DTestGfxPrimitives.c132 SDL_Rect clip; in SetClip() local
133 clip.x = x1+BORDER; in SetClip()
134 clip.y = y1+BORDER; in SetClip()
135 clip.w = x2-x1-2*BORDER; in SetClip()
136 clip.h = y2-y1-2*BORDER; in SetClip()
137 SDL_SetClipRect(screen, &clip); in SetClip()
142 SDL_Rect clip; in SetClipNoBorder() local
143 clip.x = x1; in SetClipNoBorder()
144 clip.y = y1; in SetClipNoBorder()
145 clip.w = x2-x1; in SetClipNoBorder()
[all …]
/AliOS-Things-master/components/uvoice/codec/
A Dogg_decoder.c278 int clip = 0; in ogg_decoder_process() local
299 clip = 1; in ogg_decoder_process()
303 clip = 1; in ogg_decoder_process()
310 if (clip) in ogg_decoder_process()
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_rect.c1111 SDL_Rect clip; in rect_testEnclosePointsWithClipping() local
1152 clip = refClip; in rect_testEnclosePointsWithClipping()
1163 …SDLTest_AssertCheck(refClip.x==clip.x && refClip.y==clip.y && refClip.w==clip.w && refClip.h==clip in rect_testEnclosePointsWithClipping()
1177 …SDLTest_AssertCheck(refClip.x==clip.x && refClip.y==clip.y && refClip.w==clip.w && refClip.h==clip in rect_testEnclosePointsWithClipping()
1186 clip.w = 0; in rect_testEnclosePointsWithClipping()
1187 clip.h = 0; in rect_testEnclosePointsWithClipping()
1208 SDL_Rect clip; in rect_testEnclosePointsParam() local
1213 anyEnclosed = SDL_EnclosePoints((SDL_Point *)NULL, 1, (const SDL_Rect *)&clip, &result); in rect_testEnclosePointsParam()
1215 anyEnclosed = SDL_EnclosePoints((const SDL_Point *)points, 0, (const SDL_Rect *)&clip, &result); in rect_testEnclosePointsParam()
1218 …anyEnclosed = SDL_EnclosePoints((const SDL_Point *)points, count, (const SDL_Rect *)&clip, &result… in rect_testEnclosePointsParam()
[all …]
/AliOS-Things-master/components/freetype/src/smooth/
A Dftgrays.c1808 FT_BBox* clip; in gray_convert_glyph() local
1815 clip = &ras.clip_box; in gray_convert_glyph()
1817 if ( ras.max_ex <= clip->xMin || ras.min_ex >= clip->xMax || in gray_convert_glyph()
1818 ras.max_ey <= clip->yMin || ras.min_ey >= clip->yMax ) in gray_convert_glyph()
1821 if ( ras.min_ex < clip->xMin ) ras.min_ex = clip->xMin; in gray_convert_glyph()
1822 if ( ras.min_ey < clip->yMin ) ras.min_ey = clip->yMin; in gray_convert_glyph()
1824 if ( ras.max_ex > clip->xMax ) ras.max_ex = clip->xMax; in gray_convert_glyph()
1825 if ( ras.max_ey > clip->yMax ) ras.max_ey = clip->yMax; in gray_convert_glyph()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dquant_enc.c126 static WEBP_INLINE int clip(int v, int m, int M) { in clip() function
250 m->y1_.q_[0] = kDcTable[clip(q + enc->dq_y1_dc_, 0, 127)]; in SetupMatrices()
251 m->y1_.q_[1] = kAcTable[clip(q, 0, 127)]; in SetupMatrices()
253 m->y2_.q_[0] = kDcTable[ clip(q + enc->dq_y2_dc_, 0, 127)] * 2; in SetupMatrices()
254 m->y2_.q_[1] = kAcTable2[clip(q + enc->dq_y2_ac_, 0, 127)]; in SetupMatrices()
256 m->uv_.q_[0] = kDcTable[clip(q + enc->dq_uv_dc_, 0, 117)]; in SetupMatrices()
257 m->uv_.q_[1] = kAcTable[clip(q + enc->dq_uv_ac_, 0, 127)]; in SetupMatrices()
303 const int qstep = kAcTable[clip(m->quant_, 0, 127)] >> 2; in SetupFilterStrength()
418 enc->dqm_[i].quant_ = clip(q, 0, 127); in VP8SetSegmentParams()
437 dq_uv_ac = clip(dq_uv_ac, MIN_DQ_UV, MAX_DQ_UV); in VP8SetSegmentParams()
[all …]
A Danalysis_enc.c72 static WEBP_INLINE int clip(int v, int m, int M) { in clip() function
94 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); in SetSegmentAlphas()
95 enc->dqm_[n].beta_ = clip(beta, 0, 255); in SetSegmentAlphas()
110 return clip(alpha, 0, MAX_ALPHA); in FinalAlphaValue()
/AliOS-Things-master/components/SDL2/include/
A DSDL_rect.h153 const SDL_Rect * clip,
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c1729 SDL_Rect clip; in SDLTest_CommonEvent() local
1731 SDL_RenderGetClipRect(state->renderers[i], &clip); in SDLTest_CommonEvent()
1732 if (SDL_RectEmpty(&clip)) { in SDLTest_CommonEvent()
1733 clip.x = w/4; in SDLTest_CommonEvent()
1734 clip.y = h/4; in SDLTest_CommonEvent()
1735 clip.w = w/2; in SDLTest_CommonEvent()
1736 clip.h = h/2; in SDLTest_CommonEvent()
1737 SDL_RenderSetClipRect(state->renderers[i], &clip); in SDLTest_CommonEvent()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/mux/
A Danim_encode.c590 static WEBP_INLINE int clip(int v, int min_v, int max_v) { in clip() function
599 const int right = clip(*x_offset + *width, 0, curr_canvas->width); in WebPAnimEncoderRefineRect()
600 const int left = clip(*x_offset, 0, curr_canvas->width - 1); in WebPAnimEncoderRefineRect()
601 const int bottom = clip(*y_offset + *height, 0, curr_canvas->height); in WebPAnimEncoderRefineRect()
602 const int top = clip(*y_offset, 0, curr_canvas->height - 1); in WebPAnimEncoderRefineRect()
611 rect.width_ = clip(right - left, 0, curr_canvas->width - rect.x_offset_); in WebPAnimEncoderRefineRect()
612 rect.height_ = clip(bottom - top, 0, curr_canvas->height - rect.y_offset_); in WebPAnimEncoderRefineRect()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/Examples/HelloTFLite/Scenes/
A DHelloTFLite.unity164 near clip plane: 0.3
165 far clip plane: 1000
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Denc.c265 const uint8_t* const clip = clip1 + 255 - left[-1]; in TrueMotion() local
267 const uint8_t* const clip_table = clip + left[y]; in TrueMotion()
504 const uint8_t* const clip = clip1 + 255 - top[-1]; in TM4() local
506 const uint8_t* const clip_table = clip + top[-2 - y]; in TM4()
A Ddec.c178 const uint8_t* const clip = clip0 + dst[-1]; in TrueMotion() local
181 dst[x] = clip[top[x]]; in TrueMotion()

Completed in 42 milliseconds