121
121
mpi->flags|=MP_IMGFLAG_SWAPPED;
124
130
mpi->flags|=MP_IMGFLAG_YUV;
126
131
if (mp_get_chroma_shift(out_fmt, NULL, NULL, NULL)) {
127
132
mpi->flags|=MP_IMGFLAG_PLANAR;
128
133
mpi->bpp = mp_get_chroma_shift(out_fmt, &mpi->chroma_x_shift, &mpi->chroma_y_shift, NULL);