#include "global.h"
#include "transform8x8.h"


Go to the source code of this file.
Functions | |
| void | iMBtrans4x4 (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int smb) |
| void | iMBtrans8x8 (ImageParameters *img, Macroblock *currMB, ColorPlane pl) |
| void | itrans_sp_cr (ImageParameters *img, int uv) |
| void | intrapred_chroma (ImageParameters *img, Macroblock *currMB, int uv) |
| void | Inv_Residual_trans_4x4 (ImageParameters *img, ColorPlane pl, int ioff, int joff) |
| void | Inv_Residual_trans_8x8 (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
| void | itrans4x4 (ImageParameters *img, ColorPlane pl, int ioff, int joff) |
| void | itrans4x4_ls (ImageParameters *img, ColorPlane pl, int ioff, int joff) |
| void | itrans_sp (ImageParameters *img, ColorPlane pl, int ioff, int joff) |
| int | intrapred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff, int i4, int j4) |
| void | itrans_2 (ImageParameters *img, Macroblock *currMB, ColorPlane pl) |
| void | iTransform (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int need_4x4_transform, int smb) |
| int | allocate_block_mem (void) |
| void | free_block_mem (void) |
Variables | |
| const byte | QP_SCALE_CR [52] |
| const unsigned char | subblk_offset_x [3][8][4] |
| const unsigned char | subblk_offset_y [3][8][4] |
| void(* | itrans_4x4 )(ImageParameters *img, ColorPlane pl, int ioff, int joff) |
| void(* | itrans_8x8 )(ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
Definition in file block.h.
| int intrapred | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff, | |||
| int | img_block_x, | |||
| int | img_block_y | |||
| ) |
makes and returns 4x4 intra prediction blocks
| img | image parameters |
| currMB | current macroblock |
| pl | current image plane |
| ioff | pixel offset X within MB |
| joff | pixel offset Y within MB |
| img_block_x | location of block X, multiples of 4 |
| img_block_y | location of block Y, multiples of 4 |
Definition at line 762 of file intra4x4_pred.c.
Referenced by decode_one_component().
| void intrapred_chroma | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| int | uv | |||
| ) |
Chroma Intra prediction. Note that many operations can be moved outside since they are repeated for both components for no reason.
< pixel position p(0,-1)
< pixel positions p(-1, -1..16)
Definition at line 94 of file block.c.
References macroblock::c_ipred_mode, storable_picture::chroma_format_idc, error(), storable_picture::imgUV, and subblk_offset_x.

| void Inv_Residual_trans_4x4 | ( | ImageParameters * | img, | |
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) |
Inverse residual DPCM for Intra lossless coding.
| img | image parameters |
| pl | used color plane |
| ioff | index to 4x4 block |
| joff | index to 4x4 block |
Definition at line 315 of file block.c.
Referenced by decode_one_component().
| void Inv_Residual_trans_8x8 | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) |
Inverse residual DPCM for Intra lossless coding.
Definition at line 389 of file block.c.
Referenced by decode_one_component().
| void itrans4x4 | ( | ImageParameters * | img, | |
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) |
Inverse 4x4 transformation, transforms cof to mb_rres.
| img | image parameters |
| pl | used color plane |
| ioff | index to 4x4 block |
| joff | index to 4x4 block |
Definition at line 254 of file block.c.
Referenced by decode_one_component().
| void itrans4x4_ls | ( | ImageParameters * | img, | |
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) |
| void itrans_2 | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl | |||
| ) |
Luma DC inverse transform.
| img | image parameters |
| currMB | current macroblock |
| pl | used color plane |
Definition at line 465 of file block.c.
References macroblock::qp_scaled.
Referenced by readCBPandCoeffsFromNAL().
| void itrans_sp | ( | ImageParameters * | img, | |
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) |
| img | image parameters |
| pl | used color plane |
| ioff | index to 4x4 block |
| joff | index to 4x4 block |
Definition at line 502 of file block.c.
References dequant_coef.
| const unsigned char subblk_offset_x[3][8][4] |
look up tables for FRExt_chroma support
Definition at line 130 of file macroblock.c.
Referenced by buildPredblockRegionYUV(), buildPredRegionYUV(), intrapred_chroma(), and readCBPandCoeffsFromNAL().