Searched refs:av_clip_uint16 (Results 1 – 12 of 12) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | vf_removegrain.c | 155 const int c1 = av_clip_uint16((FFABS(c - cli1) << 1) + d1); in mode06() 156 const int c2 = av_clip_uint16((FFABS(c - cli2) << 1) + d2); in mode06() 157 const int c3 = av_clip_uint16((FFABS(c - cli3) << 1) + d3); in mode06() 158 const int c4 = av_clip_uint16((FFABS(c - cli4) << 1) + d4); in mode06() 219 const int c1 = av_clip_uint16(FFABS(c - cli1) + (d1 << 1)); in mode08() 220 const int c2 = av_clip_uint16(FFABS(c - cli2) + (d2 << 1)); in mode08() 221 const int c3 = av_clip_uint16(FFABS(c - cli3) + (d3 << 1)); in mode08() 222 const int c4 = av_clip_uint16(FFABS(c - cli4) + (d4 << 1)); in mode08()
|
D | vf_colorchannelmixer.c | 354 dst[j + roffset] = av_clip_uint16(s->lut[R][R][rin] + in filter_slice_rgba16_packed() 358 dst[j + goffset] = av_clip_uint16(s->lut[G][R][rin] + in filter_slice_rgba16_packed() 362 dst[j + boffset] = av_clip_uint16(s->lut[B][R][rin] + in filter_slice_rgba16_packed() 367 dst[j + aoffset] = av_clip_uint16(s->lut[A][R][rin] + in filter_slice_rgba16_packed()
|
D | vf_blend.c | 340 DEFINE_BLEND16(grainmerge, av_clip_uint16(A + B - 32768), 16) in DEFINE_BLEND8() 344 DEFINE_BLEND16(multiply128, av_clip_uint16((A - 32768) * B / 8192. + 32768), 16) in DEFINE_BLEND8() 348 DEFINE_BLEND16(grainextract, av_clip_uint16(32768 + A - B), 16) in DEFINE_BLEND8() 357 DEFINE_BLEND16(divide, av_clip_uint16(B == 0 ? 65535 : 65535 * A / B), 16) in DEFINE_BLEND8() 370 DEFINE_BLEND16(linearlight,av_clip_uint16((B < 32768) ? B + 2 * A - 65535 : B + 2 * (A - 32768)), 1… in DEFINE_BLEND8()
|
D | vf_colorlevels.c | 164 dst[x + offset] = av_clip_uint16((src[x + offset] - imin) * coeff + omin); in colorlevel_slice_16()
|
D | vf_fade.c | 486 s->factor = av_clip_uint16(s->factor); in filter_frame()
|
/third_party/ffmpeg/libavutil/arm/ |
D | intmath.h | 49 #define av_clip_uint16 av_clip_uint16_arm macro
|
/third_party/ffmpeg/libavutil/ |
D | common.h | 558 #ifndef av_clip_uint16 559 # define av_clip_uint16 av_clip_uint16_c macro
|
/third_party/ffmpeg/libswscale/ |
D | input.c | 972 dst[i] = av_clip_uint16(lrintf(65535.0f * rdpx(src[3] + i))); in planar_rgbf32_to_a() 987 int g = av_clip_uint16(lrintf(65535.0f * rdpx(src[0] + i))); in planar_rgbf32_to_uv() 988 int b = av_clip_uint16(lrintf(65535.0f * rdpx(src[1] + i))); in planar_rgbf32_to_uv() 989 int r = av_clip_uint16(lrintf(65535.0f * rdpx(src[2] + i))); in planar_rgbf32_to_uv() 1006 int g = av_clip_uint16(lrintf(65535.0f * rdpx(src[0] + i))); in planar_rgbf32_to_y() 1007 int b = av_clip_uint16(lrintf(65535.0f * rdpx(src[1] + i))); in planar_rgbf32_to_y() 1008 int r = av_clip_uint16(lrintf(65535.0f * rdpx(src[2] + i))); in planar_rgbf32_to_y() 1024 dst[i] = av_clip_uint16(lrintf(65535.0f * src[i])); in grayf32ToY16_c() 1036 dst[i] = av_clip_uint16(lrintf(65535.0f * av_int2float(av_bswap32(src[i])))); in grayf32ToY16_bswap_c()
|
D | output.c | 915 Y = av_clip_uint16(Y); in yuv2ya16_X_c_template() 924 A = av_clip_uint16(A); in yuv2ya16_X_c_template() 952 Y = av_clip_uint16(Y); in yuv2ya16_2_c_template() 956 A = av_clip_uint16(A); in yuv2ya16_2_c_template() 977 Y = av_clip_uint16(Y); in yuv2ya16_1_c_template() 982 A = av_clip_uint16(A); in yuv2ya16_1_c_template()
|
/third_party/ffmpeg/libavformat/ |
D | gif.c | 88 gif->duration = av_clip_uint16(new->pts - prev->pts); in gif_get_delay()
|
/third_party/ffmpeg/libavcodec/ |
D | vorbisdec.c | 1307 floor1_Y_final[i] = av_clip_uint16(val - lowroom + predicted); in vorbis_floor1_decode() 1309 floor1_Y_final[i] = av_clip_uint16(predicted - val + highroom - 1); in vorbis_floor1_decode() 1313 floor1_Y_final[i] = av_clip_uint16(predicted - (val + 1) / 2); in vorbis_floor1_decode() 1315 floor1_Y_final[i] = av_clip_uint16(predicted + val / 2); in vorbis_floor1_decode() 1320 floor1_Y_final[i] = av_clip_uint16(predicted); in vorbis_floor1_decode()
|
D | vc1dec.c | 193 alpha = av_clip_uint16(sd->coefs[1][6]); in vc1_draw_sprites()
|