Revision 326d40af

View differences:

postproc/postprocess.c
518 518
"fq	forceQuant	<quantizer>		Force quantizer\n"
519 519
;
520 520

  
521
/**
522
 * returns a PPMode struct which will have a non 0 error variable if an error occured
523
 * name is the string after "-pp" on the command line
524
 * quality is a number from 0 to GET_PP_QUALITY_MAX
525
 */
526 521
pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality)
527 522
{
528 523
	char temp[GET_MODE_BUFFER_SIZE];
......
553 548

  
554 549
	for(;;){
555 550
		char *filterName;
556
		int q= 1000000; //GET_PP_QUALITY_MAX;
551
		int q= 1000000; //PP_QUALITY_MAX;
557 552
		int chrom=-1;
558 553
		char *option;
559 554
		char *options[OPTIONS_ARRAY_SIZE];
postproc/postprocess.h
19 19
#ifndef NEWPOSTPROCESS_H
20 20
#define NEWPOSTPROCESS_H
21 21

  
22
#define GET_PP_QUALITY_MAX 6
22
#define PP_QUALITY_MAX 6
23 23

  
24 24
#define QP_STORE_T int8_t
25 25

  
......
34 34
                 QP_STORE_T *QP_store,  int QP_stride,
35 35
		 pp_mode_t *mode, pp_context_t *ppContext, int pict_type);
36 36

  
37
// name is the stuff after "-pp" on the command line
37

  
38
/**
39
 * returns a pp_mode_t or NULL if an error occured
40
 * name is the string after "-pp" on the command line
41
 * quality is a number from 0 to PP_QUALITY_MAX
42
 */
38 43
pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality);
39 44
void pp_free_mode(pp_mode_t *mode);
40 45

  

Also available in: Unified diff