Home
last modified time | relevance | path

Searched refs:__MIN (Results 1 – 25 of 159) sorted by relevance

1234567

/dports/devel/libowfat/libowfat-0.32/test/
H A Drange.c9 assert(__MIN(signed char)==-128); in check_minmax()
11 assert(__MIN(unsigned char)==0); in check_minmax()
14 assert(__MIN(short)==SHRT_MIN); in check_minmax()
16 assert(__MIN(unsigned short)==0); in check_minmax()
19 assert(__MIN(int)==INT_MIN); in check_minmax()
21 assert(__MIN(unsigned int)==0); in check_minmax()
24 assert(__MIN(long)==LONG_MIN); in check_minmax()
26 assert(__MIN(unsigned long)==0); in check_minmax()
30 assert(__MIN(long long)==LLONG_MIN); in check_minmax()
32 assert(__MIN(unsigned long long)==0); in check_minmax()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/
H A Dvobsub.h33 y = (uint8_t) __MIN(abs(r * 2104 + g * 4130 + b * 802 + 4096 + 131072) >> 13, 235); in vobsub_palette_rgb2yuv()
34 u = (uint8_t) __MIN(abs(r * -1214 + g * -2384 + b * 3598 + 4096 + 1048576) >> 13, 240); in vobsub_palette_rgb2yuv()
35 v = (uint8_t) __MIN(abs(r * 3598 + g * -3013 + b * -585 + 4096 + 1048576) >> 13, 240); in vobsub_palette_rgb2yuv()
/dports/devel/libowfat/libowfat-0.32/
H A Drangecheck.h145 #define __MIN(type) ((type)-1 < 1?__MIN_SIGNED(type):(type)0) macro
146 #define __MAX(type) ((type)~__MIN(type))
160 #define add_of(c,a,b) ({ typeof(a) __a=a; typeof(b) __b=b; (__b)<1?((__MIN(typeof(a+b))-(__b)<=(__a…
162 …b) __b=b; (__b)<1?((__MAX(typeof(a+b))+__b>=__a)?assign(c,__a-__b):1) : ((__MIN(typeof(c))+__b<=__…
/dports/multimedia/vlc/vlc-3.0.16/modules/video_chroma/
H A Dcopy.c469 const size_t copy_pitch = __MIN(src_pitch, dst_pitch); in SSE_CopyPlane()
472 const unsigned cache_width = __MIN(src_pitch, cache_size); in SSE_CopyPlane()
480 const unsigned hblock = __MIN(hstep, height - y); in SSE_CopyPlane()
502 size_t copy_pitch = __MIN(dst_pitch / 2, srcu_pitch); in SSE_InterleavePlanes()
536 size_t copy_pitch = __MIN(__MIN(src_pitch / 2, dstu_pitch), dstv_pitch); in SSE_SplitPlanes()
539 const unsigned cache_width = __MIN(src_pitch, cache_size); in SSE_SplitPlanes()
543 const unsigned hblock = __MIN(hstep, height - y); in SSE_SplitPlanes()
620 const size_t copy_pitch = __MIN(src_pitch, dst_pitch); in CopyPlane()
685 size_t copy_pitch = __MIN(__MIN(src_pitch / pitch_den, dstu_pitch), dstv_pitch); \
698 size_t copy_pitch = __MIN(__MIN(src_pitch / pitch_den, dstu_pitch), dstv_pitch); \
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/asf/
H A Dasf.c332 p_sys->i_wait_keyframe = __MIN( i_maxwaittime, UINT_MAX ); in WaitKeyframe()
357 __MIN( INT64_MAX, p_sys->i_data_end ), in SeekPercent()
358 __MIN( INT64_MAX, p_sys->i_bitrate ), in SeekPercent()
520 __MIN( INT64_MAX, p_sys->i_data_end ), in Control()
521 __MIN( INT64_MAX, p_sys->i_bitrate ), in Control()
560 __MIN( INT64_MAX, p_sys->i_data_begin ), in Control()
561 __MIN( INT64_MAX, p_sys->i_data_end), in Control()
562 __MIN( INT64_MAX, p_sys->i_bitrate ), in Control()
968 GET_CHECKED( fmt.i_extra, __MIN( GetWLE( &p_data[16] ), in DemuxInit()
1014 GET_CHECKED( fmt.i_extra, __MIN( GetDWLE( p_data ), in DemuxInit()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/video_filter/
H A Dscale.c146 + (__MIN( i_src_height_1, l >> SHIFT_SIZE )*i_src_pitch); in Filter()
150 *p_dst = p_srcl[__MIN( i_src_width_1, k >> SHIFT_SIZE )]; in Filter()
191 + (__MIN( i_src_height_1, l >> SHIFT_SIZE )*(i_src_pitch>>2)); in Filter()
194 *p_dst = p_srcl[__MIN( i_src_width_1, k >> SHIFT_SIZE )]; in Filter()
H A Dgaussianblur.c230 y <= __MIN( i_dim, i_visible_lines - i_line - 1 ); in Filter()
234 x <= __MIN( i_dim, i_visible_pitch - i_col + 1 ); in Filter()
267 x <= __MIN( i_dim, (i_visible_pitch - i_col)*(x_factor+1) + 1 ); in Filter()
283 y <= __MIN( i_dim, (i_visible_lines - i_line)*(y_factor+1) - 1 ); in Filter()
H A Dmagnify.c153 const unsigned i_width = __MIN( p_dst->i_visible_pitch, in plane_CopyVisiblePixels()
155 const unsigned i_height = __MIN( p_dst->i_visible_lines, in plane_CopyVisiblePixels()
277 v_w = __MIN( fmt_out.i_visible_width * ZOOM_FACTOR / o_zoom, fmt_out.i_visible_width - 1 ); in Filter()
278 … v_h = __MIN( fmt_out.i_visible_height * ZOOM_FACTOR / o_zoom, fmt_out.i_visible_height - 1 ); in Filter()
H A Derase.c275 i_height = __MIN( i_visible_lines - i_y, i_height ); in FilterErase()
276 i_width = __MIN( i_visible_pitch - i_x, i_width ); in FilterErase()
386 i_height = __MIN( i_visible_lines - i_y - 2, i_height ); in FilterErase()
H A Dpuzzle_pce.c264 …ps_piece->i_min_x = __MIN( __MIN( ps_piece->i_TLx, ps_piece->i_TRx ), __MIN( ps_piece->i_BLx, ps_p… in puzzle_calculate_corners()
266 …ps_piece->i_min_y = __MIN( __MIN( ps_piece->i_TLy, ps_piece->i_TRy ), __MIN( ps_piece->i_BLy, ps_p… in puzzle_calculate_corners()
678 f_min_curve_y = __MIN(0,floor(f_min_curve_y)); in puzzle_generate_sect_bezier()
679 f_min_curve_x = __MIN(0,floor(f_min_curve_x)); in puzzle_generate_sect_bezier()
709 *f_min_curve_x = __MIN(*f_min_curve_x,bezier_val(ps_pt,f_sub_t,i_main_t,x) * f_x_ratio); in puzzle_get_min_bezier()
710 *f_min_curve_y = __MIN(*f_min_curve_y,bezier_val(ps_pt,f_sub_t,i_main_t,y) * f_y_ratio); in puzzle_get_min_bezier()
H A Dmotiondetect.c498 if( __MAX( color_x_min[i], color_x_min[j] ) < __MIN( color_x_max[i], color_x_max[j] ) && in FindShapes()
499 __MAX( color_y_min[i], color_y_min[j] ) < __MIN( color_y_max[i], color_y_max[j] ) ) in FindShapes()
501 color_x_min[i] = __MIN( color_x_min[i], color_x_min[j] ); in FindShapes()
503 color_y_min[i] = __MIN( color_y_min[i], color_y_min[j] ); in FindShapes()
/dports/multimedia/vlc/vlc-3.0.16/src/video_output/
H A Dvideo_widgets.c101 const int w = b_swap ? __MAX(x1 - h, x2) : __MIN(x1 + h, x2); in DrawTriangle()
161 uint8_t i_padding = __MIN(1, size * 0.25); /* small sizes */ in OSDSlider()
168 x = __MIN(fmt->i_x_offset + margin, fmt->i_visible_width - width); in OSDSlider()
174 y = __MIN(fmt->i_y_offset + margin, fmt->i_visible_height - height); in OSDSlider()
222 __MIN(y, (int)fmt->i_visible_height - height), in OSDIcon()
246 DrawRect(r, STYLE_FILLED, COL_FILL, y1, y1, __MIN(y1 + delta, width - 1), y1); in OSDIcon()
/dports/multimedia/vlc/vlc-3.0.16/modules/stream_filter/
H A Dcache_read.c117 __MIN(sys->i_used, STREAM_CACHE_TRACK_SIZE - in AStreamRefillStream()
136 i_read = __MIN(i_toread, STREAM_CACHE_TRACK_SIZE - i_off); in AStreamRefillStream()
202 i_read = __MIN((int)sys->i_read_size, i_read); in AStreamPrebufferStream()
262 size_t i_current = __MIN(tk->i_end - tk->i_start - sys->i_offset, in AStreamReadStream()
264 ssize_t i_copy = __MIN(i_current, len); in AStreamReadStream()
401 const int i_read_max = __MIN(10 * STREAM_READ_ATONCE, i_skip); in AStreamSeekStream()
/dports/multimedia/vlc/vlc-3.0.16/modules/text_renderer/freetype/
H A Dfreetype.h166 p_max->xMin = __MIN(p_max->xMin, p->xMin); in BBoxEnlarge()
167 p_max->yMin = __MIN(p_max->yMin, p->yMin); in BBoxEnlarge()
/dports/multimedia/vlc/vlc-3.0.16/include/
H A Dvlc_block_helper.h167 size_t i_copy = __MIN( i_size, p_block->i_buffer - i_offset ); in block_PeekBytes()
198 i_copy = __MIN( i_size, p_block->i_buffer - i_offset ); in block_GetBytes()
246 i_copy = __MIN( i_size, p_block->i_buffer - i_offset ); in block_PeekOffsetBytes()
259 i_copy = __MIN( i_size, p_block->i_buffer - i_offset ); in block_PeekOffsetBytes()
/dports/multimedia/vlc/vlc-3.0.16/modules/stream_out/
H A Drtpfmt.c721 int i_payload = __MIN( i_max, i_data ); in rtp_packetize_xiph_config()
775 int i_payload = __MIN( i_max, i_data ); in rtp_packetize_xiph()
831 int i_payload = __MIN( i_max, i_data ); in rtp_packetize_mpa()
909 int i_payload = __MIN( i_max, i_data ); in rtp_packetize_mpv()
951 int i_payload = __MIN( i_max, i_data ); in rtp_packetize_ac3()
1000 int i_payload = __MIN( i_max, i_data ); in rtp_packetize_split()
1097 int i_payload = __MIN( i_max, i_data ); in rtp_packetize_mp4a_latm()
1148 int i_payload = __MIN( i_max, i_data ); in rtp_packetize_mp4a()
1210 int i_payload = __MIN( i_max, i_data ); in rtp_packetize_h263()
1417 int i_payload = __MIN( i_max, i_data ); in rtp_packetize_amr()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/gui/skins2/src/
H A Dft2_font.cpp205 yMin = __MIN( yMin, glyph.m_size.yMin ); in drawString()
257 yMin = __MIN( yMin, m_descender ); in drawString()
260 FT2Bitmap *pBmp = new FT2Bitmap( getIntf(), __MIN( width1, width2 ), in drawString()
/dports/multimedia/vlc/vlc-3.0.16/modules/codec/
H A Dvpx.c266 int size = __MIN( src_stride, dst_stride ); in Decode()
314 .threads = __MIN(vlc_GetCPUCount(), 16) in OpenDecoder()
410 enccfg.g_threads = __MIN(vlc_GetCPUCount(), 4); in OpenEncoder()
469 int size = __MIN(src_stride, dst_stride); in Encode()
/dports/math/py-python-louvain/python-louvain-0.15/community/
H A Dcommunity_louvain.py24 __MIN = 0.0000001 variable
363 if new_mod - mod < __MIN:
504 if new_mod - cur_mod < __MIN:
/dports/multimedia/vlc/vlc-3.0.16/modules/gui/skins2/controls/
H A Dctrl_list.cpp443 int rectHeight = __MIN( itemHeight, height - yPos ); in makeImage()
462 int rectHeight = __MIN( itemHeight, height - yPos ); in makeImage()
498 int lineHeight = __MIN( pText->getHeight() - ySrc, height - yPos ); in makeImage()
H A Dctrl_tree.cpp603 int rectHeight = __MIN( i_itemHeight, height - yPos ); in makeImage()
616 int rectHeight = __MIN( i_itemHeight, height - yPos ); in makeImage()
665 __MIN( m_pCurBitmap->getHeight(), in makeImage()
681 int lineHeight = __MIN( pText->getHeight() - ySrc, height - yPos ); in makeImage()
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/smooth/playlist/
H A DMemoryChunk.cpp66 toread = __MIN(data->i_buffer - i_read, toread); in read()
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/avi/
H A Dlibavi.c529 __MIN( i_extrasize / sizeof(uint32_t), in AVI_ChunkRead_strf()
535 __MIN( VIDEO_PALETTE_COLORS_MAX, p_bih->biClrUsed ); in AVI_ChunkRead_strf()
599 i_count = __MIN( (int64_t)p_chk->common.i_chunk_size, i_read ) / 16; in AVI_ChunkRead_idx1()
661 i_count = __MIN( p_indx->i_entriesinuse, i_read / 8 ); in AVI_ChunkRead_indx()
679 i_count = __MIN( p_indx->i_entriesinuse, i_read / 12 ); in AVI_ChunkRead_indx()
700 i_count = __MIN( p_indx->i_entriesinuse, i_read / 16 ); in AVI_ChunkRead_indx()
749 for( unsigned i = 0; i < __MIN( p_vprp->i_nb_fields_per_frame, 2 ); i++ ) in AVI_ChunkRead_vprp()
/dports/multimedia/vlc/vlc-3.0.16/modules/video_filter/deinterlace/
H A Dcommon.h41 #define FFMIN(a,b) __MIN(a,b)
/dports/multimedia/vlc/vlc-3.0.16/modules/mux/mpeg/
H A Dtsutil.c51 int i_copy = __MIN( i_size, 184 ); in PEStoTS()

1234567