Log in

View Full Version : Linux RAW Video (YUV/RGB) Reading & Transformation


amatiman
2nd February 2006, 06:02
I am a very new person in the world of Audio & Video Enoding / Decoding.
The current assignment that I have been given is to develop an engine (in C) that would transform various RAW RGB & RAW YUV files from one form to other, i.e. RGB to YUV & vice-versa. ( RGB888 & below and YUV444 & below)

The problem Im facing is How to identify the format of the YUV & RGB files.What is the format of the Structure that defines its definition.

JI just wanna get an idea of the Structure that I can use to Decode these files in my programs. It wold be great if someone can show me a code segment ( preferably in "C" ) that reads & writes RGB & YUV files

Regards

A Matiman

amatiman
2nd February 2006, 06:02
I am a very new person in the world of Audio & Video Enoding / Decoding.
The current assignment that I have been given is to develop an engine (in C) that would transform various RAW RGB & RAW YUV files from one form to other, i.e. RGB to YUV & vice-versa. ( RGB888 & below and YUV444 & below)

The problem Im facing is How to identify the format of the YUV & RGB files.What is the format of the Structure that defines its definition.

JI just wanna get an idea of the Structure that I can use to Decode these files in my programs. It wold be great if someone can show me a code segment ( preferably in "C" ) that reads & writes RGB & YUV files

:confused:

Regards

A Matiman

amatiman
2nd February 2006, 06:32
Here is a more precise information about the type of work I want to perform, Take the YUV/RGB file (no information of any sort available inside the file) input with the details mentioned seperately on the basis of the various options available and transform it into any of the desired YUV/RGB format with the maximum possible portability options as possible (444, 422, 421, 420, YUYV or YUY2, YUV12 ...)

Regards

A Matiman

Manao
3rd February 2006, 21:13
Will you stop the crossposting ?

amatiman
6th February 2006, 06:37
Thanks Manao for your references and links and Im really sorry about the cross postings, its just that Im too desperate about gettin a solution to this problem...

KpeX
7th February 2006, 01:50
Thread closed, follow in dev forum.