Searched refs:ALPHA_MAX (Results 1 – 1 of 1) sorted by relevance
48 #define ALPHA_MAX 1024 macro856 pixel_weights->weights[pixel_refs->nb] = b_weight * (ALPHA_MAX - alpha);\857 pixel_mvs->mvs[pixel_refs->nb][0] = av_clip((mv_x * alpha) / ALPHA_MAX, x_min, x_max);\858 pixel_mvs->mvs[pixel_refs->nb][1] = av_clip((mv_y * alpha) / ALPHA_MAX, y_min, y_max);\862 …pixel_mvs->mvs[pixel_refs->nb][0] = av_clip(-mv_x * (ALPHA_MAX - alpha) / ALPHA_MAX, x_min, x_max)…863 …pixel_mvs->mvs[pixel_refs->nb][1] = av_clip(-mv_y * (ALPHA_MAX - alpha) / ALPHA_MAX, y_min, y_max)…881 int a = dir ? alpha : (ALPHA_MAX - alpha); in bidirectional_obmc()887 … start_x = (mb_x << mi_ctx->log2_mb_size) - mi_ctx->mb_size / 2 + mv_x * a / ALPHA_MAX; in bidirectional_obmc()888 … start_y = (mb_y << mi_ctx->log2_mb_size) - mi_ctx->mb_size / 2 + mv_y * a / ALPHA_MAX; in bidirectional_obmc()939 pixel_weights->weights[0] = ALPHA_MAX - alpha; in set_frame_data()[all …]