mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
videoscale: remove defunct commented code
This commit is contained in:
parent
6a87cb5248
commit
23dde756e6
1 changed files with 0 additions and 8 deletions
|
@ -1240,8 +1240,6 @@ vs_image_scale_linear_AYUV64 (const VSImage * dest, const VSImage * src,
|
||||||
#define LINE(x) ((guint16 *)((tmpbuf) + (dest_size)*((x)&1)))
|
#define LINE(x) ((guint16 *)((tmpbuf) + (dest_size)*((x)&1)))
|
||||||
|
|
||||||
acc = 0;
|
acc = 0;
|
||||||
//video_scale_orc_resample_bilinear_u64 (LINE (0), src->pixels,
|
|
||||||
// 0, x_increment, dest->width);
|
|
||||||
xacc = 0;
|
xacc = 0;
|
||||||
vs_scanline_resample_linear_AYUV64 ((guint8 *) LINE (0),
|
vs_scanline_resample_linear_AYUV64 ((guint8 *) LINE (0),
|
||||||
src->pixels, src->width, dest->width, &xacc, x_increment);
|
src->pixels, src->width, dest->width, &xacc, x_increment);
|
||||||
|
@ -1258,8 +1256,6 @@ vs_image_scale_linear_AYUV64 (const VSImage * dest, const VSImage * src,
|
||||||
vs_scanline_resample_linear_AYUV64 ((guint8 *) LINE (j),
|
vs_scanline_resample_linear_AYUV64 ((guint8 *) LINE (j),
|
||||||
src->pixels + j * src->stride, src->width, dest->width, &xacc,
|
src->pixels + j * src->stride, src->width, dest->width, &xacc,
|
||||||
x_increment);
|
x_increment);
|
||||||
//video_scale_orc_resample_bilinear_u64 (LINE (j),
|
|
||||||
// src->pixels + j * src->stride, 0, x_increment, dest->width);
|
|
||||||
y1++;
|
y1++;
|
||||||
}
|
}
|
||||||
if (j >= y1) {
|
if (j >= y1) {
|
||||||
|
@ -1270,10 +1266,6 @@ vs_image_scale_linear_AYUV64 (const VSImage * dest, const VSImage * src,
|
||||||
video_scale_orc_merge_linear_u16 ((guint16 *) (dest->pixels +
|
video_scale_orc_merge_linear_u16 ((guint16 *) (dest->pixels +
|
||||||
i * dest->stride), LINE (j), LINE (j + 1), 65536 - x, x,
|
i * dest->stride), LINE (j), LINE (j + 1), 65536 - x, x,
|
||||||
dest->width * 4);
|
dest->width * 4);
|
||||||
//video_scale_orc_resample_merge_bilinear_u64 (dest->pixels +
|
|
||||||
// i * dest->stride, LINE (j + 1), LINE (j),
|
|
||||||
// src->pixels + (j + 1) * src->stride, (x >> 8), 0, x_increment,
|
|
||||||
// dest->width);
|
|
||||||
y1++;
|
y1++;
|
||||||
} else {
|
} else {
|
||||||
video_scale_orc_merge_linear_u16 ((guint16 *) (dest->pixels +
|
video_scale_orc_merge_linear_u16 ((guint16 *) (dest->pixels +
|
||||||
|
|
Loading…
Reference in a new issue