comparison postprocess.c @ 66:7737e39e74f3 libpostproc

Make pp_help a constant pointer to constant characters, moves it partially in .rodata (the actual string) and partially in .data.relro (the pointer), but doesn't change ABI. Patch by Diego 'Flameeyes' Petten flameeyes at gmail com
author benoit
date Fri, 04 Jan 2008 07:47:32 +0000
parents 5bef666de27d
children fb2657d1e70d
comparison
equal deleted inserted replaced
65:5bef666de27d 66:7737e39e74f3
695 //static void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height, 695 //static void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height,
696 // QP_STORE_T QPs[], int QPStride, int isColor, struct PPMode *ppMode); 696 // QP_STORE_T QPs[], int QPStride, int isColor, struct PPMode *ppMode);
697 697
698 /* -pp Command line Help 698 /* -pp Command line Help
699 */ 699 */
700 char *pp_help= 700 const char *const pp_help=
701 "Available postprocessing filters:\n" 701 "Available postprocessing filters:\n"
702 "Filters Options\n" 702 "Filters Options\n"
703 "short long name short long option Description\n" 703 "short long name short long option Description\n"
704 "* * a autoq CPU power dependent enabler\n" 704 "* * a autoq CPU power dependent enabler\n"
705 " c chrom chrominance filtering enabled\n" 705 " c chrom chrominance filtering enabled\n"