/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/transpose-0.2.1/src/ |
H A D | out_of_place.rs | 71 let x_block_count = input_width / BLOCK_SIZE; in transpose_tiled() 74 let remainder_x = input_width - x_block_count * BLOCK_SIZE; in transpose_tiled() 82 input_width, input_height, in transpose_tiled() 94 input_width, input_height, in transpose_tiled() 95 input_width - remainder_x, y_block * BLOCK_SIZE, in transpose_tiled() 107 input_width, input_height, in transpose_tiled() 119 input_width, input_height, in transpose_tiled() 231 assert_eq!(input_width*input_height, input.len()); in transpose() 232 assert_eq!(input_width*input_height, output.len()); in transpose() 237 transpose_tiled(input, output, input_width, input_height); in transpose() [all …]
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/transpose-0.2.1/src/ |
H A D | out_of_place.rs | 71 let x_block_count = input_width / BLOCK_SIZE; in transpose_tiled() 74 let remainder_x = input_width - x_block_count * BLOCK_SIZE; in transpose_tiled() 82 input_width, input_height, in transpose_tiled() 94 input_width, input_height, in transpose_tiled() 95 input_width - remainder_x, y_block * BLOCK_SIZE, in transpose_tiled() 107 input_width, input_height, in transpose_tiled() 119 input_width, input_height, in transpose_tiled() 231 assert_eq!(input_width*input_height, input.len()); in transpose() 232 assert_eq!(input_width*input_height, output.len()); in transpose() 237 transpose_tiled(input, output, input_width, input_height); in transpose() [all …]
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/transpose-0.1.0/src/ |
H A D | lib.rs | 73 pub fn transpose<T: Copy>(input: &[T], output: &mut [T], input_width: usize, input_height: usize) { in transpose() 74 assert_eq!(input_width*input_height, input.len()); in transpose() 75 assert_eq!(input_width*input_height, output.len()); in transpose() 77 let x_block_count = input_width / BLOCK_SIZE; in transpose() 80 let remainder_x = input_width - x_block_count * BLOCK_SIZE; in transpose() 88 input_width, input_height, in transpose() 100 input_width, input_height, in transpose() 101 input_width - remainder_x, y_block * BLOCK_SIZE, in transpose() 113 input_width, input_height, in transpose() 125 input_width, input_height, in transpose() [all …]
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/video_coding/codecs/vp9/ |
H A D | svc_config.cc | 34 std::vector<SpatialLayer> ConfigureSvcScreenSharing(size_t input_width, in ConfigureSvcScreenSharing() argument 44 spatial_layer.width = input_width; in ConfigureSvcScreenSharing() 62 std::vector<SpatialLayer> ConfigureSvcNormalVideo(size_t input_width, in ConfigureSvcNormalVideo() argument 74 std::log2(1.0f * input_width / kMinVp9SpatialLayerWidth)))); in ConfigureSvcNormalVideo() 92 input_width = input_width - input_width % required_divisiblity; in ConfigureSvcNormalVideo() 98 spatial_layer.width = input_width >> (num_spatial_layers - sl_idx - 1); in ConfigureSvcNormalVideo() 140 std::vector<SpatialLayer> GetSvcConfig(size_t input_width, in GetSvcConfig() argument 147 RTC_DCHECK_GT(input_width, 0); in GetSvcConfig() 153 return ConfigureSvcScreenSharing(input_width, input_height, in GetSvcConfig() 156 return ConfigureSvcNormalVideo(input_width, input_height, max_framerate_fps, in GetSvcConfig()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/video_coding/codecs/vp9/ |
H A D | svc_config.cc | 34 std::vector<SpatialLayer> ConfigureSvcScreenSharing(size_t input_width, in ConfigureSvcScreenSharing() argument 44 spatial_layer.width = input_width; in ConfigureSvcScreenSharing() 62 std::vector<SpatialLayer> ConfigureSvcNormalVideo(size_t input_width, in ConfigureSvcNormalVideo() argument 74 std::log2(1.0f * input_width / kMinVp9SpatialLayerWidth)))); in ConfigureSvcNormalVideo() 92 input_width = input_width - input_width % required_divisiblity; in ConfigureSvcNormalVideo() 98 spatial_layer.width = input_width >> (num_spatial_layers - sl_idx - 1); in ConfigureSvcNormalVideo() 140 std::vector<SpatialLayer> GetSvcConfig(size_t input_width, in GetSvcConfig() argument 147 RTC_DCHECK_GT(input_width, 0); in GetSvcConfig() 153 return ConfigureSvcScreenSharing(input_width, input_height, in GetSvcConfig() 156 return ConfigureSvcNormalVideo(input_width, input_height, max_framerate_fps, in GetSvcConfig()
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/video_coding/codecs/vp9/ |
H A D | svc_config.cc | 34 std::vector<SpatialLayer> ConfigureSvcScreenSharing(size_t input_width, in ConfigureSvcScreenSharing() argument 44 spatial_layer.width = input_width; in ConfigureSvcScreenSharing() 62 std::vector<SpatialLayer> ConfigureSvcNormalVideo(size_t input_width, in ConfigureSvcNormalVideo() argument 74 std::log2(1.0f * input_width / kMinVp9SpatialLayerWidth)))); in ConfigureSvcNormalVideo() 92 input_width = input_width - input_width % required_divisiblity; in ConfigureSvcNormalVideo() 98 spatial_layer.width = input_width >> (num_spatial_layers - sl_idx - 1); in ConfigureSvcNormalVideo() 140 std::vector<SpatialLayer> GetSvcConfig(size_t input_width, in GetSvcConfig() argument 147 RTC_DCHECK_GT(input_width, 0); in GetSvcConfig() 153 return ConfigureSvcScreenSharing(input_width, input_height, in GetSvcConfig() 156 return ConfigureSvcNormalVideo(input_width, input_height, max_framerate_fps, in GetSvcConfig()
|
/dports/multimedia/termplay/termplay-2.0.6/cargo-crates/jpeg-decoder-0.1.18/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 140 input_width: usize, in upsample_row() 148 if input_width == 1 { in upsample_row() 157 for i in 1 .. input_width - 1 { in upsample_row() 163 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 164 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 194 input_width: usize, in upsample_row() 208 if input_width == 1 { in upsample_row() 218 for i in 1 .. input_width { in upsample_row() 234 input_width: usize, in upsample_row() [all …]
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/jpeg-decoder-0.1.22/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 138 input_width: usize, in upsample_row() 146 if input_width == 1 { in upsample_row() 155 for i in 1 .. input_width - 1 { in upsample_row() 161 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 162 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 192 input_width: usize, in upsample_row() 206 if input_width == 1 { in upsample_row() 216 for i in 1 .. input_width { in upsample_row() 232 input_width: usize, in upsample_row() [all …]
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/jpeg-decoder-0.1.15/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 140 input_width: usize, in upsample_row() 148 if input_width == 1 { in upsample_row() 157 for i in 1 .. input_width - 1 { in upsample_row() 163 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 164 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 194 input_width: usize, in upsample_row() 208 if input_width == 1 { in upsample_row() 218 for i in 1 .. input_width { in upsample_row() 234 input_width: usize, in upsample_row() [all …]
|
/dports/security/gpg-tui/gpg-tui-0.8.2/cargo-crates/jpeg-decoder-0.1.22/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 138 input_width: usize, in upsample_row() 146 if input_width == 1 { in upsample_row() 155 for i in 1 .. input_width - 1 { in upsample_row() 161 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 162 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 192 input_width: usize, in upsample_row() 206 if input_width == 1 { in upsample_row() 216 for i in 1 .. input_width { in upsample_row() 232 input_width: usize, in upsample_row() [all …]
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/jpeg-decoder-0.1.15/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 140 input_width: usize, in upsample_row() 148 if input_width == 1 { in upsample_row() 157 for i in 1 .. input_width - 1 { in upsample_row() 163 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 164 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 194 input_width: usize, in upsample_row() 208 if input_width == 1 { in upsample_row() 218 for i in 1 .. input_width { in upsample_row() 234 input_width: usize, in upsample_row() [all …]
|
/dports/misc/broot/broot-1.7.0/cargo-crates/jpeg-decoder-0.1.22/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 138 input_width: usize, in upsample_row() 146 if input_width == 1 { in upsample_row() 155 for i in 1 .. input_width - 1 { in upsample_row() 161 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 162 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 192 input_width: usize, in upsample_row() 206 if input_width == 1 { in upsample_row() 216 for i in 1 .. input_width { in upsample_row() 232 input_width: usize, in upsample_row() [all …]
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/jpeg-decoder-0.1.22/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 138 input_width: usize, in upsample_row() 146 if input_width == 1 { in upsample_row() 155 for i in 1 .. input_width - 1 { in upsample_row() 161 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 162 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 192 input_width: usize, in upsample_row() 206 if input_width == 1 { in upsample_row() 216 for i in 1 .. input_width { in upsample_row() 232 input_width: usize, in upsample_row() [all …]
|
/dports/www/zola/zola-0.15.2/cargo-crates/jpeg-decoder-0.1.22/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 138 input_width: usize, in upsample_row() 146 if input_width == 1 { in upsample_row() 155 for i in 1 .. input_width - 1 { in upsample_row() 161 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 162 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 192 input_width: usize, in upsample_row() 206 if input_width == 1 { in upsample_row() 216 for i in 1 .. input_width { in upsample_row() 232 input_width: usize, in upsample_row() [all …]
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/jpeg-decoder-0.1.18/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 140 input_width: usize, in upsample_row() 148 if input_width == 1 { in upsample_row() 157 for i in 1 .. input_width - 1 { in upsample_row() 163 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 164 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 194 input_width: usize, in upsample_row() 208 if input_width == 1 { in upsample_row() 218 for i in 1 .. input_width { in upsample_row() 234 input_width: usize, in upsample_row() [all …]
|
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/jpeg-decoder-0.1.20/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 140 input_width: usize, in upsample_row() 148 if input_width == 1 { in upsample_row() 157 for i in 1 .. input_width - 1 { in upsample_row() 163 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 164 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 194 input_width: usize, in upsample_row() 208 if input_width == 1 { in upsample_row() 218 for i in 1 .. input_width { in upsample_row() 234 input_width: usize, in upsample_row() [all …]
|
/dports/graphics/viu/viu-1.1/cargo-crates/jpeg-decoder-0.1.20/src/ |
H A D | upsampler.rs | 112 input_width: usize, in upsample_row() 140 input_width: usize, in upsample_row() 148 if input_width == 1 { in upsample_row() 157 for i in 1 .. input_width - 1 { in upsample_row() 163 …output[(input_width - 1) * 2] = ((input[input_width - 1] as u32 * 3 + input[input_width - 2] as u3… in upsample_row() 164 output[(input_width - 1) * 2 + 1] = input[input_width - 1]; in upsample_row() 194 input_width: usize, in upsample_row() 208 if input_width == 1 { in upsample_row() 218 for i in 1 .. input_width { in upsample_row() 234 input_width: usize, in upsample_row() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/vp9/ |
H A D | svc_config.cc | 33 std::vector<SpatialLayer> ConfigureSvcScreenSharing(size_t input_width, in ConfigureSvcScreenSharing() argument 43 spatial_layer.width = input_width; in ConfigureSvcScreenSharing() 61 std::vector<SpatialLayer> ConfigureSvcNormalVideo(size_t input_width, in ConfigureSvcNormalVideo() argument 73 std::log2(1.0f * input_width / kMinVp9SpatialLayerWidth)))); in ConfigureSvcNormalVideo() 83 spatial_layer.width = input_width >> (num_spatial_layers - sl_idx - 1); in ConfigureSvcNormalVideo() 112 std::vector<SpatialLayer> GetSvcConfig(size_t input_width, in GetSvcConfig() argument 119 RTC_DCHECK_GT(input_width, 0); in GetSvcConfig() 125 return ConfigureSvcScreenSharing(input_width, input_height, in GetSvcConfig() 128 return ConfigureSvcNormalVideo(input_width, input_height, max_framerate_fps, in GetSvcConfig()
|
/dports/misc/mnn/MNN-1.2.0/source/backend/metal/ |
H A D | MetalConvolution.metal | 82 int input_width; 127 int dilation_h = cst.input_width * cst.dilation_y; 165 …auto in01 = (offset_x+1>=cst.input_width || offset_y<0) ? (ftype4)0.f : z_in[0*cst.input_width+1]; 166 …auto in02 = (offset_x+2>=cst.input_width || offset_y<0) ? (ftype4)0.f : z_in[0*cst.input_width+2]; 167 …auto in03 = (offset_x+3>=cst.input_width || offset_y<0) ? (ftype4)0.f : z_in[0*cst.input_width+3]; 170 …auto in11 = (offset_x+1>=cst.input_width || offset_y+1>=cst.input_height) ? (ftype4)0.f : z_in[1*… 171 …auto in12 = (offset_x+2>=cst.input_width || offset_y+1>=cst.input_height) ? (ftype4)0.f : z_in[1*… 172 …auto in13 = (offset_x+3>=cst.input_width || offset_y+1>=cst.input_height) ? (ftype4)0.f : z_in[1*… 175 …auto in21 = (offset_x+1>=cst.input_width || offset_y+2>=cst.input_height) ? (ftype4)0.f : z_in[2*… 176 …auto in22 = (offset_x+2>=cst.input_width || offset_y+2>=cst.input_height) ? (ftype4)0.f : z_in[2*… [all …]
|
/dports/graphics/movit/movit-1.6.3/ |
H A D | fft_convolution_effect.cpp | 19 : input_width(input_width), in FFTConvolutionEffect() 26 CHECK(crop_effect->set_int("width", input_width)); in FFTConvolutionEffect() 124 int max_x = next_power_of_two(input_width + pad_height); in rewrite_graph() 149 int num_horizontal_blocks = div_round_up(input_width, x_pixels_per_block); in rewrite_graph() 169 cost = input_width * output_height; in rewrite_graph() 173 cost += (ffs(y) - 1) * 3 * input_width * output_height; in rewrite_graph() 190 cost += input_width * output_height; in rewrite_graph() 193 cost += (ffs(y) - 1) * 3 * input_width * output_height; in rewrite_graph() 196 cost += input_width * input_height; in rewrite_graph() 208 cost += input_width * input_height; in rewrite_graph() [all …]
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/spandsp/src/ |
H A D | image_translate.c | 243 if (input_row_len != s->input_width*s->input_bytes_per_pixel) in get_and_scrunch_row() 275 image_gray8_to_colour8_row(buf, buf, s->input_width); in get_and_scrunch_row() 322 int input_width; in image_resize_row() local 349 input_width = s->input_width - 1; in image_resize_row() 376 width_scaling = (double) input_width/output_width; in image_resize_row() 388 x = i*256*input_width/output_width; in image_resize_row() 417 x = i*256*input_width/output_width; in image_resize_row() 446 x = i*256*input_width/output_width; in image_resize_row() 467 x = i*256*input_width/output_width; in image_resize_row() 703 raw_row_size = s->input_width*s->input_bytes_per_pixel; in image_translate_restart() [all …]
|
/dports/comms/spandsp/spandsp-284fe91/src/ |
H A D | image_translate.c | 243 if (input_row_len != s->input_width*s->input_bytes_per_pixel) in get_and_scrunch_row() 275 image_gray8_to_colour8_row(buf, buf, s->input_width); in get_and_scrunch_row() 322 int input_width; in image_resize_row() local 349 input_width = s->input_width - 1; in image_resize_row() 376 width_scaling = (double) input_width/output_width; in image_resize_row() 388 x = i*256*input_width/output_width; in image_resize_row() 417 x = i*256*input_width/output_width; in image_resize_row() 446 x = i*256*input_width/output_width; in image_resize_row() 467 x = i*256*input_width/output_width; in image_resize_row() 703 raw_row_size = s->input_width*s->input_bytes_per_pixel; in image_translate_restart() [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/io/include/pcl/io/openni_camera/ |
H A D | openni_image_rgb24.h | 70 …bool isResizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsi… 71 …inline static bool resizingSupported (unsigned input_width, unsigned input_height, unsigned output… 75 …ImageRGB24::resizingSupported (unsigned input_width, unsigned input_height, unsigned output_width,… in resizingSupported() argument 77 …return (output_width <= input_width && output_height <= input_height && input_width % output_width… in resizingSupported()
|
H A D | openni_image_yuv_422.h | 67 …bool isResizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsi… 70 …inline static bool resizingSupported (unsigned input_width, unsigned input_height, unsigned output… 74 …ImageYUV422::resizingSupported (unsigned input_width, unsigned input_height, unsigned output_width… in resizingSupported() argument 76 …return (output_width <= input_width && output_height <= input_height && input_width % output_width… in resizingSupported()
|
/dports/misc/mnn/MNN-1.2.0/source/backend/opencl/execution/cl/ |
H A D | interp_buf.cl | 20 __private const int input_width, 36 const int in_w_index = min(max(0, (int)floor(in_w_idx)), input_width-1); 38 … channelBlocks + output_channel_block_idx) * input_height + in_h_index) * input_width + in_w_index; 52 __private const int input_width, 68 const int in_w0_index = min(max(0, (int)floor(in_w_idx)), input_width-1); 70 const int in_w1_index = min(max(0, (int)floor(in_w_idx)+1), input_width-1); 76 const int inp_offset_00 = (inp_offset_base + in_h0_index) * input_width + in_w0_index; 77 const int inp_offset_01 = (inp_offset_base + in_h0_index) * input_width + in_w1_index; 78 const int inp_offset_10 = (inp_offset_base + in_h1_index) * input_width + in_w0_index; 79 const int inp_offset_11 = (inp_offset_base + in_h1_index) * input_width + in_w1_index;
|