Explorar el Código

Ensure dumpmovie outputs YUVA pictures.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4703 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam hace 14 años
padre
commit
72505ff431
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. +3
    -2
      examples/dumpmovie.c

+ 3
- 2
examples/dumpmovie.c Ver fichero

@@ -124,9 +124,10 @@ int main(int argc, char *argv[])

for (x = 0; x < ctx->width; x++, off++)
{
/* Reorder components to store YUVA */
data[4 * off] = dst[0][off];
data[4 * off + 1] = dst[1][off];
data[4 * off + 2] = dst[2][off];
data[4 * off + 1] = dst[2][off];
data[4 * off + 2] = dst[1][off];
data[4 * off + 3] = 0xff;
}
}


Cargando…
Cancelar
Guardar