static void yuv422_to_yuv422p(AVPicture *dst, AVPicture *src,
static void yuv422_to_yuv422p(AVPicture *dst, const AVPicture *src,
static void yuv422_to_yuv422p(AVPicture *dst, AVPicture *src,                              int width, int height){    const uint8_t *p, *p1;    uint8_t *lum, *cr, *cb, *lum1, *cr1, *cb1;    int w;    p1 = src->data[0];    lum1 = dst->data[0];    cb1 = dst->data[1];    cr1 = dst->data[2];    for(;height > 0; height--) {        p = p1;        lum = lum1;        cb = cb1;        cr = cr1;        for(w = width; w >= 2; w -= 2) {            lum[0] = p[0];            cb[0] = p[1];            lum[1] = p[2];            cr[0] = p[3];            p += 4;            lum += 2;            cb++;            cr++;        }        p1 += src->linesize[0];        lum1 += dst->linesize[0];        cb1 += dst->linesize[1];        cr1 += dst->linesize[2];    }}