raspberrypi / firmware

This repository contains pre-compiled binaries of the current Raspberry Pi kernel and modules, userspace libraries, and bootloader/GPU firmware.
5.18k stars 1.68k forks source link

GPU accelerated image decoding #261

Closed lprot closed 10 years ago

lprot commented 10 years ago

Can you please list or link me to the list of formats that firmware can decode on GPU? Asking because omx decode often reports corrupt stream...

Thanks in advance.

lprot commented 10 years ago

I'm talking about: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=70&t=45287

popcornmix commented 10 years ago

I would say only jpeg is supported and tested.

There is some code in place for png, gif, bmp, ppm, tga and tif, but in general the decoders are only designed to support files that we have encoded.

It is quite likely that compressed or palletised forms of these will return a failure.

lprot commented 10 years ago

What are exact specs of jpeg? Min max res, progressive or non progressive, pixel format etc.

popcornmix commented 10 years ago

Jpegs must be non-progressive and have 3 colour components (i.e. no CMKY). No size limit apart from memory.

lprot commented 10 years ago

Thanks!