media/libvpx/vp9/common/vp9_postproc.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vp9/common/vp9_postproc.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +/*
     1.5 + *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
     1.6 + *
     1.7 + *  Use of this source code is governed by a BSD-style license
     1.8 + *  that can be found in the LICENSE file in the root of the source
     1.9 + *  tree. An additional intellectual property rights grant can be found
    1.10 + *  in the file PATENTS.  All contributing project authors may
    1.11 + *  be found in the AUTHORS file in the root of the source tree.
    1.12 + */
    1.13 +
    1.14 +
    1.15 +#ifndef VP9_COMMON_VP9_POSTPROC_H_
    1.16 +#define VP9_COMMON_VP9_POSTPROC_H_
    1.17 +
    1.18 +#include "vpx_ports/mem.h"
    1.19 +
    1.20 +struct postproc_state {
    1.21 +  int last_q;
    1.22 +  int last_noise;
    1.23 +  char noise[3072];
    1.24 +  DECLARE_ALIGNED(16, char, blackclamp[16]);
    1.25 +  DECLARE_ALIGNED(16, char, whiteclamp[16]);
    1.26 +  DECLARE_ALIGNED(16, char, bothclamp[16]);
    1.27 +};
    1.28 +
    1.29 +#include "vp9/common/vp9_onyxc_int.h"
    1.30 +#include "vp9/common/vp9_ppflags.h"
    1.31 +
    1.32 +int vp9_post_proc_frame(struct VP9Common *cm,
    1.33 +                        YV12_BUFFER_CONFIG *dest, vp9_ppflags_t *flags);
    1.34 +
    1.35 +void vp9_denoise(const YV12_BUFFER_CONFIG *src, YV12_BUFFER_CONFIG *dst, int q);
    1.36 +
    1.37 +void vp9_deblock(const YV12_BUFFER_CONFIG *src, YV12_BUFFER_CONFIG *dst, int q);
    1.38 +
    1.39 +#endif  // VP9_COMMON_VP9_POSTPROC_H_

mercurial