media/libvpx/vp8/decoder/error_concealment.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vp8/decoder/error_concealment.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +/*
     1.5 + *  Copyright (c) 2011 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 ERROR_CONCEALMENT_H_
    1.16 +#define ERROR_CONCEALMENT_H_
    1.17 +
    1.18 +#include "onyxd_int.h"
    1.19 +#include "ec_types.h"
    1.20 +
    1.21 +/* Allocate memory for the overlap lists */
    1.22 +int vp8_alloc_overlap_lists(VP8D_COMP *pbi);
    1.23 +
    1.24 +/* Deallocate the overlap lists */
    1.25 +void vp8_de_alloc_overlap_lists(VP8D_COMP *pbi);
    1.26 +
    1.27 +/* Estimate all missing motion vectors. */
    1.28 +void vp8_estimate_missing_mvs(VP8D_COMP *pbi);
    1.29 +
    1.30 +/* Functions for spatial MV interpolation */
    1.31 +
    1.32 +/* Interpolates all motion vectors for a macroblock mb at position
    1.33 + * (mb_row, mb_col). */
    1.34 +void vp8_interpolate_motion(MACROBLOCKD *mb,
    1.35 +                            int mb_row, int mb_col,
    1.36 +                            int mb_rows, int mb_cols,
    1.37 +                            int mi_stride);
    1.38 +
    1.39 +/* Conceal a macroblock with corrupt residual.
    1.40 + * Copies the prediction signal to the reconstructed image.
    1.41 + */
    1.42 +void vp8_conceal_corrupt_mb(MACROBLOCKD *xd);
    1.43 +
    1.44 +#endif  // ERROR_CONCEALMENT_H_

mercurial