#include "global.h"
#include "intra4x4_pred.h"
#include "mb_access.h"
#include "image.h"

Go to the source code of this file.
Defines | |
| #define | P_X (PredPel[0]) |
| #define | P_A (PredPel[1]) |
| #define | P_B (PredPel[2]) |
| #define | P_C (PredPel[3]) |
| #define | P_D (PredPel[4]) |
| #define | P_E (PredPel[5]) |
| #define | P_F (PredPel[6]) |
| #define | P_G (PredPel[7]) |
| #define | P_H (PredPel[8]) |
| #define | P_I (PredPel[9]) |
| #define | P_J (PredPel[10]) |
| #define | P_K (PredPel[11]) |
| #define | P_L (PredPel[12]) |
Functions | |
| static int | intra4x4_dc_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
| static int | intra4x4_vert_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
| static int | intra4x4_hor_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
| static int | intra4x4_diag_down_right_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
| static int | intra4x4_diag_down_left_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
| static int | intra4x4_vert_right_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
| static int | intra4x4_vert_left_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
| static int | intra4x4_hor_up_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
| static int | intra4x4_hor_down_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff) |
| int | intrapred (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int ioff, int joff, int img_block_x, int img_block_y) |
Definition in file intra4x4_pred.c.
| static int intra4x4_dc_pred | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) | [inline, static] |
makes and returns 4x4 DC prediction mode
| img | image parameters |
| ioff | pixel offset X within MB |
| joff | pixel offset Y within MB |
Definition at line 57 of file intra4x4_pred.c.
References storable_picture::imgUV, and storable_picture::imgY.
Referenced by intrapred().
| static int intra4x4_diag_down_left_pred | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) | [inline, static] |
makes and returns 4x4 diagonal down left prediction mode
| img | image parameters |
| currMB | current macroblock |
| pl | current image plane |
| ioff | pixel offset X within MB |
| joff | pixel offset Y within MB |
Definition at line 339 of file intra4x4_pred.c.
References storable_picture::imgUV, and storable_picture::imgY.
Referenced by intrapred().
| static int intra4x4_diag_down_right_pred | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) | [inline, static] |
makes and returns 4x4 diagonal down right prediction mode
| img | image parameters |
| currMB | current macroblock |
| pl | current image plane |
| ioff | pixel offset X within MB |
| joff | pixel offset Y within MB |
Definition at line 250 of file intra4x4_pred.c.
References storable_picture::imgUV, and storable_picture::imgY.
Referenced by intrapred().
| static int intra4x4_hor_down_pred | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) | [inline, static] |
makes and returns 4x4 horizontal down prediction mode
| img | image parameters |
| currMB | current macroblock |
| pl | current image plane |
| ioff | pixel offset X within MB |
| joff | pixel offset Y within MB |
Definition at line 672 of file intra4x4_pred.c.
References storable_picture::imgUV, and storable_picture::imgY.
Referenced by intrapred().
| static int intra4x4_hor_pred | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) | [inline, static] |
makes and returns 4x4 horizontal prediction mode
| img | image parameters |
| ioff | pixel offset X within MB |
| joff | pixel offset Y within MB |
Definition at line 196 of file intra4x4_pred.c.
References storable_picture::imgUV, and storable_picture::imgY.
Referenced by intrapred().
| static int intra4x4_hor_up_pred | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) | [inline, static] |
makes and returns 4x4 horizontal up prediction mode
| img | image parameters |
| currMB | current macroblock |
| pl | current image plane |
| ioff | pixel offset X within MB |
| joff | pixel offset Y within MB |
Definition at line 600 of file intra4x4_pred.c.
References storable_picture::imgUV, and storable_picture::imgY.
Referenced by intrapred().
| static int intra4x4_vert_left_pred | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) | [inline, static] |
makes and returns 4x4 vertical left prediction mode
| img | image parameters |
| currMB | current macroblock |
| pl | current image plane |
| ioff | pixel offset X within MB |
| joff | pixel offset Y within MB |
Definition at line 514 of file intra4x4_pred.c.
References storable_picture::imgUV, and storable_picture::imgY.
Referenced by intrapred().
| static int intra4x4_vert_pred | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) | [inline, static] |
makes and returns 4x4 vertical prediction mode
| img | image parameters |
| currMB | current macroblock |
| pl | current image plane |
| ioff | pixel offset X within MB |
| joff | pixel offset Y within MB |
Definition at line 151 of file intra4x4_pred.c.
References storable_picture::imgUV, and storable_picture::imgY.
Referenced by intrapred().
| static int intra4x4_vert_right_pred | ( | ImageParameters * | img, | |
| Macroblock * | currMB, | |||
| ColorPlane | pl, | |||
| int | ioff, | |||
| int | joff | |||
| ) | [inline, static] |
makes and returns 4x4 vertical right prediction mode
| img | image parameters |
| currMB | current macroblock |
| pl | current image plane |
| ioff | pixel offset X within MB |
| joff | pixel offset Y within MB |
Definition at line 424 of file intra4x4_pred.c.
References storable_picture::imgUV, and storable_picture::imgY.
Referenced by intrapred().
| 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.
References intra4x4_dc_pred(), intra4x4_diag_down_left_pred(), intra4x4_diag_down_right_pred(), intra4x4_hor_down_pred(), intra4x4_hor_pred(), intra4x4_hor_up_pred(), intra4x4_vert_left_pred(), intra4x4_vert_pred(), and intra4x4_vert_right_pred().
Referenced by decode_one_component().
