/dports/x11/mlterm/mlterm-3.9.1/common/ |
H A D | c_sixel.c | 153 if (new_stride < cur_stride) { in realloc_pixels_intern() 172 memmove((dst += new_stride), (src += cur_stride), new_stride); in realloc_pixels_intern() 179 else if (new_stride == cur_stride && new_height < cur_height) { in realloc_pixels_intern() 185 if (new_stride > (SSIZE_MAX - CARD_HEAD_SIZE) / new_height) { in realloc_pixels_intern() 190 if (new_stride == cur_stride /* && new_height > cur_height */) { in realloc_pixels_intern() 193 cur_stride, cur_height, new_stride, new_height); in realloc_pixels_intern() 208 } else if (new_stride * new_height <= cur_stride * cur_height) { in realloc_pixels_intern() 213 cur_stride, cur_height, new_stride, new_height); in realloc_pixels_intern() 217 dst = (*pixels) + n_copy_rows * new_stride; in realloc_pixels_intern() 220 memset((dst -= new_stride) + cur_stride, 0, new_stride - cur_stride); in realloc_pixels_intern() [all …]
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/imgref-1.4.3/src/ |
H A D | lib.rs | 245 Self::new_stride(buf, width, height, stride) in sub_image() 290 ImgRefMut::new_stride(buf, width, height, stride) in sub_image_mut() 399 Img::new_stride(buf, width, height, self.stride) in sub_image_mut() 493 Self::new_stride(buf, width, height, width) in new() 549 let old = Img::new_stride(bytes, 10,2,10); in with_vec() 556 let mut img = Img::new_stride(bytes,0,0,1); in zero() 565 let mut img = Img::new_stride(bytes,0,1,1); in zero_width() 573 let mut img = Img::new_stride(bytes,1,0,1); in zero_height() 583 let _ = Img::new_stride(bytes.as_slice(), 10,2,10); in with_slice() 584 let vec = ImgVec::new_stride(bytes, 10,2,10); in with_slice() [all …]
|
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/imgref-1.9.1/benches/ |
H A D | iterbench.rs | 9 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in iter_count() 18 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in iter_sum() 27 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in stride_ignorant_sum() 36 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in chunked_sum()
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/imgref-1.4.3/benches/ |
H A D | iterbench.rs | 9 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in iter_count() 18 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in iter_sum() 27 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in stride_ignorant_sum() 36 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in chunked_sum()
|
/dports/graphics/gifski/gifski-1.5.0/cargo-crates/imgref-1.9.1/benches/ |
H A D | iterbench.rs | 9 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in iter_count() 18 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in iter_sum() 27 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in stride_ignorant_sum() 36 let img = Img::new_stride(vec![0x11223344u32; 802*600], 800, 600, 802); in chunked_sum()
|
/dports/net/tigervnc-viewer/tigervnc-1.12.0/win/rfb_win32/ |
H A D | DIBSectionBuffer.cxx | 119 int new_stride; in initBuffer() local 131 new_stride = w; in initBuffer() 132 int bytesPerRow = new_stride * format.bpp/8; in initBuffer() 135 new_stride = (bytesPerRow * 8) / format.bpp; in initBuffer() 136 vlog.info("adjusting DIB stride: %d to %d", w, new_stride); in initBuffer() 139 setBuffer(w, h, new_data, new_stride); in initBuffer()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/win/rfb_win32/ |
H A D | DIBSectionBuffer.cxx | 119 int new_stride; in initBuffer() local 131 new_stride = w; in initBuffer() 132 int bytesPerRow = new_stride * format.bpp/8; in initBuffer() 135 new_stride = (bytesPerRow * 8) / format.bpp; in initBuffer() 136 vlog.info("adjusting DIB stride: %d to %d", w, new_stride); in initBuffer() 139 setBuffer(w, h, new_data, new_stride); in initBuffer()
|
/dports/math/py-claripy/claripy-9.0.5405/claripy/vsa/ |
H A D | strided_interval.py | 1200 new_stride = 0 1202 new_stride = 1 2106 new_stride = 0 2823 new_stride = b.stride 3152 … self._modular_sub(self.upper_bound, lb, self.bits) // new_stride * new_stride, 3172 self._modular_sub(b.upper_bound, lb, self.bits) // new_stride * new_stride, 3246 … self._modular_sub(self.upper_bound, lb, self.bits) // new_stride * new_stride, 3265 self._modular_sub(b.upper_bound, lb, self.bits) // new_stride * new_stride, 3285 self._modular_sub(b.upper_bound, lb, self.bits) // new_stride * new_stride, 3305 … self._modular_sub(self.upper_bound, lb, self.bits) // new_stride * new_stride, [all …]
|
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/imgref-1.9.1/src/ |
H A D | lib.rs | 306 Self::new_stride(buf, width, height, stride) in sub_image() 373 ImgRefMut::new_stride(buf, width, height, stride) in sub_image_mut() 490 Img::new_stride(buf, width, height, self.stride) in sub_image_mut() 582 Self::new_stride(buf, width, height, width) in new() 722 let old = Img::new_stride(bytes, 10,2,10); in with_vec() 729 let mut img = Img::new_stride(bytes,0,0,1); in zero() 738 let mut img = Img::new_stride(bytes,0,1,1); in zero_width() 746 let mut img = Img::new_stride(bytes,1,0,1); in zero_height() 756 let _ = Img::new_stride(bytes.as_slice(), 10,2,10); in with_slice() 757 let vec = ImgVec::new_stride(bytes, 10,2,10); in with_slice() [all …]
|
/dports/graphics/gifski/gifski-1.5.0/cargo-crates/imgref-1.9.1/src/ |
H A D | lib.rs | 306 Self::new_stride(buf, width, height, stride) in sub_image() 373 ImgRefMut::new_stride(buf, width, height, stride) in sub_image_mut() 490 Img::new_stride(buf, width, height, self.stride) in sub_image_mut() 582 Self::new_stride(buf, width, height, width) in new() 722 let old = Img::new_stride(bytes, 10,2,10); in with_vec() 729 let mut img = Img::new_stride(bytes,0,0,1); in zero() 738 let mut img = Img::new_stride(bytes,0,1,1); in zero_width() 746 let mut img = Img::new_stride(bytes,1,0,1); in zero_height() 756 let _ = Img::new_stride(bytes.as_slice(), 10,2,10); in with_slice() 757 let vec = ImgVec::new_stride(bytes, 10,2,10); in with_slice() [all …]
|
H A D | ops.rs | 54 let mut img = Img::new_stride(vec![1,2,3,4,5,6,7,8], 2, 2, 3); in index() 109 let mut img = Img::new_stride(vec![1,2,3,4,5,6,7,8], 2, 2, 3); in index_by_row()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/python/tvm/topi/testing/ |
H A D | strided_slice_python.py | 53 new_stride = None 55 new_stride = strides[i] 68 slices.append(slice(new_begin, new_end, new_stride))
|
/dports/graphics/opencv/opencv-4.5.3/modules/dnn/src/vkcom/shader/ |
H A D | permute.comp | 20 int new_stride[]; 38 old_pos += (new_pos / new_stride[j]) * old_stride[order]; 39 new_pos %= new_stride[j];
|
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/src/fmv/codecs/ |
H A D | escape124.c | 210 unsigned old_stride, new_stride; in escape124_decode_frame() local 281 new_stride = s->line_bytes / 2; in escape124_decode_frame() 301 copy_superblock(new_frame_data, new_stride, in escape124_decode_frame() 357 copy_superblock(new_frame_data, new_stride, sb.pixels, 8); in escape124_decode_frame() 366 new_frame_data += new_stride * 8 - superblocks_per_row * 8; in escape124_decode_frame() 379 uint16_t *px = (uint16_t*)s->buff1 + i * new_stride; in escape124_decode_frame()
|
/dports/multimedia/kvazaar/kvazaar-2.1.0/src/strategies/generic/ |
H A D | sao-generic.c | 88 int new_stride, in sao_reconstruct_color_generic() argument 101 new_rec_data[y * new_stride + x] = offsets[rec_data[y * stride + x]]; in sao_reconstruct_color_generic() 112 kvz_pixel *new_data = &new_rec_data[y * new_stride + x]; in sao_reconstruct_color_generic()
|
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/ |
H A D | escape124.c | 222 unsigned old_stride, new_stride; in escape124_decode_frame() local 282 new_stride = new_frame.linesize[0] / 2; in escape124_decode_frame() 299 copy_superblock(new_frame_data, new_stride, in escape124_decode_frame() 343 copy_superblock(new_frame_data, new_stride, sb.pixels, 8); in escape124_decode_frame() 351 new_frame_data += new_stride * 8 - superblocks_per_row * 8; in escape124_decode_frame()
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | escape124.c | 215 unsigned old_stride, new_stride; in escape124_decode_frame() local 290 new_stride = frame->linesize[0] / 2; in escape124_decode_frame() 307 copy_superblock(new_frame_data, new_stride, in escape124_decode_frame() 349 copy_superblock(new_frame_data, new_stride, sb.pixels, 8); in escape124_decode_frame() 357 new_frame_data += new_stride * 8 - superblocks_per_row * 8; in escape124_decode_frame()
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/ |
H A D | escape124.c | 215 unsigned old_stride, new_stride; in escape124_decode_frame() local 277 new_stride = frame->linesize[0] / 2; in escape124_decode_frame() 294 copy_superblock(new_frame_data, new_stride, in escape124_decode_frame() 336 copy_superblock(new_frame_data, new_stride, sb.pixels, 8); in escape124_decode_frame() 344 new_frame_data += new_stride * 8 - superblocks_per_row * 8; in escape124_decode_frame()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/ |
H A D | escape124.c | 215 unsigned old_stride, new_stride; in escape124_decode_frame() local 290 new_stride = frame->linesize[0] / 2; in escape124_decode_frame() 307 copy_superblock(new_frame_data, new_stride, in escape124_decode_frame() 349 copy_superblock(new_frame_data, new_stride, sb.pixels, 8); in escape124_decode_frame() 357 new_frame_data += new_stride * 8 - superblocks_per_row * 8; in escape124_decode_frame()
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/ |
H A D | escape124.c | 215 unsigned old_stride, new_stride; in escape124_decode_frame() local 290 new_stride = frame->linesize[0] / 2; in escape124_decode_frame() 307 copy_superblock(new_frame_data, new_stride, in escape124_decode_frame() 349 copy_superblock(new_frame_data, new_stride, sb.pixels, 8); in escape124_decode_frame() 357 new_frame_data += new_stride * 8 - superblocks_per_row * 8; in escape124_decode_frame()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ |
H A D | escape124.c | 215 unsigned old_stride, new_stride; in escape124_decode_frame() local 290 new_stride = frame->linesize[0] / 2; in escape124_decode_frame() 307 copy_superblock(new_frame_data, new_stride, in escape124_decode_frame() 349 copy_superblock(new_frame_data, new_stride, sb.pixels, 8); in escape124_decode_frame() 357 new_frame_data += new_stride * 8 - superblocks_per_row * 8; in escape124_decode_frame()
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/ |
H A D | escape124.c | 215 unsigned old_stride, new_stride; in escape124_decode_frame() local 277 new_stride = frame->linesize[0] / 2; in escape124_decode_frame() 294 copy_superblock(new_frame_data, new_stride, in escape124_decode_frame() 336 copy_superblock(new_frame_data, new_stride, sb.pixels, 8); in escape124_decode_frame() 344 new_frame_data += new_stride * 8 - superblocks_per_row * 8; in escape124_decode_frame()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/ |
H A D | escape124.c | 215 unsigned old_stride, new_stride; in escape124_decode_frame() local 290 new_stride = frame->linesize[0] / 2; in escape124_decode_frame() 307 copy_superblock(new_frame_data, new_stride, in escape124_decode_frame() 349 copy_superblock(new_frame_data, new_stride, sb.pixels, 8); in escape124_decode_frame() 357 new_frame_data += new_stride * 8 - superblocks_per_row * 8; in escape124_decode_frame()
|
/dports/multimedia/transcode/transcode-1.1.7/libtcvideo/ |
H A D | zoom.c | 39 int new_stride; /* Bytes per line (new image) */ member 416 int old_stride, int new_stride, TCVZoomFilter filter) in zoom_init() argument 423 || old_stride <= 0 || new_stride <= 0) in zoom_init() 438 zi->new_stride = new_stride; in zoom_init() 631 to_stride = zi->new_stride; in zoom_process()
|
/dports/multimedia/kvazaar/kvazaar-2.1.0/src/strategies/avx2/ |
H A D | sao-avx2.c | 628 int32_t new_stride, in reconstruct_color_band() argument 651 const uint32_t curr_dstpos = y * new_stride + x; in reconstruct_color_band() 659 const uint32_t curr_dstpos = y * new_stride + x; in reconstruct_color_band() 661 const uint32_t rest_dstpos = y * new_stride + width_db4; in reconstruct_color_band() 715 int32_t new_stride, in reconstruct_color_other() argument 745 const uint32_t dst_pos = y * new_stride + x; in reconstruct_color_other() 769 const uint32_t curr_dstpos = y * new_stride + x; in reconstruct_color_other() 770 const uint32_t rest_dstpos = y * new_stride + width_db4; in reconstruct_color_other() 804 int32_t new_stride, in sao_reconstruct_color_avx2() argument 810 …reconstruct_color_band (encoder, rec_data, new_rec_data, sao, stride, new_stride, block_width, blo… in sao_reconstruct_color_avx2() [all …]
|