Home | History | Annotate | Download | only in generic

Lines Matching refs:dst

584  *                  YV12_BUFFER_CONFIG *dst       : Pointer to buffer to hold scaled frame.
606 YV12_BUFFER_CONFIG *dst,
622 (unsigned char *) dst->y_buffer, dst->y_stride, dw, dh,
625 if (dw < (int)dst->y_width)
627 duck_memset(dst->y_buffer + i * dst->y_stride + dw - 1, dst->y_buffer[i*dst->y_stride+dw-2], dst->y_width - dw + 1);
629 if (dh < (int)dst->y_height)
630 for (i = dh - 1; i < (int)dst->y_height; i++)
631 duck_memcpy(dst->y_buffer + i * dst->y_stride, dst->y_buffer + (dh - 2) * dst->y_stride, dst->y_width + 1);
634 (unsigned char *) dst->u_buffer, dst->uv_stride, dw / 2, dh / 2,
637 if (dw / 2 < (int)dst->uv_width)
638 for (i = 0; i < dst->uv_height; i++)
639 duck_memset(dst->u_buffer + i * dst->uv_stride + dw / 2 - 1, dst->u_buffer[i*dst->uv_stride+dw/2-2], dst->uv_width - dw / 2 + 1);
641 if (dh / 2 < (int)dst->uv_height)
642 for (i = dh / 2 - 1; i < (int)dst->y_height / 2; i++)
643 duck_memcpy(dst->u_buffer + i * dst->uv_stride, dst->u_buffer + (dh / 2 - 2)*dst->uv_stride, dst->uv_width);
646 (unsigned char *) dst->v_buffer, dst->uv_stride, dw / 2, dh / 2,
649 if (dw / 2 < (int)dst->uv_width)
650 for (i = 0; i < dst->uv_height; i++)
651 duck_memset(dst->v_buffer + i * dst->uv_stride + dw / 2 - 1, dst->v_buffer[i*dst->uv_stride+dw/2-2], dst->uv_width - dw / 2 + 1);
653 if (dh / 2 < (int) dst->uv_height)
654 for (i = dh / 2 - 1; i < (int)dst->y_height / 2; i++)
655 duck_memcpy(dst->v_buffer + i * dst->uv_stride, dst->v_buffer + (dh / 2 - 2)*dst->uv_stride, dst->uv_width);