/dports/games/flightgear-data/fgdata/Shaders/ |
H A D | grass-ALS.frag | 52 …2D(in float x, in float y, in float dDensity, in float layer, in float d_factor, in float h_factor) 64 hfact *= h_factor; 83 …oord, in float wavelength, in float dDensity, in float layer, in float d_factor, in float h_factor) 85 return bladeNoise2D(coord.x/wavelength, coord.y/wavelength, dDensity, layer, d_factor, h_factor); 127 float h_factor; 131 … {h_factor = grass_modulate_height_min + (1.0 - grass_modulate_height_min) * (1.0 - overlay_mix) ;} 133 {h_factor = 1.0;} 141 float bladeFlag = BladeNoise2D(texCoord, 0.015, grass_density, g_layer, d_factor, h_factor); 142 …groups >1) {bladeFlag += BladeNoise2D(texCoord, 0.01, grass_density, g_layer, d_factor, h_factor);} 143 …roups >2) {bladeFlag += BladeNoise2D(texCoord, 0.007, grass_density, g_layer, d_factor, h_factor);}
|
/dports/games/flightgear-data/fgdata/Compositor/Shaders/ALS/ |
H A D | grass.frag | 57 …2D(in float x, in float y, in float dDensity, in float layer, in float d_factor, in float h_factor) 69 hfact *= h_factor; 88 …oord, in float wavelength, in float dDensity, in float layer, in float d_factor, in float h_factor) 90 return bladeNoise2D(coord.x/wavelength, coord.y/wavelength, dDensity, layer, d_factor, h_factor); 132 float h_factor; 136 … {h_factor = grass_modulate_height_min + (1.0 - grass_modulate_height_min) * (1.0 - overlay_mix) ;} 138 {h_factor = 1.0;} 146 float bladeFlag = BladeNoise2D(texCoord, 0.015, grass_density, g_layer, d_factor, h_factor); 147 …groups >1) {bladeFlag += BladeNoise2D(texCoord, 0.01, grass_density, g_layer, d_factor, h_factor);} 148 …roups >2) {bladeFlag += BladeNoise2D(texCoord, 0.007, grass_density, g_layer, d_factor, h_factor);}
|
/dports/science/chrono/chrono-7.0.1/src/chrono_sensor/optix/shaders/ |
H A D | camera.cu | 37 const float h_factor = camera.hFOV / CUDART_PI_F * 2.0; in __raygen__camera_pinhole() local 43 float3 ray_direction = normalize(forward - d.x * left * h_factor + d.y * up * h_factor); in __raygen__camera_pinhole() 95 const float h_factor = camera.hFOV / CUDART_PI_F * 2.0; in __raygen__camera_fov_lens() local 101 float3 ray_direction = normalize(forward - d.x * left * h_factor + d.y * up * h_factor); in __raygen__camera_fov_lens() 144 const float h_factor = camera.hFOV / CUDART_PI_F * 2.0; in __raygen__segmentation_pinhole() local 150 float3 ray_direction = normalize(forward - d.x * left * h_factor + d.y * up * h_factor); in __raygen__segmentation_pinhole() 189 const float h_factor = camera.hFOV / CUDART_PI_F * 2.0; in __raygen__segmentation_fov_lens() local 195 float3 ray_direction = normalize(forward - d.x * left * h_factor + d.y * up * h_factor); in __raygen__segmentation_fov_lens()
|
/dports/security/libfprint/libfprint-0.7.0/libfprint/ |
H A D | pixman.c | 26 struct fp_img *fpi_im_resize(struct fp_img *img, unsigned int w_factor, unsigned int h_factor) in fpi_im_resize() argument 29 int new_height = img->height * h_factor; in fpi_im_resize() 38 …an_transform_scale(NULL, &transform, pixman_int_to_fixed(w_factor), pixman_int_to_fixed(h_factor)); in fpi_im_resize()
|
/dports/multimedia/gstreamermm/gstreamermm-1.10.0/gstreamer/gstreamermm/ |
H A D | videochroma.cc | 50 Gst::VideoChromaFlags flags, Gst::VideoFormat format, gint h_factor, gint v_factor) in VideoChromaResample() argument 54 static_cast<GstVideoFormat>(format), h_factor, v_factor); in VideoChromaResample()
|
/dports/net/wireshark/wireshark-3.6.1/ui/qt/ |
H A D | lte_rlc_graph_dialog.cpp | 413 double h_factor = rp->axisRect()->rangeZoomFactor(Qt::Horizontal); in zoomAxes() local 417 h_factor = pow(h_factor, -1); in zoomAxes() 434 rp->xAxis->scaleRange(h_factor, rp->xAxis->range().center()); in zoomAxes() 442 double h_factor = rp->axisRect()->rangeZoomFactor(Qt::Horizontal); in zoomXAxis() local 445 h_factor = pow(h_factor, -1); in zoomXAxis() 448 rp->xAxis->scaleRange(h_factor, rp->xAxis->range().center()); in zoomXAxis()
|
/dports/net/wireshark-lite/wireshark-3.6.1/ui/qt/ |
H A D | lte_rlc_graph_dialog.cpp | 413 double h_factor = rp->axisRect()->rangeZoomFactor(Qt::Horizontal); in zoomAxes() local 417 h_factor = pow(h_factor, -1); in zoomAxes() 434 rp->xAxis->scaleRange(h_factor, rp->xAxis->range().center()); in zoomAxes() 442 double h_factor = rp->axisRect()->rangeZoomFactor(Qt::Horizontal); in zoomXAxis() local 445 h_factor = pow(h_factor, -1); in zoomXAxis() 448 rp->xAxis->scaleRange(h_factor, rp->xAxis->range().center()); in zoomXAxis()
|
/dports/net/tshark-lite/wireshark-3.6.1/ui/qt/ |
H A D | lte_rlc_graph_dialog.cpp | 413 double h_factor = rp->axisRect()->rangeZoomFactor(Qt::Horizontal); in zoomAxes() local 417 h_factor = pow(h_factor, -1); in zoomAxes() 434 rp->xAxis->scaleRange(h_factor, rp->xAxis->range().center()); in zoomAxes() 442 double h_factor = rp->axisRect()->rangeZoomFactor(Qt::Horizontal); in zoomXAxis() local 445 h_factor = pow(h_factor, -1); in zoomXAxis() 448 rp->xAxis->scaleRange(h_factor, rp->xAxis->range().center()); in zoomXAxis()
|
/dports/net/tshark/wireshark-3.6.1/ui/qt/ |
H A D | lte_rlc_graph_dialog.cpp | 413 double h_factor = rp->axisRect()->rangeZoomFactor(Qt::Horizontal); in zoomAxes() local 417 h_factor = pow(h_factor, -1); in zoomAxes() 434 rp->xAxis->scaleRange(h_factor, rp->xAxis->range().center()); in zoomAxes() 442 double h_factor = rp->axisRect()->rangeZoomFactor(Qt::Horizontal); in zoomXAxis() local 445 h_factor = pow(h_factor, -1); in zoomXAxis() 448 rp->xAxis->scaleRange(h_factor, rp->xAxis->range().center()); in zoomXAxis()
|
/dports/multimedia/gstreamermm/gstreamermm-1.10.0/gstreamer/src/ |
H A D | videochroma.ccg | 41 Gst::VideoChromaFlags flags, Gst::VideoFormat format, gint h_factor, gint v_factor) 45 static_cast<GstVideoFormat>(format), h_factor, v_factor);
|
/dports/multimedia/gstreamer1-plugins-theora/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video-chroma.c | 123 gint h_factor, v_factor; member 948 GstVideoFormat format, gint h_factor, gint v_factor) in gst_video_chroma_resample_new() argument 954 if (h_factor == 0 && v_factor == 0) in gst_video_chroma_resample_new() 965 if (h_factor == 0) in gst_video_chroma_resample_new() 969 ((ABS (h_factor) - 1) * 8) + (cosite ? 4 : 0) + (bits == in gst_video_chroma_resample_new() 970 16 ? 2 : 0) + (h_factor < 0 ? 1 : 0) + 1; in gst_video_chroma_resample_new() 972 GST_DEBUG ("h_resample %d, factor %d, cosite %d", h_index, h_factor, cosite); in gst_video_chroma_resample_new() 992 result->h_factor = h_factor; in gst_video_chroma_resample_new()
|
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video-chroma.c | 123 gint h_factor, v_factor; member 948 GstVideoFormat format, gint h_factor, gint v_factor) in gst_video_chroma_resample_new() argument 954 if (h_factor == 0 && v_factor == 0) in gst_video_chroma_resample_new() 965 if (h_factor == 0) in gst_video_chroma_resample_new() 969 ((ABS (h_factor) - 1) * 8) + (cosite ? 4 : 0) + (bits == in gst_video_chroma_resample_new() 970 16 ? 2 : 0) + (h_factor < 0 ? 1 : 0) + 1; in gst_video_chroma_resample_new() 972 GST_DEBUG ("h_resample %d, factor %d, cosite %d", h_index, h_factor, cosite); in gst_video_chroma_resample_new() 992 result->h_factor = h_factor; in gst_video_chroma_resample_new()
|
H A D | video-chroma.h | 97 gint h_factor, gint v_factor);
|
/dports/audio/gstreamer1-plugins-vorbis/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video-chroma.c | 123 gint h_factor, v_factor; member 948 GstVideoFormat format, gint h_factor, gint v_factor) in gst_video_chroma_resample_new() argument 954 if (h_factor == 0 && v_factor == 0) in gst_video_chroma_resample_new() 965 if (h_factor == 0) in gst_video_chroma_resample_new() 969 ((ABS (h_factor) - 1) * 8) + (cosite ? 4 : 0) + (bits == in gst_video_chroma_resample_new() 970 16 ? 2 : 0) + (h_factor < 0 ? 1 : 0) + 1; in gst_video_chroma_resample_new() 972 GST_DEBUG ("h_resample %d, factor %d, cosite %d", h_index, h_factor, cosite); in gst_video_chroma_resample_new() 992 result->h_factor = h_factor; in gst_video_chroma_resample_new()
|
H A D | video-chroma.h | 97 gint h_factor, gint v_factor);
|
/dports/audio/gstreamer1-plugins-opus/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video-chroma.c | 123 gint h_factor, v_factor; member 948 GstVideoFormat format, gint h_factor, gint v_factor) in gst_video_chroma_resample_new() argument 954 if (h_factor == 0 && v_factor == 0) in gst_video_chroma_resample_new() 965 if (h_factor == 0) in gst_video_chroma_resample_new() 969 ((ABS (h_factor) - 1) * 8) + (cosite ? 4 : 0) + (bits == in gst_video_chroma_resample_new() 970 16 ? 2 : 0) + (h_factor < 0 ? 1 : 0) + 1; in gst_video_chroma_resample_new() 972 GST_DEBUG ("h_resample %d, factor %d, cosite %d", h_index, h_factor, cosite); in gst_video_chroma_resample_new() 992 result->h_factor = h_factor; in gst_video_chroma_resample_new()
|
H A D | video-chroma.h | 97 gint h_factor, gint v_factor);
|
/dports/audio/gstreamer1-plugins-ogg/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video-chroma.c | 123 gint h_factor, v_factor; member 948 GstVideoFormat format, gint h_factor, gint v_factor) in gst_video_chroma_resample_new() argument 954 if (h_factor == 0 && v_factor == 0) in gst_video_chroma_resample_new() 965 if (h_factor == 0) in gst_video_chroma_resample_new() 969 ((ABS (h_factor) - 1) * 8) + (cosite ? 4 : 0) + (bits == in gst_video_chroma_resample_new() 970 16 ? 2 : 0) + (h_factor < 0 ? 1 : 0) + 1; in gst_video_chroma_resample_new() 972 GST_DEBUG ("h_resample %d, factor %d, cosite %d", h_index, h_factor, cosite); in gst_video_chroma_resample_new() 992 result->h_factor = h_factor; in gst_video_chroma_resample_new()
|
H A D | video-chroma.h | 97 gint h_factor, gint v_factor);
|
/dports/audio/gstreamer1-plugins-cdparanoia/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video-chroma.c | 123 gint h_factor, v_factor; member 948 GstVideoFormat format, gint h_factor, gint v_factor) in gst_video_chroma_resample_new() argument 954 if (h_factor == 0 && v_factor == 0) in gst_video_chroma_resample_new() 965 if (h_factor == 0) in gst_video_chroma_resample_new() 969 ((ABS (h_factor) - 1) * 8) + (cosite ? 4 : 0) + (bits == in gst_video_chroma_resample_new() 970 16 ? 2 : 0) + (h_factor < 0 ? 1 : 0) + 1; in gst_video_chroma_resample_new() 972 GST_DEBUG ("h_resample %d, factor %d, cosite %d", h_index, h_factor, cosite); in gst_video_chroma_resample_new() 992 result->h_factor = h_factor; in gst_video_chroma_resample_new()
|
/dports/x11-toolkits/gstreamer1-plugins-pango/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video-chroma.c | 123 gint h_factor, v_factor; member 948 GstVideoFormat format, gint h_factor, gint v_factor) in gst_video_chroma_resample_new() argument 954 if (h_factor == 0 && v_factor == 0) in gst_video_chroma_resample_new() 965 if (h_factor == 0) in gst_video_chroma_resample_new() 969 ((ABS (h_factor) - 1) * 8) + (cosite ? 4 : 0) + (bits == in gst_video_chroma_resample_new() 970 16 ? 2 : 0) + (h_factor < 0 ? 1 : 0) + 1; in gst_video_chroma_resample_new() 972 GST_DEBUG ("h_resample %d, factor %d, cosite %d", h_index, h_factor, cosite); in gst_video_chroma_resample_new() 992 result->h_factor = h_factor; in gst_video_chroma_resample_new()
|
/dports/graphics/gstreamer1-plugins-libvisual/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video-chroma.c | 123 gint h_factor, v_factor; member 948 GstVideoFormat format, gint h_factor, gint v_factor) in gst_video_chroma_resample_new() argument 954 if (h_factor == 0 && v_factor == 0) in gst_video_chroma_resample_new() 965 if (h_factor == 0) in gst_video_chroma_resample_new() 969 ((ABS (h_factor) - 1) * 8) + (cosite ? 4 : 0) + (bits == in gst_video_chroma_resample_new() 970 16 ? 2 : 0) + (h_factor < 0 ? 1 : 0) + 1; in gst_video_chroma_resample_new() 972 GST_DEBUG ("h_resample %d, factor %d, cosite %d", h_index, h_factor, cosite); in gst_video_chroma_resample_new() 992 result->h_factor = h_factor; in gst_video_chroma_resample_new()
|
/dports/graphics/gstreamer1-plugins-gl/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video-chroma.c | 123 gint h_factor, v_factor; member 948 GstVideoFormat format, gint h_factor, gint v_factor) in gst_video_chroma_resample_new() argument 954 if (h_factor == 0 && v_factor == 0) in gst_video_chroma_resample_new() 965 if (h_factor == 0) in gst_video_chroma_resample_new() 969 ((ABS (h_factor) - 1) * 8) + (cosite ? 4 : 0) + (bits == in gst_video_chroma_resample_new() 970 16 ? 2 : 0) + (h_factor < 0 ? 1 : 0) + 1; in gst_video_chroma_resample_new() 972 GST_DEBUG ("h_resample %d, factor %d, cosite %d", h_index, h_factor, cosite); in gst_video_chroma_resample_new() 992 result->h_factor = h_factor; in gst_video_chroma_resample_new()
|
/dports/x11/gstreamer1-plugins-x/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video-chroma.c | 123 gint h_factor, v_factor; member 948 GstVideoFormat format, gint h_factor, gint v_factor) in gst_video_chroma_resample_new() argument 954 if (h_factor == 0 && v_factor == 0) in gst_video_chroma_resample_new() 965 if (h_factor == 0) in gst_video_chroma_resample_new() 969 ((ABS (h_factor) - 1) * 8) + (cosite ? 4 : 0) + (bits == in gst_video_chroma_resample_new() 970 16 ? 2 : 0) + (h_factor < 0 ? 1 : 0) + 1; in gst_video_chroma_resample_new() 972 GST_DEBUG ("h_resample %d, factor %d, cosite %d", h_index, h_factor, cosite); in gst_video_chroma_resample_new() 992 result->h_factor = h_factor; in gst_video_chroma_resample_new()
|
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/ |
H A D | v_video.c | 736 int w_factor, h_factor; in WritePNGfile() local 743 h_factor = 6; in WritePNGfile() 746 height *= h_factor; in WritePNGfile() 751 h_factor = 1; in WritePNGfile() 815 for (j = 0; j < h_factor; j++) in WritePNGfile()
|