|
|
|
@ -2354,7 +2354,7 @@ static void RENAME(yuyvtoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, co |
|
|
|
|
int lumStride, int chromStride, int srcStride) |
|
|
|
|
{ |
|
|
|
|
int y; |
|
|
|
|
const int chromWidth= -((-width)>>1); |
|
|
|
|
const int chromWidth = FF_CEIL_RSHIFT(width, 1); |
|
|
|
|
|
|
|
|
|
for (y=0; y<height; y++) { |
|
|
|
|
RENAME(extract_even)(src, ydst, width); |
|
|
|
@ -2380,7 +2380,7 @@ static void RENAME(yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, co |
|
|
|
|
int lumStride, int chromStride, int srcStride) |
|
|
|
|
{ |
|
|
|
|
int y; |
|
|
|
|
const int chromWidth= -((-width)>>1); |
|
|
|
|
const int chromWidth = FF_CEIL_RSHIFT(width, 1); |
|
|
|
|
|
|
|
|
|
for (y=0; y<height; y++) { |
|
|
|
|
RENAME(extract_even)(src, ydst, width); |
|
|
|
@ -2404,7 +2404,7 @@ static void RENAME(uyvytoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, co |
|
|
|
|
int lumStride, int chromStride, int srcStride) |
|
|
|
|
{ |
|
|
|
|
int y; |
|
|
|
|
const int chromWidth= -((-width)>>1); |
|
|
|
|
const int chromWidth = FF_CEIL_RSHIFT(width, 1); |
|
|
|
|
|
|
|
|
|
for (y=0; y<height; y++) { |
|
|
|
|
RENAME(extract_even)(src+1, ydst, width); |
|
|
|
@ -2430,7 +2430,7 @@ static void RENAME(uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, co |
|
|
|
|
int lumStride, int chromStride, int srcStride) |
|
|
|
|
{ |
|
|
|
|
int y; |
|
|
|
|
const int chromWidth= -((-width)>>1); |
|
|
|
|
const int chromWidth = FF_CEIL_RSHIFT(width, 1); |
|
|
|
|
|
|
|
|
|
for (y=0; y<height; y++) { |
|
|
|
|
RENAME(extract_even)(src+1, ydst, width); |
|
|
|
|