Home
last modified time | relevance | path

Searched refs:ABSDIFF (Results 1 – 13 of 13) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiostreamalign.c347 #define ABSDIFF(a, b) ((a) > (b) ? (a) - (b) : (b) - (a)) macro
376 diff = ABSDIFF (start_offset, align->next_offset); in gst_audio_stream_align_process()
378 diff = ABSDIFF (end_offset, align->next_offset); in gst_audio_stream_align_process()
391 && ABSDIFF (start_time, in gst_audio_stream_align_process()
394 && ABSDIFF (end_time, in gst_audio_stream_align_process()
465 #undef ABSDIFF
/third_party/ffmpeg/libavcodec/
Dflashsv2enc.c422 #define ABSDIFF(a,b) (abs((int)(a)-(int)(b))) in chroma_diff() macro
427 return ABSDIFF(t1, t2) + ABSDIFF(c1 & 0x000000ff, c2 & 0x000000ff) + in chroma_diff()
428 ABSDIFF((c1 & 0x0000ff00) >> 8 , (c2 & 0x0000ff00) >> 8) + in chroma_diff()
429 ABSDIFF((c1 & 0x00ff0000) >> 16, (c2 & 0x00ff0000) >> 16); in chroma_diff()
/third_party/ffmpeg/libavfilter/
Dvf_hqx.c68 #define ABSDIFF(a,b) (abs((int)(a)-(int)(b))) in yuv_diff() macro
70 return ABSDIFF(yuv1 & YMASK, yuv2 & YMASK) > (48 << 16) || in yuv_diff()
71 ABSDIFF(yuv1 & UMASK, yuv2 & UMASK) > ( 7 << 8) || in yuv_diff()
72 ABSDIFF(yuv1 & VMASK, yuv2 & VMASK) > ( 6 << 0); in yuv_diff()
Dvf_xbr.c72 #define ABSDIFF(a,b) (abs((int)(a)-(int)(b))) in pixel_diff() macro
77 return (ABSDIFF(yuv1 & YMASK, yuv2 & YMASK) >> 16) + in pixel_diff()
78 (ABSDIFF(yuv1 & UMASK, yuv2 & UMASK) >> 8) + in pixel_diff()
79 ABSDIFF(yuv1 & VMASK, yuv2 & VMASK); in pixel_diff()
/third_party/gstreamer/gstplugins_base/gst/videorate/
Dgstvideorate.c1653 #ifndef ABSDIFF in gst_video_rate_transform_ip()
1654 #define ABSDIFF(a, b) (((a) > (b)) ? (a) - (b) : (b) - (a)) in gst_video_rate_transform_ip() macro
1689 diff1 = ABSDIFF (prev_endtime, next_end_ts); in gst_video_rate_transform_ip()
1690 diff2 = ABSDIFF (in_endtime, next_end_ts); in gst_video_rate_transform_ip()
1702 diff1 = ABSDIFF (prevtime, next_ts); in gst_video_rate_transform_ip()
1703 diff2 = ABSDIFF (intime, next_ts); in gst_video_rate_transform_ip()
/third_party/gstreamer/gstplugins_bad/sys/decklink/
Dgstdecklinkaudiosrc.cpp56 #ifndef ABSDIFF
57 #define ABSDIFF(x, y) ( (x) > (y) ? ((x) - (y)) : ((y) - (x)) ) macro
787 ABSDIFF (self->expected_stream_time, p.stream_timestamp) > in gst_decklink_audio_src_create()
793 gst_util_uint64_scale (ABSDIFF (self->expected_stream_time, in gst_decklink_audio_src_create()
Dgstdecklinkvideosrc.cpp153 #ifndef ABSDIFF
154 #define ABSDIFF(x, y) ( (x) > (y) ? ((x) - (y)) : ((y) - (x)) ) macro
1357 ABSDIFF (self->expected_stream_time, f.stream_timestamp) > 1) { in gst_decklink_video_src_create()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
Dmpegtspacketizer.c49 #define ABSDIFF(a,b) ((a) < (b) ? (b) - (a) : (a) - (b)) macro
1733 diffprev = (float) 100.0 *(ABSDIFF (prevbr, lastbr)) / (float) prevbr; in _reevaluate_group_pcr_offset()
2131 if (ABSDIFF (current->cur_bitrate, in record_pcr()
2285 ABSDIFF (res, pcrtable->last_pcrtime) > 15 * GST_SECOND)) in mpegts_packetizer_pts_to_ts()
2291 } else if (ABSDIFF (tmp + res + PCR_GST_MAX_VALUE, in mpegts_packetizer_pts_to_ts()
Dtsdemux.c93 #define ABSDIFF(a,b) (((a) > (b)) ? ((a) - (b)) : ((b) - (a))) macro
2438 ABSDIFF (stream->pts, stream->dts) > 5 * GST_SECOND) { in gst_ts_demux_record_pts()
/third_party/gstreamer/gstplugins_bad/gst/timecode/
Dgsttimecodestamper.c52 #define ABSDIFF(a,b) (((a) > (b)) ? ((a) - (b)) : ((b) - (a))) macro
1449 if (ABSDIFF (running_time, ltc_tc->running_time) <= frame_duration / 2) { in gst_timecodestamper_transform_ip()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dgstqtmux.c95 #ifndef ABSDIFF
96 #define ABSDIFF(a, b) ((a) > (b) ? (a) - (b) : (b) - (a)) macro
4929 || ABSDIFF (sample_entry->delta, scaled_duration) > 1 in gst_qt_mux_register_and_push_sample()
5333 if (ABSDIFF (GST_BUFFER_DTS_OR_PTS (last_buf), in gst_qt_mux_add_buffer()
Dqtdemux.c106 #define ABSDIFF(x, y) ( (x) > (y) ? ((x) - (y)) : ((y) - (x)) ) macro
3422 && ABSDIFF (decode_ts, timestamp) > in qtdemux_parse_trun()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbaseparse.c201 #define ABSDIFF(a,b) (((a) > (b)) ? ((a) - (b)) : ((b) - (a))) macro
1984 ABSDIFF (parse->priv->avg_bitrate, parse->priv->posted_avg_bitrate), in gst_base_parse_update_bitrates()