Browse Source

cosmetics requested by kabi

Originally committed as revision 8020 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
tags/v0.5
Michael Niedermayer 22 years ago
parent
commit
b401ebad91
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      postproc/postprocess.c
  2. +4
    -4
      postproc/postprocess.h

+ 1
- 1
postproc/postprocess.c View File

@@ -489,7 +489,7 @@ static inline void horizX1Filter(uint8_t *src, int stride, int QP)
// minor note: the HAVE_xyz is messed up after that line so dont use it

static inline void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height,
QP_STORE_T QPs[], int QPStride, int isColor, PPMode *ppMode, pp_context *vc)
QP_STORE_T QPs[], int QPStride, int isColor, PPMode *ppMode, pp_context_t *vc)
{
PPContext *c= (PPContext *)vc;
c->ppMode= *ppMode; //FIXME


+ 4
- 4
postproc/postprocess.h View File

@@ -64,7 +64,7 @@

#define QP_STORE_T int8_t

typedef void pp_context;
typedef void pp_context_t;

extern char *pp_help;

@@ -90,13 +90,13 @@ void pp_postprocess(uint8_t * src[3], int srcStride[3],
uint8_t * dst[3], int dstStride[3],
int horizontalSize, int verticalSize,
QP_STORE_T *QP_store, int QP_stride,
PPMode *mode, pp_context *ppContext, int pict_type);
PPMode *mode, pp_context_t *ppContext, int pict_type);

// name is the stuff after "-pp" on the command line
PPMode pp_get_mode_by_name_and_quality(char *name, int quality);

pp_context *pp_get_context(int width, int height, int cpuCaps);
void pp_free_context(pp_context *ppContext);
pp_context_t *pp_get_context(int width, int height, int cpuCaps);
void pp_free_context(pp_context_t *ppContext);

#define PP_CPU_CAPS_MMX 0x80000000
#define PP_CPU_CAPS_MMX2 0x20000000


Loading…
Cancel
Save