/dports/games/libretro-fmsx/fmsx-libretro-c2c26b1/EMULib/ |
H A D | EMULib.c | 59 Img->Cropped = 0; in NewImage() 61 if(!Img->Data) Img->W=Img->H=Img->L=Img->D=0; in NewImage() 66 Img->W = Width; in NewImage() 68 Img->L = Width; in NewImage() 82 if(Img->Data&&!Img->Cropped) free(Img->Data); in FreeImage() 83 Img->Data = 0; in FreeImage() 110 VideoImg = Img; in SetVideo() 111 VideoX = X<0? 0:X>=Img->W? Img->W-1:X; in SetVideo() 112 VideoY = Y<0? 0:Y>=Img->H? Img->H-1:Y; in SetVideo() 113 VideoW = VideoX+W>Img->W? Img->W-VideoX:W; in SetVideo() [all …]
|
H A D | Touch.c | 120 Image Img; member 405 if(Img) CropImage(&Buttons[I].Img,Img,0,0,W,H); in SetFinButton() 512 X = X<0? 0:X>Img->W-CHRSIZE? Img->W-CHRSIZE:X; in PrintXY2() 513 Y = Y<0? 0:Y>Img->H-CHRSIZE? Img->H-CHRSIZE:Y; in PrintXY2() 523 P=(pixel *)Img->Data+Img->L*Y+K; in PrintXY2() 547 Y1 = Y1<0? 0:Y1>=Img->H? Img->H-1:Y1; in DrawVLine() 548 Y2 = Y2<0? 0:Y2>=Img->H? Img->H-1:Y2; in DrawVLine() 551 P = (pixel *)Img->Data+Img->L*Y1+X; in DrawVLine() 562 X1 = X1<0? 0:X1>=Img->W? Img->W-1:X1; in DrawHLine() 563 X2 = X2<0? 0:X2>=Img->W? Img->W-1:X2; in DrawHLine() [all …]
|
/dports/emulators/almostti/AlmostTI-DougMelton-Source/EMULib/ |
H A D | EMULib.c | 59 Img->Cropped = 0; in NewImage() 61 if(!Img->Data) Img->W=Img->H=Img->L=Img->D=0; in NewImage() 66 Img->W = Width; in NewImage() 68 Img->L = Width; in NewImage() 82 if(Img->Data&&!Img->Cropped) free(Img->Data); in FreeImage() 83 Img->Data = 0; in FreeImage() 110 VideoImg = Img; in SetVideo() 111 VideoX = X<0? 0:X>=Img->W? Img->W-1:X; in SetVideo() 112 VideoY = Y<0? 0:Y>=Img->H? Img->H-1:Y; in SetVideo() 113 VideoW = VideoX+W>Img->W? Img->W-VideoX:W; in SetVideo() [all …]
|
H A D | Touch.c | 199 P = (pixel *)Img->Data+Img->L*Y1+X; in DrawVLine() 209 P = (pixel *)Img->Data+Img->L*Y+X1; in DrawHLine() 222 P = (pixel *)Img->Data; in DrawPenCues() 223 W = Img->W; in DrawPenCues() 224 H = Img->H; in DrawPenCues() 246 DrawHLine(Img,0,W3,H3,Color); in DrawPenCues() 292 X=Img->W-KEYSTEP*XKEYS-8; in DrawKeyboard() 293 Y=Img->H-KEYSTEP*YKEYS-8; in DrawKeyboard() 309 P = (pixel *)Img->Data in DrawKeyboard() 317 for(K=1,P+=Img->L;K<KEYSIZE-1;++K,P+=Img->L) in DrawKeyboard() [all …]
|
/dports/devel/fpc-fcl-image/fpc-3.2.2/packages/fcl-image/src/ |
H A D | fpreadpcx.pas | 64 Img.Palette.Clear; 84 Img.Palette.Clear; 101 Img.Palette.Clear; 114 Img.Palette.Clear; 209 AnalyzeHeader(Img); 218 H := Img.Height; 219 TotalWrite := Img.Height * Img.Width; 247 Img.Colors[Col, Row] := Img.Palette[1] 249 Img.Colors[Col, Row] := Img.Palette[0]; 272 Img.Colors[Col, Row] := Img.Palette[color]; [all …]
|
H A D | fpwritepcx.pas | 62 XMax := Img.Width - 1; 63 YMax := Img.Height - 1; 67 BytesPerLine := Img.Width; 122 SaveHeader(Stream, Img); 123 WriteSize := (Img.Width * 3); 125 TotalWrite := Img.Height * Img.Width; 127 for Row := 0 to Img.Height - 1 do 130 for Col := 0 to Img.Width - 1 do 132 C := Img.Colors[Col, Row]; 133 P[Col + Img.Width * 2] := C.Blue shr 8; [all …]
|
/dports/lang/fpc-source/fpc-3.2.2/packages/fcl-image/src/ |
H A D | fpreadpcx.pas | 64 Img.Palette.Clear; 84 Img.Palette.Clear; 101 Img.Palette.Clear; 114 Img.Palette.Clear; 209 AnalyzeHeader(Img); 218 H := Img.Height; 219 TotalWrite := Img.Height * Img.Width; 247 Img.Colors[Col, Row] := Img.Palette[1] 249 Img.Colors[Col, Row] := Img.Palette[0]; 272 Img.Colors[Col, Row] := Img.Palette[color]; [all …]
|
H A D | fpwritepcx.pas | 62 XMax := Img.Width - 1; 63 YMax := Img.Height - 1; 67 BytesPerLine := Img.Width; 122 SaveHeader(Stream, Img); 123 WriteSize := (Img.Width * 3); 125 TotalWrite := Img.Height * Img.Width; 127 for Row := 0 to Img.Height - 1 do 130 for Col := 0 to Img.Width - 1 do 132 C := Img.Colors[Col, Row]; 133 P[Col + Img.Width * 2] := C.Blue shr 8; [all …]
|
/dports/emulators/almostti/AlmostTI-DougMelton-Source/ATI85/ |
H A D | Common.h | 13 void TI85RefreshScreen(Image *Img) in TI85RefreshScreen() argument 21 ClearImage(Img,XPal[0]); in TI85RefreshScreen() 28 P = (pixel *)Img->Data + X*3 + Y*Img->L*3; in TI85RefreshScreen() 34 P = (pixel *)Img->Data + Y*Img->L*3; in TI85RefreshScreen() 40 P = (pixel *)Img->Data+Img->L*((Img->H-3*(W<<3))>>1); in TI85RefreshScreen() 62 void TI83RefreshScreen(Image *Img) in TI83RefreshScreen() argument 69 ClearImage(Img,XPal[0]); in TI83RefreshScreen() 78 P = (pixel *)Img->Data + X*4 + Y*Img->L*3; in TI83RefreshScreen() 84 P = (pixel *)Img->Data + Y*Img->L*3; in TI83RefreshScreen() 89 P = (pixel *)Img->Data+Img->L*((Img->H-3*96)>>1); in TI83RefreshScreen() [all …]
|
/dports/graphics/libimg/Img-1.4.12/ |
H A D | Makefile.in | 132 prefix=$$here/Img/prefix \ 133 pkglibdir=$$here/Img/exec_prefix/lib/Img \ 140 cat Img/exec_prefix/lib/Img/pkgIndex.tcl >> pkgIndex.tcl ; \ 143 chmod ugo+w Img/exec_prefix/lib/Img/pkgIndex.tcl 144 mv pkgIndex.tcl Img/exec_prefix/lib/Img/pkgIndex.tcl 145 chmod ugo+w Img/exec_prefix/lib/Img/pkgIndex.tcl 146 for p in Img/exec_prefix/lib/Img/*.sh ; do \ 153 for p in Img/exec_prefix/lib/Img/* ; do \ 157 for p in Img/exec_prefix/lib/Img/*.sh ; do \ 162 for p in Img/prefix/include/* ; do \ [all …]
|
/dports/emulators/almostti/AlmostTI-DougMelton-Source/EMULib/Unix/ |
H A D | LibUnix.c | 457 …Img->SHMInfo.shmid = shmget(IPC_PRIVATE,Img->XImg->bytes_per_line*Img->XImg->height,IPC_CREAT|0777… in NewImage() 461 Img->XImg->data = Img->SHMInfo.shmaddr = shmat(Img->SHMInfo.shmid,0,0); in NewImage() 495 Img->XImg->data = (char *)malloc(Img->XImg->bytes_per_line*Img->XImg->height); in NewImage() 501 Img->Data = (pixel *)Img->XImg->data; in NewImage() 502 Img->W = Img->XImg->width; in NewImage() 503 Img->H = Img->XImg->height; in NewImage() 504 Img->L = Img->XImg->bytes_per_line/(Depth>>3); in NewImage() 520 if((Img->Attrs&EFF_MITSHM)&&Img->SHMInfo.shmaddr) in FreeImage() 526 if(Img->XImg) { XDestroyImage(Img->XImg);Img->XImg=0; } in FreeImage() 529 Img->Data = 0; in FreeImage() [all …]
|
/dports/x11/eaglemode/eaglemode-0.95.0/src/emX11/ |
H A D | emX11ViewRenderer.cpp | 213 XFree(buf->Img); in CreateBuffer() 218 buf->Img->bytes_per_line*buf->Img->height, in CreateBuffer() 222 XFree(buf->Img); in CreateBuffer() 279 buf->Img->bytes_per_line>=4*buf->Img->width in CreateBuffer() 298 buf->Img->data, in CreateBuffer() 300 buf->Img->bytes_per_line*buf->Img->height in CreateBuffer() 305 buf->Img->data+buf->Img->xoffset*BytesPerPixel, in CreateBuffer() 313 buf->Img->width, in CreateBuffer() 314 buf->Img->height in CreateBuffer() 327 if (buf->Img) { in DestroyBuffer() [all …]
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/bgrabitmap/ |
H A D | bgrareadpcx.pas | 85 AnalyzeHeader(Img); 87 1: CreateBWPalette(Img); 88 4: CreatePalette16(Img); 92 CreateGrayPalette(Img); 94 H := Img.Height; 99 WriteScanLine(Row, Img); 125 Img.Colors[Col, Row] := Img.Palette[1] 127 Img.Colors[Col, Row] := Img.Palette[0]; 149 Img.Colors[Col, Row] := Img.Palette[color]; 156 Img.Colors[Col, Row] := Img.Palette[P[Col]]; [all …]
|
H A D | bgrawritelzp.pas | 48 if (Img.Width > LazpaintThumbMaxWidth) or 54 h := round(Img.Height* (w/Img.Width)); 57 w := Img.Width; 58 h := Img.Height; 63 w := round(Img.Width* (h/Img.Height)); 135 header.width := Img.Width; 148 if not WriteThumbnail(Str, Img) then 156 WriteRLEImage(Str, Img, Caption) 166 if InternalWriteLayers(Str, Img) then 179 Img: TFPCustomImage): boolean; [all …]
|
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/bgrabitmap/ |
H A D | bgrareadpcx.pas | 85 AnalyzeHeader(Img); 87 1: CreateBWPalette(Img); 88 4: CreatePalette16(Img); 92 CreateGrayPalette(Img); 94 H := Img.Height; 99 WriteScanLine(Row, Img); 125 Img.Colors[Col, Row] := Img.Palette[1] 127 Img.Colors[Col, Row] := Img.Palette[0]; 149 Img.Colors[Col, Row] := Img.Palette[color]; 156 Img.Colors[Col, Row] := Img.Palette[P[Col]]; [all …]
|
H A D | bgrawritelzp.pas | 48 if (Img.Width > LazpaintThumbMaxWidth) or 54 h := round(Img.Height* (w/Img.Width)); 57 w := Img.Width; 58 h := Img.Height; 63 w := round(Img.Width* (h/Img.Height)); 135 header.width := Img.Width; 148 if not WriteThumbnail(Str, Img) then 156 WriteRLEImage(Str, Img, Caption) 166 if InternalWriteLayers(Str, Img) then 179 Img: TFPCustomImage): boolean; [all …]
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/tcg/ |
H A D | image_ops.h | 15 template <typename Img> 17 typedef Img image_type; 18 typedef typename Img::pixel_type pixel_type; 19 typedef typename Img::pixel_ptr_type pixel_ptr_type; 20 typedef typename Img::pixel_category pixel_category; 25 template <typename Img> 26 class image_traits : public image_traits_types<Img> { 27 typedef image_traits_types<Img> tr; 62 template <typename Img, typename Scalar> 63 void blur(const Img &imgIn, Img &imgOut, int radius, Scalar = 0); [all …]
|
/dports/lang/asis/asis-gpl-2016-src/tools/gnatmetric/ |
H A D | metrics-output.adb | 242 Report (Tmp'Img); 266 Report (Tmp'Img); 284 Report (Tmp'Img); 302 Report (Tmp'Img); 335 Comment_Code_Ratio_To_Print'Img, 349 Report (Tmp'Img); 382 Value_Image : constant String := Value'Img; 746 Comment_Code_Ratio_To_Print'Img, 989 return (Arg_Kind'Img); 1039 Report_No_EOL (Unit_Span.First_Line'Img); [all …]
|
/dports/games/yadex/yadex-1.7.0/src/ |
H A D | img.cc | 55 Img::Img () in Img() function in Img 66 Img::Img (img_dim_t width, img_dim_t height, bool opaque) in Img() function in Img 77 Img::~Img () in ~Img() 86 bool Img::is_null () const in is_null() 97 img_dim_t Img::width () const in width() 108 img_dim_t Img::height () const in height() 119 const img_pixel_t *Img::buf () const in buf() 130 img_pixel_t *Img::wbuf () in wbuf() 139 void Img::clear () in clear() 149 void Img::set_opaque (bool opaque) in set_opaque() [all …]
|
/dports/devel/boost-docs/boost_1_72_0/libs/gil/doc/design/ |
H A D | image.rst | 23 concept RandomAccessNDImageConcept<typename Img> : Regular<Img> 31 Img::Img(point_t dims, std::size_t alignment=0); 32 Img::Img(point_t dims, value_type fill_value, std::size_t alignment); 37 const point_t& Img::dimensions() const; 38 const const_view_t& const_view(const Img&); 39 const view_t& view(Img&); 51 Img::Img(x_coord_t width, y_coord_t height, std::size_t alignment=0); 52 Img::Img(x_coord_t width, y_coord_t height, value_type fill_value, std::size_t alignment); 54 x_coord_t Img::width() const; 55 y_coord_t Img::height() const; [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/gil/doc/design/ |
H A D | image.rst | 23 concept RandomAccessNDImageConcept<typename Img> : Regular<Img> 31 Img::Img(point_t dims, std::size_t alignment=0); 32 Img::Img(point_t dims, value_type fill_value, std::size_t alignment); 37 const point_t& Img::dimensions() const; 38 const const_view_t& const_view(const Img&); 39 const view_t& view(Img&); 51 Img::Img(x_coord_t width, y_coord_t height, std::size_t alignment=0); 52 Img::Img(x_coord_t width, y_coord_t height, value_type fill_value, std::size_t alignment); 54 x_coord_t Img::width() const; 55 y_coord_t Img::height() const; [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/gil/doc/design/ |
H A D | image.rst | 23 concept RandomAccessNDImageConcept<typename Img> : Regular<Img> 31 Img::Img(point_t dims, std::size_t alignment=0); 32 Img::Img(point_t dims, value_type fill_value, std::size_t alignment); 37 const point_t& Img::dimensions() const; 38 const const_view_t& const_view(const Img&); 39 const view_t& view(Img&); 51 Img::Img(x_coord_t width, y_coord_t height, std::size_t alignment=0); 52 Img::Img(x_coord_t width, y_coord_t height, value_type fill_value, std::size_t alignment); 54 x_coord_t Img::width() const; 55 y_coord_t Img::height() const; [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/gil/doc/design/ |
H A D | image.rst | 23 concept RandomAccessNDImageConcept<typename Img> : Regular<Img> 31 Img::Img(point_t dims, std::size_t alignment=0); 32 Img::Img(point_t dims, value_type fill_value, std::size_t alignment); 37 const point_t& Img::dimensions() const; 38 const const_view_t& const_view(const Img&); 39 const view_t& view(Img&); 51 Img::Img(x_coord_t width, y_coord_t height, std::size_t alignment=0); 52 Img::Img(x_coord_t width, y_coord_t height, value_type fill_value, std::size_t alignment); 54 x_coord_t Img::width() const; 55 y_coord_t Img::height() const; [all …]
|
/dports/graphics/wings/wings-8d019ebe48/e3d/ |
H A D | e3d_image.erl | 124 Img; 127 channel_img(Ch, "_r", Img); 130 channel_img(Ch, "_r", Img); 133 channel_img(Ch, "_g", Img); 136 channel_img(Ch, "_g", Img); 139 channel_img(Ch, "_b", Img); 142 channel_img(Ch, "_b", Img); 145 channel_img(Ch, "_a", Img); 149 channel_img(Ch, "_b", Img); 152 channel_img(Ch, "_b", Img); [all …]
|
/dports/databases/adabase/AdaBase-3.1/testcases/spatial3/ |
H A D | spatial3.adb | 23 TIO.Put_Line ("Geo subtype : " & SD.type_of_collection (GM)'Img); 29 TIO.Put_Line ("X=" & point.X'Img & " (" & label & ")"); 30 TIO.Put_Line ("Y=" & point.Y'Img); 64 print_point (LNS (component), LN & component'Img); 80 TIO.Put_Line ("Ring#" & Ring_ID'Img); 96 "Multipoint#" & component'Img); 114 TIO.Put_Line ("line#" & component'Img & ": " & 135 TIO.Put_Line ("polygon#" & component'Img & ": " & 143 " of polygon" & component'Img & " : " & 167 TIO.Put_Line ("Element" & component'Img & " type : " & [all …]
|