vp9_reconintra.h revision ba164dffc5a6795bce97fae02b51ccf3330e15e4
1/* 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11#ifndef VP9_COMMON_VP9_RECONINTRA_H_ 12#define VP9_COMMON_VP9_RECONINTRA_H_ 13 14#include "vpx/vpx_integer.h" 15#include "vp9/common/vp9_blockd.h" 16 17MB_PREDICTION_MODE vp9_find_dominant_direction(uint8_t *ptr, 18 int stride, int n, 19 int tx, int ty); 20 21MB_PREDICTION_MODE vp9_find_bpred_context(MACROBLOCKD *xd, int block, 22 uint8_t *ptr, int stride); 23 24void vp9_predict_intra_block(MACROBLOCKD *xd, 25 int block_idx, 26 int bwl_in, 27 TX_SIZE tx_size, 28 int mode, 29 uint8_t *predictor, int pre_stride); 30#endif // VP9_COMMON_VP9_RECONINTRA_H_ 31