Hallo zusammen,
folgendes Problem:
Ich habe in einem byte[] Bilddaten im Format YUY2 (4:2:2) vorliegen.
(YUY2 bedeutet YUV-Daten in der Reihenfolge Y0,U0,Y1,V0,Y2,U2,Y3,V2......)
Daraus möchte ich ein Bitmap im YUY2 Format erstellen.
(...später dann ein avi-Video im YUY2-Format)
Ich habe schon die Tutorials von Corinna John zum Thema AVI durchgeschaut und mittlerweile auch problemlos ein "normales" Bitmap bzw. AVI-Video aus RGB888-Daten in einem byte[] erstellt.
Wie kann ich aber das ganze mit meinen YUY2-Daten machen ????
(Bitmapinfoheader ? Pixelformat ??..klappt irgendwie nicht so richtig...)
Kann mir jemand einen Tip geben ? Wäre super !!
Gruß Christian
folgendes Problem:
Ich habe in einem byte[] Bilddaten im Format YUY2 (4:2:2) vorliegen.
(YUY2 bedeutet YUV-Daten in der Reihenfolge Y0,U0,Y1,V0,Y2,U2,Y3,V2......)
Daraus möchte ich ein Bitmap im YUY2 Format erstellen.
(...später dann ein avi-Video im YUY2-Format)
Ich habe schon die Tutorials von Corinna John zum Thema AVI durchgeschaut und mittlerweile auch problemlos ein "normales" Bitmap bzw. AVI-Video aus RGB888-Daten in einem byte[] erstellt.
Wie kann ich aber das ganze mit meinen YUY2-Daten machen ????
(Bitmapinfoheader ? Pixelformat ??..klappt irgendwie nicht so richtig...)
Kann mir jemand einen Tip geben ? Wäre super !!
Gruß Christian