Lines Matching refs:left
862 static void add_median_prediction(HYuvContext *s, uint8_t *dst, const uint8_t *src, const uint8_t *diff, int w, int *left, int *left_top)
865 s->llviddsp.add_median_pred(dst, src, diff, w, left, left_top);
867 s->hdsp.add_hfyu_median_pred_int16((uint16_t *)dst, (const uint16_t *)src, (const uint16_t *)diff, s->n-1, w, left, left_top);
890 int left, lefttop, y;
905 left = left_prediction(s, p->data[plane], s->temp[0], w, 0);
911 left = left_prediction(s, dst, s->temp[0], w, left);
922 left= left_prediction(s, p->data[plane], s->temp[0], w, 0);
928 /* second line is left predicted for interlaced case */
931 left = left_prediction(s, p->data[plane] + p->linesize[plane], s->temp[0], w, left);
939 add_median_prediction(s, p->data[plane] + fake_stride, p->data[plane], s->temp[0], w, &left, &lefttop);
949 add_median_prediction(s, dst, dst - fake_stride, s->temp[0], w, &left, &lefttop);
1036 /* first line except first 2 pixels is left predicted */
1049 /* second line is left predicted for interlaced case */
1064 /* next 4 pixels are left predicted too */
1126 uint8_t left[4];
1130 left[A] = p->data[0][last_line + A] = get_bits(&s->gb, 8);
1131 left[R] = p->data[0][last_line + R] = get_bits(&s->gb, 8);
1132 left[G] = p->data[0][last_line + G] = get_bits(&s->gb, 8);
1133 left[B] = p->data[0][last_line + B] = get_bits(&s->gb, 8);
1135 left[R] = p->data[0][last_line + R] = get_bits(&s->gb, 8);
1136 left[G] = p->data[0][last_line + G] = get_bits(&s->gb, 8);
1137 left[B] = p->data[0][last_line + B] = get_bits(&s->gb, 8);
1138 left[A] = p->data[0][last_line + A] = 255;
1148 s->temp[0], width - 1, left);
1154 s->temp[0], width, left);
1157 left[A] = 0;