/* [<][>][^][v][top][bottom][index][help] */
/*
* H.265 video codec.
* Copyright (c) 2013-2014 struktur AG, Dirk Farin <farin@struktur.de>
*
* This file is part of libde265.
*
* libde265 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* libde265 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with libde265. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DE265_INTRAPRED_H
#define DE265_INTRAPRED_H
#include "libde265/decctx.h"
extern const int intraPredAngle_table[1+34];
void decode_intra_block(decoder_context* ctx,
thread_context* tctx,
int cIdx,
int xB0,int yB0, // position of TU in frame (chroma adapted)
int x0,int y0, // position of CU in frame (chroma adapted)
int log2TrafoSize, int trafoDepth,
enum IntraPredMode intraPredMode,
bool transform_skip_flag);
void fill_border_samples(decoder_context* ctx, int xB,int yB,
int nT, int cIdx, uint8_t* out_border);
void decode_intra_prediction(de265_image* img,
int xB0,int yB0,
enum IntraPredMode intraPredMode,
int nT, int cIdx);
#endif