comparison postprocess.h @ 65:5bef666de27d libpostproc

Make pp_get_mode_by_name_and_quality accept a constant string. Patch by Diego 'Flameeyes' Petten flameeyes at gmail com
author benoit
date Thu, 03 Jan 2008 08:42:02 +0000
parents 98d3264ac47f
children 7737e39e74f3
comparison
equal deleted inserted replaced
64:1912d7e2858d 65:5bef666de27d
54 /** 54 /**
55 * returns a pp_mode_t or NULL if an error occured 55 * returns a pp_mode_t or NULL if an error occured
56 * name is the string after "-pp" on the command line 56 * name is the string after "-pp" on the command line
57 * quality is a number from 0 to PP_QUALITY_MAX 57 * quality is a number from 0 to PP_QUALITY_MAX
58 */ 58 */
59 pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality); 59 pp_mode_t *pp_get_mode_by_name_and_quality(const char *name, int quality);
60 void pp_free_mode(pp_mode_t *mode); 60 void pp_free_mode(pp_mode_t *mode);
61 61
62 pp_context_t *pp_get_context(int width, int height, int flags); 62 pp_context_t *pp_get_context(int width, int height, int flags);
63 void pp_free_context(pp_context_t *ppContext); 63 void pp_free_context(pp_context_t *ppContext);
64 64