Home
last modified time | relevance | path

Searched refs:CLIP (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dv210_template.c25 #define CLIP(v, depth) av_clip(v, 1<<(depth-8), ((1<<depth)-(1<<(depth-8))-1)) macro
28 val = CLIP(*a++, depth) << (10-depth); \
29 val |= (CLIP(*b++, depth) << (20-depth)) | \
30 (CLIP(*c++, depth) << (30-depth)); \
68 val = CLIP(*y++, DEPTH) << (10-DEPTH); in RENAME()
75 val |= (CLIP(*u++, DEPTH) << (20-DEPTH)) | (CLIP(*y++, DEPTH) << (30-DEPTH)); in RENAME()
79 val = CLIP(*v++, DEPTH) << (10-DEPTH) | (CLIP(*y++, DEPTH) << (20-DEPTH)); in RENAME()
Dflacdsp_lpc_template.c26 #undef CLIP
34 # define CLIP(x) av_clipl_int32(x) macro
38 # define CLIP(x) (x) macro
103 res[i ] = smp[i ] - CLIP(p0 >> shift); in FUNC()
104 res[i+1] = smp[i+1] - CLIP(p1 >> shift); in FUNC()
125 res[i ] = smp[i ] - CLIP(p0 >> shift); in FUNC()
126 res[i+1] = smp[i+1] - CLIP(p1 >> shift); in FUNC()
Dbit_depth_template.c42 # undef CLIP
79 # define CLIP(a) av_clip_uintp2(a, BIT_DEPTH) macro
99 # define CLIP(a) av_clip_uint8(a) macro
Dh264pred_template.c473 src[16+i] = CLIP((b ) >> 5); in FUNCC()
474 src[17+i] = CLIP((b+ H) >> 5); in FUNCC()
475 src[18+i] = CLIP((b+2*H) >> 5); in FUNCC()
476 src[19+i] = CLIP((b+3*H) >> 5); in FUNCC()
793 src[0] = CLIP((b ) >> 5); in FUNCC()
794 src[1] = CLIP((b+ H) >> 5); in FUNCC()
795 src[2] = CLIP((b+2*H) >> 5); in FUNCC()
796 src[3] = CLIP((b+3*H) >> 5); in FUNCC()
797 src[4] = CLIP((b+4*H) >> 5); in FUNCC()
798 src[5] = CLIP((b+5*H) >> 5); in FUNCC()
[all …]
Dqdrw.c36 CLIP = 0x0001, enumerator
342 case CLIP: in decode_frame()
Dh264qpel_template.c533 #define op_avg(a, b) a = (((a)+CLIP(((b) + 16)>>5)+1)>>1)
535 #define op_put(a, b) a = CLIP(((b) + 16)>>5)
536 #define op2_avg(a, b) a = (((a)+CLIP(((b) + 512)>>10)+1)>>1)
537 #define op2_put(a, b) a = CLIP(((b) + 512)>>10)
/third_party/ffmpeg/libswresample/
Ddither_template.c22 # define CLIP(v) while(0) macro
27 # define CLIP(v) while(0) macro
32 # define CLIP(v) v = FFMAX(FFMIN(v, INT32_MAX), INT32_MIN) macro
37 # define CLIP(v) v = FFMAX(FFMIN(v, INT16_MAX), INT16_MIN) macro
74 CLIP(d1); in RENAME()
84 #undef CLIP
/third_party/gstreamer/gstplugins_good/gst/law/
Dmulaw-conversion.c32 #define CLIP 32635 macro
69 if (((guint16) sample) > CLIP) in mulaw_encode()
70 sample = CLIP; /* clip the magnitude */ in mulaw_encode()
/third_party/pulseaudio/src/pulsecore/
Dg711.c161 #define CLIP 8159 macro
216 if ( pcm_val > CLIP ) pcm_val = CLIP; /* clip the magnitude */ in st_14linear2ulaw()
/third_party/pixman/pixman/
Dpixman-bits-image.c217 satot = CLIP (satot, 0, 0xff); in reduce_32()
218 srtot = CLIP (srtot, 0, 0xff); in reduce_32()
219 sgtot = CLIP (sgtot, 0, 0xff); in reduce_32()
220 sbtot = CLIP (sbtot, 0, 0xff); in reduce_32()
243 ret->a = CLIP (satot / 65536.f, 0.f, 1.f); in reduce_float()
244 ret->r = CLIP (srtot / 65536.f, 0.f, 1.f); in reduce_float()
245 ret->g = CLIP (sgtot / 65536.f, 0.f, 1.f); in reduce_float()
246 ret->b = CLIP (sbtot / 65536.f, 0.f, 1.f); in reduce_float()
Dpixman-fast-path.c2834 satot = CLIP (satot, 0, 0xff); in bits_image_fetch_separable_convolution_affine()
2835 srtot = CLIP (srtot, 0, 0xff); in bits_image_fetch_separable_convolution_affine()
2836 sgtot = CLIP (sgtot, 0, 0xff); in bits_image_fetch_separable_convolution_affine()
2837 sbtot = CLIP (sbtot, 0, 0xff); in bits_image_fetch_separable_convolution_affine()
Dpixman-private.h931 #define CLIP(v, low, high) ((v) < (low) ? (low) : ((v) > (high) ? (high) : (v))) macro
Dpixman-inlines.h73 *c = CLIP (*c, 0, size - 1); in repeat()
/third_party/ffmpeg/libavfilter/
Dvf_curves.c217 #define CLIP(v) (nbits == 8 ? av_clip_uint8(v) : av_clip_uintp2_c(v, nbits)) macro
240 y[i] = CLIP(point->y * scale); in interpolate()
298 y[i] = CLIP(point->y * scale); in interpolate()
322 y[x] = CLIP(yy * scale); in interpolate()
332 y[i] = CLIP(point->y * scale); in interpolate()
/third_party/libpng/contrib/gregbook/
Drpng2-win.c136 #define CLIP(a,min,max) MAX(min,MIN((a),max)) macro
994 angle = CLIP(angle, 0.0, 360.0);
995 grayspot = CLIP(bg[pat].bg_gray, 1, (hh + hw));
Drpng2-x.c143 #define CLIP(a,min,max) MAX(min,MIN((a),max)) macro
1246 angle = CLIP(angle, 0.0, 360.0); in rpng2_x_load_bg_image()
1247 grayspot = CLIP(bg[pat].bg_gray, 1, (hh + hw)); in rpng2_x_load_bg_image()
2014 angle = CLIP(angle, 0.0, 360.0); in rpng2_x_reload_bg_image()
2015 grayspot = CLIP(bg[pat].bg_gray, 1, (hh + hw)); in rpng2_x_reload_bg_image()
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
Drpng2-win.c136 #define CLIP(a,min,max) MAX(min,MIN((a),max)) macro
994 angle = CLIP(angle, 0.0, 360.0);
995 grayspot = CLIP(bg[pat].bg_gray, 1, (hh + hw));
Drpng2-x.c143 #define CLIP(a,min,max) MAX(min,MIN((a),max)) macro
1246 angle = CLIP(angle, 0.0, 360.0); in rpng2_x_load_bg_image()
1247 grayspot = CLIP(bg[pat].bg_gray, 1, (hh + hw)); in rpng2_x_load_bg_image()
2014 angle = CLIP(angle, 0.0, 360.0); in rpng2_x_reload_bg_image()
2015 grayspot = CLIP(bg[pat].bg_gray, 1, (hh + hw)); in rpng2_x_reload_bg_image()
/third_party/python/Modules/
Daudioop.c53 #define CLIP 32635 macro
167 if ( pcm_val > CLIP ) pcm_val = CLIP; /* clip the magnitude */ in st_14linear2ulaw()
/third_party/mesa3d/src/mesa/program/
Dprogram_lexer.l246 {dot}clip { return_token_or_DOT(require_ARB_vp, CLIP); }
Dprogram_parse.y182 %token CLIP COLOR
1443 stateClipPlaneItem: CLIP '[' stateClipPlaneNum ']' PLANE
/third_party/ffmpeg/libavcodec/mips/
Dh264qpel_mmi.c107 #define op2_avg(a, b) a = (((a)+CLIP(((b) + 512)>>10)+1)>>1)
108 #define op2_put(a, b) a = CLIP(((b) + 512)>>10)
/third_party/python/Lib/test/
Dtest_enum.py398 CLIP = 2 variable in TestEnum.test_comparisons.Part
403 Season.SPRING < Part.CLIP
/third_party/mesa3d/docs/
Denvvars.rst258 emit messages about the clip unit (for old gens, includes the CLIP
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_vertex_program2.txt407 CLIP PLANEi where i is an integer between 0 and n; specifying a value of i
409 CLIP PLANEi = CLIP PLANE0 + i.

12