Commit Graph

13 Commits

Author SHA1 Message Date
Stefan Seyfried
2f7cb6401f raspi/AVDec: various improvements for A/V decoders
* retry on errors in the decoding loop
* better interaction with avcodec_omx
2013-10-20 01:11:36 +02:00
Stefan Seyfried
2784941b7e raspi/avcodec_omx: various hacks to the state machine
* fix invalid locking when for MSG_NEWCHANNEL
* fix restarting video decoder with proper omx teardown
2013-10-20 01:05:30 +02:00
Stefan Seyfried
b424d34536 raspi/codec: fix memleak when skipping packets 2013-10-20 01:04:40 +02:00
Stefan Seyfried
4c13442e05 raspi/avdec: allow setting audio out via RASPI_AUDIO variable 2013-10-20 01:02:56 +02:00
Stefan Seyfried
d71ae5b4f9 raspi/omx_utils: fix ordering of shutdown sequence
apparently, all ports need to be disabled before the inter-component
tunnels are teared down, otherwise video_decodeRIL:image pool objects
will leak
see http://www.raspberrypi.org/phpBB3/viewtopic.php?f=70&t=48177
2013-10-20 00:47:03 +02:00
Stefan Seyfried
d736e87d4e raspi/glfb: clean up objects on exit, remove double buffer 2013-10-20 00:03:12 +02:00
Stefan Seyfried
48df8f882a raspi: fix ordering of AVDec and GLFB
it looks like the videocore libs are leaking objects if
OMX_Init() is called after the dispmanx setup, so do it
in the correct order
2013-10-19 22:59:41 +02:00
Stefan Seyfried
06035e8ea1 raspi/avcodec_omx: set thread names 2013-10-13 22:51:30 +02:00
Stefan Seyfried
510b655710 raspi: use decoder implementation from pidvbip
* remove ilclient
* use a decoder implementation similar to pidvbip instead,
  see https://github.com/linuxstb/pidvbip
* video is decoded in hardware (videocore)
* audio is decoded by libavcodec
* add a AVDec wrapper class for both audio and video decoders
* very raw, needs more polishing. But decodes audio and video :-)
* only tested with h264
2013-10-13 22:36:45 +02:00
Stefan Seyfried
19b0ff20e1 raspi: add first try of video decoder implementation
This is very raw and unfinished, it clearly needs some more polishing.
But it decodes h264 channels :-)
2013-10-10 00:10:21 +02:00
Stefan Seyfried
0f9bc4f95c raspi: switch demux target to internal decoder 2013-10-10 00:05:55 +02:00
Stefan Seyfried
7c942c3745 raspi: add ilclient files
these are from the raspberrypi firmware git example apps that
show how to use the videocore for encoding / decoding.
I'll try to use them for accessing the a / v decoders.
License is 3-Clause BSD and thus compatible with GPLv2.
2013-10-09 23:50:50 +02:00
Stefan Seyfried
92edef3e48 add skeleton for Raspberry Pi support
no audio / video decoding, yet :-(
2013-10-05 22:02:13 +02:00