shithub: libvpx

ref: 2b8dc065d1f6e66905bf85fb624a9c74e4fd8bdf
dir: /vp9/common/vp9_reconintra.h/

View raw version
/*
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#ifndef VP9_COMMON_VP9_RECONINTRA_H_
#define VP9_COMMON_VP9_RECONINTRA_H_

#include "vp9/common/vp9_blockd.h"

extern void vp9_recon_intra_mbuv(MACROBLOCKD *xd);
extern B_PREDICTION_MODE vp9_find_dominant_direction(unsigned char *ptr,
                                                     int stride, int n);
extern B_PREDICTION_MODE vp9_find_bpred_context(BLOCKD *x);
#if CONFIG_COMP_INTERINTRA_PRED
extern void vp9_build_interintra_16x16_predictors_mb(MACROBLOCKD *xd,
                                                     unsigned char *ypred,
                                                     unsigned char *upred,
                                                     unsigned char *vpred,
                                                     int ystride,
                                                     int uvstride);
extern void vp9_build_interintra_16x16_predictors_mby(MACROBLOCKD *xd,
                                                      unsigned char *ypred,
                                                      int ystride);
extern void vp9_build_interintra_16x16_predictors_mbuv(MACROBLOCKD *xd,
                                                       unsigned char *upred,
                                                       unsigned char *vpred,
                                                       int uvstride);
#endif

#endif  // __INC_RECONINTRA_H