Include dependency graph for motion_comp.c:

Defines | |
| #define | avg2(a, b) ((a+b+1)>>1) |
| #define | avg4(a, b, c, d) ((a+b+c+d+2)>>2) |
| #define | predict_o(i) (ref[i]) |
| #define | predict_x(i) (avg2 (ref[i], ref[i+1])) |
| #define | predict_y(i) (avg2 (ref[i], (ref+stride)[i])) |
| #define | predict_xy(i) |
| #define | put(predictor, i) dest[i] = predictor (i) |
| #define | avg(predictor, i) dest[i] = avg2 (predictor (i), dest[i]) |
| #define | MC_FUNC(op, xy) |
Functions | |
| void | mpeg2_mc_init (uint32_t accel) |
| static void | MC_put_o_16_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_put_o_8_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_avg_o_16_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_avg_o_8_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_put_x_16_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_put_x_8_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_avg_x_16_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_avg_x_8_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_put_y_16_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_put_y_8_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_avg_y_16_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_avg_y_8_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_put_xy_16_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_put_xy_8_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_avg_xy_16_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
| static void | MC_avg_xy_8_c (uint8_t *dest, const uint8_t *ref, const int stride, int height) |
Variables | |
| mpeg2_mc_t | mpeg2_mc |
| mpeg2_mc_t | mpeg2_mc_c = { {MC_put_o_16_c , MC_put_x_16_c , MC_put_y_16_c , MC_put_xy_16_c , MC_put_o_8_c , MC_put_x_8_c , MC_put_y_8_c , MC_put_xy_8_c }, {MC_avg_o_16_c , MC_avg_x_16_c , MC_avg_y_16_c , MC_avg_xy_16_c , MC_avg_o_8_c , MC_avg_x_8_c , MC_avg_y_8_c , MC_avg_xy_8_c } } |
| #define avg | ( | predictor, | |||
| i | ) | dest[i] = avg2 (predictor (i), dest[i]) |
| #define avg2 | ( | a, | |||
| b | ) | ((a+b+1)>>1) |
| #define avg4 | ( | a, | |||
| b, | |||||
| c, | |||||
| d | ) | ((a+b+c+d+2)>>2) |
| #define MC_FUNC | ( | op, | |||
| xy | ) |
| #define predict_o | ( | i | ) | (ref[i]) |
| #define predict_x | ( | i | ) | (avg2 (ref[i], ref[i+1])) |
| #define predict_xy | ( | i | ) |
Value:
(avg4 (ref[i], ref[i+1], \ (ref+stride)[i], (ref+stride)[i+1]))
| #define predict_y | ( | i | ) | (avg2 (ref[i], (ref+stride)[i])) |
| #define put | ( | predictor, | |||
| i | ) | dest[i] = predictor (i) |
| static void MC_avg_o_16_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_avg_o_8_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_avg_x_16_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_avg_x_8_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_avg_xy_16_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_avg_xy_8_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_avg_y_16_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_avg_y_8_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_put_o_16_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_put_o_8_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_put_x_16_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_put_x_8_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_put_xy_16_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_put_xy_8_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_put_y_16_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| static void MC_put_y_8_c | ( | uint8_t * | dest, | |
| const uint8_t * | ref, | |||
| const int | stride, | |||
| int | height | |||
| ) | [static] |
| void mpeg2_mc_init | ( | uint32_t | accel | ) |
| mpeg2_mc_t mpeg2_mc_c = { {MC_put_o_16_c , MC_put_x_16_c , MC_put_y_16_c , MC_put_xy_16_c , MC_put_o_8_c , MC_put_x_8_c , MC_put_y_8_c , MC_put_xy_8_c }, {MC_avg_o_16_c , MC_avg_x_16_c , MC_avg_y_16_c , MC_avg_xy_16_c , MC_avg_o_8_c , MC_avg_x_8_c , MC_avg_y_8_c , MC_avg_xy_8_c } } |
1.5.1