Go to the source code of this file.
Defines | |
| #define | CLIP(x, y, z) ((x) < (y) ? (y) : ((x) > (z) ? (z) : (x))) |
| #define | RECLIP(x, y, z) ((x) = ((x) < (y) ? (y) : ((x) > (z) ? (z) : (x)))) |
| #define | CLAMP(x, y, z) ((x) = ((x) < (y) ? (y) : ((x) > (z) ? (z) : (x)))) |
| #define | MAX(x, y) ((x) > (y) ? (x) : (y)) |
| #define | MIN(x, y) ((x) < (y) ? (x) : (y)) |
| #define | EQUIV(x, y) (fabs((x) - (y)) < 0.001) |
| #define | DISTANCE(x1, y1, x2, y2) (sqrt(((x2) - (x1)) * ((x2) - (x1)) + ((y2) - (y1)) * ((y2) - (y1)))) |
| #define CLAMP | ( | x, | |||
| y, | |||||
| z | ) | ((x) = ((x) < (y) ? (y) : ((x) > (z) ? (z) : (x)))) |
| #define CLIP | ( | x, | |||
| y, | |||||
| z | ) | ((x) < (y) ? (y) : ((x) > (z) ? (z) : (x))) |
| #define DISTANCE | ( | x1, | |||
| y1, | |||||
| x2, | |||||
| y2 | ) | (sqrt(((x2) - (x1)) * ((x2) - (x1)) + ((y2) - (y1)) * ((y2) - (y1)))) |
Definition at line 12 of file clip.h.
Referenced by PerspectiveCanvas::button_press_event(), AffineUnit::process_package(), and AffineEngine::rotate().
| #define EQUIV | ( | x, | |||
| y | ) | (fabs((x) - (y)) < 0.001) |
Definition at line 11 of file clip.h.
Referenced by FloatAutos::automation_is_constant(), HistogramMain::calculate_linear(), MWindow::clear(), Preferences::copy_rates_from(), AssetEditWindow::create_objects(), PackageDispatcher::create_packages(), VAutomation::direct_copy_possible(), MaskEngine::do_mask(), CWindowCanvas::do_mask(), YUVConfig::equivalent(), WhirlConfig::equivalent(), WaveConfig::equivalent(), UnsharpConfig::equivalent(), TranslateConfig::equivalent(), TitleConfig::equivalent(), TimeStretchConfig::equivalent(), TimeFrontConfig::equivalent(), ThresholdConfig::equivalent(), SynthOscillatorConfig::equivalent(), SvgConfig::equivalent(), SharpenConfig::equivalent(), RotateConfig::equivalent(), ReverbConfig::equivalent(), PolarConfig::equivalent(), PitchConfig::equivalent(), PerspectiveConfig::equivalent(), ParametricConfig::equivalent(), ParametricBand::equivalent(), OilConfig::equivalent(), MotionConfig::equivalent(), SoundLevelConfig::equivalent(), InterpolateVideoConfig::equivalent(), HueConfig::equivalent(), HistogramConfig::equivalent(), HistogramPoint::equivalent(), GradientConfig::equivalent(), GammaConfig::equivalent(), GainConfig::equivalent(), FreeverbConfig::equivalent(), DiffKeyConfig::equivalent(), DespikeConfig::equivalent(), DenoiseVideoConfig::equivalent(), DenoiseConfig::equivalent(), DelayVideoConfig::equivalent(), DelayAudioConfig::equivalent(), DecimateConfig::equivalent(), CompressorConfig::equivalent(), ChromaKeyConfig::equivalent(), ScaleConfig::equivalent(), PluginAClientConfig::equivalent(), InterpolateVideo::fill_border(), Decimate::fill_lookahead(), MWindow::fit_autos(), MWindow::fit_selection(), FrameCache::frame_exists(), ParametricEQ::gauss(), Preferences::get_avg_rate(), TimeBar::get_edl_length(), PackageDispatcher::get_package(), PackagingEngineDefault::get_package_single_farm(), TimeBar::get_preview_pixels(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), FloatAutos::get_value(), ZoomTumbler::handle_down_event(), TransitionLengthText::handle_event(), HueEffect::handle_opengl(), ZoomTumbler::handle_up_event(), FloatAuto::identical(), VModule::import_frame(), Track::insert_effect(), MWindow::load_filenames(), FileOGG::open_file(), FileMPEG::open_file(), AudioOutConfig::operator==(), MaskPoint::operator==(), OverlayFrame::overlay(), TitleMain::overlay_mask(), MWindow::overwrite(), MWindow::paste_edls(), PerspectiveMain::process_buffer(), HueEffect::process_buffer(), ColorBalanceMain::process_buffer(), ChromaKey::process_buffer(), BrightnessMain::process_buffer(), YUVEffect::process_realtime(), WhirlEffect::process_realtime(), WaveEffect::process_realtime(), Synth::process_realtime(), PolarEffect::process_realtime(), OilEffect::process_realtime(), RenderFarmClientThread::read_package(), VAttachmentPoint::render(), Render::render(), VirtualVNode::render_fade(), VirtualANode::render_pan(), TransportCommand::set_playback_range(), VWindowSlider::set_position(), CWindowCanvas::test_bezier(), CWindowCanvas::test_crop(), CWindowCanvas::test_zoom(), VWindowEditing::to_clip(), MWindow::to_clip(), RecordLabels::toggle_label(), Labels::toggle_label(), TimeBar::update_points(), CompressorWindow::update_textboxes(), RotateWindow::update_toggles(), and ZoomPanel::value_to_text().
| #define RECLIP | ( | x, | |||
| y, | |||||
| z | ) | ((x) = ((x) < (y) ? (y) : ((x) > (z) ? (z) : (x)))) |
Definition at line 7 of file clip.h.
Referenced by ZoomTumbler::handle_down_event(), and ZoomTumbler::handle_up_event().
1.5.5