|
Server : LiteSpeed System : Linux srv107862549.host 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64 User : malam2778 ( 1069) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/include/lqr-1/lqr/ |
Upload File : |
/* 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_PROGRESS_PUB_H__ #define __LQR_PROGRESS_PUB_H__ #define LQR_PROGRESS_MAX_MESSAGE_LENGTH (1024) /* LQR_PROGRESS CLASS DECLARATION */ struct _LqrProgress; typedef struct _LqrProgress LqrProgress; /* LQR_PROGRESS HOOKS DECLARATIONS */ typedef LqrRetVal (*LqrProgressFuncInit) (const gchar *); typedef LqrRetVal (*LqrProgressFuncUpdate) (gdouble); typedef LqrRetVal (*LqrProgressFuncEnd) (const gchar *); /* LQR_PROGRESS CLASS PUBLIC FUNCTIONS */ LQR_PUBLIC LqrProgress *lqr_progress_new(void); LQR_PUBLIC LqrRetVal lqr_progress_set_update_step(LqrProgress * p, gfloat update_step); LQR_PUBLIC LqrRetVal lqr_progress_set_init(LqrProgress * p, LqrProgressFuncInit init_func); LQR_PUBLIC LqrRetVal lqr_progress_set_update(LqrProgress * p, LqrProgressFuncUpdate update_func); LQR_PUBLIC LqrRetVal lqr_progress_set_end(LqrProgress * p, LqrProgressFuncEnd end_func); LQR_PUBLIC LqrRetVal lqr_progress_set_init_width_message(LqrProgress * p, const gchar *message); LQR_PUBLIC LqrRetVal lqr_progress_set_init_height_message(LqrProgress * p, const gchar *message); LQR_PUBLIC LqrRetVal lqr_progress_set_end_width_message(LqrProgress * p, const gchar *message); LQR_PUBLIC LqrRetVal lqr_progress_set_end_height_message(LqrProgress * p, const gchar *message); #endif /* __LQR_PROGRESS_PUB_H__ */