RGB > Arduino > YPbPr?

Hi,

I'm thinking about building a RGB to YPbPr converter, and I want to know if it is - at least theoretically - possible to do it with an Arduino, preferably the Uno.

I have a video chip (sitting in an old SEGA Master System) that outputs red, green, blue, sync and composite signals. Could I read these signals into the Arduino, write a sketch to process the conversion math, and then output Y, Pb, Pr?

Would the Arduino be fast enough for this? I know this 'should'/could be done with transistors, op-amps and stuff like that, but can it also be done with the Arduino?

--- From Wikipedia:
YPBPR is converted from the RGB video signal, which is split into three components: Y, PB, and PR.

Y carries luma (brightness or luminance) and synchronization (sync) information. Y = 0.2126 R + 0.7152 G + 0.0722 B Before the advent of color television, the Y axis on an oscilloscope display of a video waveform represented the intensity of the scan line. With color, Y still represents intensity but it is a composite of the component colors.
PB carries the difference between blue and luma (B − Y).
PR carries the difference between red and luma (R − Y).

How many bytes per second do you want to convert?

I suspect a 16MHz Arduino would be much too slow.
A Raspberry PI might be more suitable.

...R

Bytes? I don't know :-[

I suspected that the Arduino would be too slow. I have been reading about the TV-out, and then I got excited.

Might not be good application for Arduino, but A Piece of Cake for FPGA.