Home
last modified time | relevance | path

Searched refs:srcimg (Results 1 – 25 of 146) sorted by relevance

123456

/dports/graphics/imageworsener/imageworsener-1.3.4/tests/
H A Druntest81 $IW srcimg/$f.png actual/png-${f}ns.png $DCMPR
223 $IW srcimg/rgb8a.png actual/pam1.pam -width 20
232 $IW srcimg/p4.png actual/dens-3ns.png $DCMPR
233 $IW srcimg/p4.png actual/dens-3ns.jpg
240 $IW srcimg/rgb8x2.png actual/dens-4ns.png -h 27
242 $IW srcimg/rgb8x2.png actual/dens-6ns.png
261 $IW srcimg/p8-sbit.png actual/sbit2.png $CMPR
277 $IW srcimg/p5t.gif actual/gif1.png $CMPR
289 $IW srcimg/256col.png actual/bkgdlabel10.png $CMPR
298 $IW srcimg/ani1.gif actual/gif2.png $CMPR -page 2
[all …]
/dports/graphics/photoflow/PhotoFlow-8472024f/src/operations/
H A Dclone.cc67 return srcimg; in build()
139 if( srcimg ) in Lab2grayscale()
225 if( srcimg ) in rgb2grayscale()
320 if( srcimg ) in rgb2rgb()
391 if( srcimg ) in rgb2maxrgb()
411 maxrgb->get_par()->rgb_image(srcimg->Xsize, srcimg->Ysize); in rgb2maxrgb()
439 if( srcimg ) in Lab2rgb()
532 if( srcimg ) in L2rgb()
587 if( srcimg ) in grey2rgb()
590 VipsImage* greyimg[3] = {srcimg, srcimg, srcimg}; in grey2rgb()
[all …]
H A Dblur_bilateral.cc77 if( srcimg ) in build()
106 return srcimg; in build()
114 srcimg->Xsize+extend_pad*2, srcimg->Ysize+extend_pad*2, in build()
118 return srcimg; in build()
224 srcimg->Xsize, srcimg->Ysize, NULL) ) { in build()
238 return srcimg; in build()
245 srcimg->Xsize, srcimg->Ysize, in build()
269 if( srcimg ) in build_()
298 srcimg->Xsize+padding*2, srcimg->Ysize+padding*2, in build_()
377 srcimg->Xsize, srcimg->Ysize, NULL) ) { in build_()
[all …]
H A Dcrop.cc71 VipsImage* srcimg = NULL; in build() local
72 if( in.size() > 0 ) srcimg = in[0]; in build()
73 if( srcimg == NULL ) return NULL; in build()
80 PF_REF( srcimg, "CropPar::build(): srcimg ref (editing mode)" ); in build()
81 return srcimg; in build()
91 PF_REF( srcimg, "CropPar::build(): srcimg ref (editing mode)" ); in build()
92 return srcimg; in build()
99 if( (cleft+cw) > srcimg->Xsize ) cw = srcimg->Xsize - cleft; in build()
100 if( (ctop+ch) > srcimg->Ysize ) ch = srcimg->Ysize - ctop; in build()
102 if( vips_crop( srcimg, &out, cleft, ctop, cw, ch, NULL ) ) { in build()
[all …]
H A Dscale.cc240 VipsImage* srcimg = NULL; in build() local
256 in_width = srcimg->Xsize; in build()
274 srcimg = flipped; in build()
284 srcimg = flipped; in build()
355 srcimg = out; in build()
406 return srcimg; in build()
431 return srcimg; in build()
441 return srcimg; in build()
449 return srcimg; in build()
466 return srcimg; in build()
[all …]
H A Dblur_bilateral_slow.cc78 VipsImage* srcimg = NULL; in build() local
79 if( in.size() > 0 ) srcimg = in[0]; in build()
81 VipsImage* out = srcimg; in build()
86 if( srcimg ) in build()
87 csin = PF::convert_colorspace( srcimg->Type ); in build()
97 srcimg->Xsize+padding*2, srcimg->Ysize+padding*2, in build()
118 srcimg->Xsize, srcimg->Ysize, NULL) ) { in build()
146 VipsImage* srcimg = NULL; in build() local
147 if( in.size() > 0 ) srcimg = in[0]; in build()
149 VipsImage* out = srcimg; in build()
[all …]
H A Dgaussblur.cc103 VipsImage* srcimg = NULL; in build() local
104 if( in.size() > 0 ) srcimg = in[0]; in build()
106 VipsImage* blurred = srcimg; in build()
144 if( vips_embed(srcimg, &extended, gpar->get_padding(), gpar->get_padding(), in build()
145 srcimg->Xsize+2*gpar->get_padding(), srcimg->Ysize+2*gpar->get_padding(), in build()
161 srcimg->Xsize, srcimg->Ysize, NULL) ) { in build()
175 if( srcimg ) { in build()
176 int size = (srcimg->Xsize > srcimg->Ysize) ? srcimg->Xsize : srcimg->Ysize; in build()
218 result = vips_convsep( srcimg, &tmp, mask, in build()
255 in2.push_back( srcimg ); in build()
H A Dimage_to_map.cc49 VipsImage* srcimg = in[0]; in build() local
50 if( !srcimg ) return NULL; in build()
51 profile = PF::get_icc_profile( srcimg ); in build()
56 PF_REF(srcimg, "ImageToMapPar::build(): srcimg ref when no profile data"); in build()
57 return srcimg; in build()
60 set_image_hints( srcimg ); in build()
61 grayscale_image( srcimg->Xsize, srcimg->Ysize ); in build()
H A Dwavdec.cc68 VipsImage* srcimg = in[0]; in build() local
73 int max_scales = wav_dec_par->get_maxScales(srcimg->Xsize, srcimg->Ysize); in build()
89 if( vips_embed(srcimg, &extended, padding, padding, in build()
90 srcimg->Xsize+padding*2, srcimg->Ysize+padding*2, in build()
114 srcimg->Xsize, srcimg->Ysize, NULL) ) { in build()
H A Dsplit_details.cc112 VipsImage* srcimg = NULL; in build_many() local
113 if( in.size() > 0 ) srcimg = in[0]; in build_many()
116 if( !srcimg ) return outvec; in build_many()
131 VipsImage* cached = srcimg; in build_many()
138 outvec.push_back(srcimg); in build_many()
149 in2.push_back( srcimg ); in build_many()
167 in2.push_back( srcimg ); in build_many()
295 VipsImage* srcimg = NULL; in build_many() local
299 if( !srcimg ) return outvec; in build_many()
302 VipsImage* prev_scale = srcimg; in build_many()
[all …]
H A Ddesaturate_luminance.cc61 VipsImage* srcimg = in[0]; in build() local
62 if( !srcimg ) return NULL; in build()
63 profile = PF::get_icc_profile( srcimg ); in build()
68 PF_REF(srcimg, "DesaturateLuminancePar::build(): srcimg ref when no profile data"); in build()
69 return srcimg; in build()
72 set_image_hints( srcimg ); in build()
H A Dblur_bilateral_splat.hh114 VipsImage* srcimg = NULL; in build() local
115 if( in.size() > 0 ) srcimg = in[0]; in build()
116 VipsImage* out = srcimg; in build()
123 dt_bilateral_init(srcimg->Xsize, srcimg->Ysize, ss, sr, 0); in build()
127 scale_x = static_cast<float>(dt_b->size_x) / srcimg->Xsize; in build()
128 scale_y = static_cast<float>(dt_b->size_y) / srcimg->Ysize; in build()
134 <<" in "<<(void*)srcimg<<" W="<<srcimg->Xsize<<", H="<<srcimg->Ysize<<std::endl in build()
175 VipsImage* srcimg = ireg[0]->im; in render() local
H A Dpadded_op.cc52 VipsImage* srcimg = in[0]; in build() local
75 srcimg->Xsize+padding2*2, srcimg->Ysize+padding2*2, in build()
104 <<" srcimg_size="<<srcimg->Xsize<<","<<srcimg->Ysize in build()
108 srcimg->Xsize, srcimg->Ysize, NULL) ) { in build()
/dports/graphics/exif/exif-0.6.22/test/
H A Dcheck-add-tags.sh9 readonly srcimg="add-tag-src.out.jpg"
30 mv -f "$dstimg" "$srcimg"
35 $EXIFEXE --create-exif --no-fixup -o "$srcimg" "$SRCDIR/testdata/no-exif.jpg"
54 $EXIFEXE --no-fixup --ifd=EXIF --tag=0xa401 --set-value='2' -o "$dstimg" "$srcimg" >/dev/null
59 $EXIFEXE --no-fixup --ifd=EXIF --tag=41986 --set-value=1 -o "$dstimg" "$srcimg" >/dev/null
89 $EXIFEXE --no-fixup --ifd=EXIF --tag=SceneType --set-value=1 -o "$dstimg" "$srcimg" >/dev/null
109 numtags=`$EXIFEXE --no-fixup -m -i "$srcimg" | wc -l`
123 $EXIFEXE --no-fixup --ifd=0 --tag=YResolution --set-value='9 b' -o "$dstimg" "$srcimg" >/dev/null
135 $EXIFEXE --no-fixup --ifd=0 --tag=0xbbbb --set-value=1 -o "$dstimg" "$srcimg" >/dev/null
153 $EXIFEXE -m -i "$srcimg" >"$tmpfile"
[all …]
H A Dcheck-init-mandatory-tags.sh9 readonly srcimg="$SRCDIR/testdata/no-exif.jpg"
24 …te-exif --no-fixup --ifd=0 --tag=XResolution --set-value=' 99 1' -o "$dstimg" "$srcimg" >/dev/null
28 …ate-exif --no-fixup --ifd=0 --tag=YResolution --set-value='123 2' -o "$dstimg" "$srcimg" >/dev/null
32 …eate-exif --no-fixup --ifd=0 --tag=ResolutionUnit --set-value='3' -o "$dstimg" "$srcimg" >/dev/null
36 …no-fixup --ifd=0 --tag=DateTime --set-value='2010:01:22 03:44:55' -o "$dstimg" "$srcimg" >/dev/null
40 …te-exif --no-fixup --ifd=0 --tag=YCbCrPositioning --set-value='2' -o "$dstimg" "$srcimg" >/dev/null
46 …--no-fixup --ifd=EXIF --tag=ExifVersion --set-value='48 50 50 49' -o "$dstimg" "$srcimg" >/dev/null
54 …-fixup --ifd=EXIF --tag=FlashPixVersion --set-value='48 49 48 48' -o "$dstimg" "$srcimg" >/dev/null
58 $EXIFEXE --create-exif --no-fixup --ifd=EXIF --tag=ColorSpace --set-value='2' -o "$dstimg" "$srcimg
62 …exif --no-fixup --ifd=EXIF --tag=PixelXDimension --set-value='64' -o "$dstimg" "$srcimg" >/dev/null
[all …]
H A Dcheck-no-seek.sh7 readonly srcimg="$SRCDIR/testdata/no-exif.jpg"
28 $EXIFEXE --create-exif "${srcimg}" -o "${tmpfile}"
44 (cat "${srcimg}" >"${tmpfifo}"; sleep 1; cat "${srcimg}" >"${tmpfifo}") &
53 (cat "${srcimg}" >"${tmpfifo}"; sleep 1; cat "${srcimg}" >"${tmpfifo}") &
54 $EXIFEXE --create-exif --insert-thumbnail="${tmpfifo}" -o /dev/null "${srcimg}"
/dports/multimedia/libde265/libde265-1.0.2/libde265/
H A Dvisualize.cc87 void draw_block_boundary(const de265_image* srcimg, in draw_block_boundary() argument
95 if (yi < srcimg->sps.pic_height_in_luma_samples) { in draw_block_boundary()
104 if (xi < srcimg->sps.pic_width_in_luma_samples) { in draw_block_boundary()
113 void draw_intra_pred_mode(const de265_image* srcimg, in draw_intra_pred_mode() argument
237 int q = srcimg->get_QPY(x0,y0); in draw_QuantPY_block()
288 enum PredMode predMode = srcimg->get_pred_mode(x0,y0); in draw_PB_block()
300 srcimg->get_width(), in draw_PB_block()
301 srcimg->get_height(), in draw_PB_block()
306 srcimg->get_width(), in draw_PB_block()
307 srcimg->get_height(), in draw_PB_block()
[all …]
/dports/graphics/digikam/digikam-7.4.0/core/libs/heifutils/libde265/
H A Dvisualize.cc87 void draw_block_boundary(const de265_image* srcimg, in draw_block_boundary() argument
104 if (xi < srcimg->get_sps().pic_width_in_luma_samples) { in draw_block_boundary()
113 void draw_intra_pred_mode(const de265_image* srcimg, in draw_intra_pred_mode() argument
237 int q = srcimg->get_QPY(x0,y0); in draw_QuantPY_block()
288 enum PredMode predMode = srcimg->get_pred_mode(x0,y0); in draw_PB_block()
295 const PBMotion& mvi = srcimg->get_mv_info(x0,y0); in draw_PB_block()
300 srcimg->get_width(), in draw_PB_block()
301 srcimg->get_height(), in draw_PB_block()
306 srcimg->get_width(), in draw_PB_block()
307 srcimg->get_height(), in draw_PB_block()
[all …]
/dports/graphics/photoflow/PhotoFlow-8472024f/src/operations/gmic/obsolete/
H A Dwatermark_fourier.cc50 VipsImage* srcimg = NULL; in build_many() local
51 if( in.size() > 0 ) srcimg = in[0]; in build_many()
53 if( !srcimg ) return outvec; in build_many()
56 PF_REF( srcimg, "GmicWatermarkFourierPar::build_many(): srcimg ref in preview render mode" ); in build_many()
57 outvec.push_back( srcimg ); in build_many()
62 PF_REF( srcimg, "GmicWatermarkFourierPar::build_many(): srcimg ref with empty watermark" ); in build_many()
63 outvec.push_back( srcimg ); in build_many()
71 std::string tempfile1 = save_image( srcimg, IM_BANDFMT_FLOAT ); in build_many()
78 run_gmic( srcimg, command ); in build_many()
86 PF::vips_copy_metadata( srcimg, outvec[i] ); in build_many()
H A Dinpaint.cc94 VipsImage* srcimg = NULL; in build() local
95 if( in.size() > 0 ) srcimg = in[0]; in build()
97 if( !srcimg ) return NULL; in build()
108 draw_op1->get_par()->set_image_hints( srcimg ); in build()
109 draw_op1->get_par()->grayscale_image( srcimg->Xsize, srcimg->Ysize ); in build()
120 uniform->get_par()->set_image_hints( srcimg ); in build()
130 in2.push_back( srcimg ); in build()
141 return srcimg; in build()
150 black->get_par()->set_image_hints( srcimg ); in build()
161 draw_op2->get_par()->grayscale_image( srcimg->Xsize, srcimg->Ysize ); in build()
[all …]
H A Dsplit_details.cc51 VipsImage* srcimg = NULL; in build_many() local
52 if( in.size() > 0 ) srcimg = in[0]; in build_many()
55 if( !srcimg ) return outvec; in build_many()
61 std::string tempfile = save_image( srcimg, IM_BANDFMT_FLOAT ); in build_many()
80 run_gmic( srcimg, command ); in build_many()
88 PF::vips_copy_metadata( srcimg, outvec[i] ); in build_many()
/dports/graphics/photoflow/PhotoFlow-8472024f/src/operations/gmic/
H A Dtransfer_colors.cc55 VipsImage* srcimg = NULL; in build_many() local
56 if( in.size() > 0 ) srcimg = in[0]; in build_many()
58 if( !srcimg ) return outvec; in build_many()
60 PF_REF( srcimg, "" ); in build_many()
61 outvec.push_back( srcimg ); in build_many()
66 PF_REF( srcimg, "" ); in build_many()
67 outvec.push_back( srcimg ); in build_many()
75 std::string tempfile1 = save_image( srcimg, VIPS_FORMAT_FLOAT ); in build_many()
91 run_gmic( srcimg, command ); in build_many()
100 PF::vips_copy_metadata( srcimg, outvec[i] ); in build_many()
H A Dgmic.cc62 VipsImage* srcimg = NULL; in build() local
63 if( in.size() > 0 ) srcimg = in[0]; in build()
65 if( !srcimg ) { in build()
71 PF_REF( srcimg, "GMicPar::build(): empty command string" ); in build()
72 return srcimg; in build()
99 VipsImage* srcimg2 = srcimg; in build()
100 if( (target_ch>=0) && (target_ch<srcimg->Bands) ) { in build()
178 if( (target_ch>=0) && (target_ch<(srcimg->Bands)) ) { in build()
182 for( int i = 0; i < srcimg->Bands; i++ ) { in build()
186 if( vips_extract_band( srcimg, &band, i, NULL ) ) { in build()
[all …]
H A Demulate_film.cc83 VipsImage* srcimg = NULL; in build() local
86 VipsImage* out = srcimg; in build()
181 VipsImage* srcimg = NULL; in build() local
184 VipsImage* out = srcimg; in build()
306 VipsImage* srcimg = NULL; in build() local
309 VipsImage* out = srcimg; in build()
445 VipsImage* out = srcimg; in build()
526 VipsImage* out = srcimg; in build()
608 VipsImage* out = srcimg; in build()
693 VipsImage* out = srcimg; in build()
[all …]
/dports/games/py-fife/fifengine-0.4.2/engine/core/video/
H A Dimage.cpp316 if (!srcimg->m_surface) { in copySubimage()
319 m_surface = SDL_CreateRGBSurface(0, srcimg->getWidth(), in copySubimage()
320 srcimg->getHeight(), 32, RMASK, GMASK, BMASK ,AMASK); in copySubimage()
329 static_cast<Uint16>(srcimg->getWidth()), in copySubimage()
330 static_cast<Uint16>(srcimg->getHeight()) }; in copySubimage()
331 if(srcimg->isSharedImage()) { in copySubimage()
332 Rect const& rect = srcimg->getSubImageRect(); in copySubimage()
346 static_cast<Uint16>(srcimg->getWidth()), in copySubimage()
347 static_cast<Uint16>(srcimg->getHeight()) }; in copySubimage()
348 if(srcimg->isSharedImage()) { in copySubimage()
[all …]

123456