manio / vdr-plugin-dvbapi

VDR dvbapi plugin for use with OSCam
http://www.streamboard.tv/wbb2/thread.php?threadid=40060
GNU General Public License v2.0
57 stars 25 forks source link

FFdecsa in big endian enviroments #19

Closed p3g4asus closed 10 years ago

p3g4asus commented 11 years ago

Hi I thought someone could be interested in a FFdecsa big endian patch. So I post it here. I have tested it under openwrt ar71xx. To compile FFdecsa for big endian enviroments, simply define _BO_IS_BIGENDIAN to a value different than 0 (for example compile with -D_BO_IS_BIGENDIAN=1) and choose a PARALLEL_MODE that has GROUP_PARALLELISM=32 (for example -DPARALLEL_MODE=PARALLEL_32_INT). Other PARALLEL_MODES are not supported yet. I post this patch here because maybe the author of this plugin would like to integrate this patch in his FFdecsa distribution and add a makefile switch in his Makefile. The patch is here: http://pastebin.com/Rd8vB2tr It was surprising at least for me that only 8 lines of code had to be changed to switch the endianess. In the patch I uncommented the "dump_mem" lines. They are commented out during preprocessing if DEBUG is not defined (as it should never be).

manio commented 11 years ago

Thanks, but what about libdvbcsa? It's main feature is portability. It was designed to run on different endianness (http://www.videolan.org/developers/libdvbcsa.html). You can check my libdvbcsa branch if it is also working (or maybe working better). I plan to integrate this library with master (as an option).

p3g4asus commented 11 years ago

Hi thanks for suggestion. In my enviroment dvbapi protocol doesn't seem to work and so I had to switch to newcamd and use sc plugin. I already knew about libdvbcsa and so, before developing this patch, I tried to integrate it in vdr-sc following the example of your libdvbcsa branch but the only things that I got were SegFaults. Your branch doesn't seem to produce any error but does not work in my enviroment. But, maybe, this is due to the dvbapi protocol not working. I will try again dvbapi with libdvbcsa + oscam and let you know.

CReimer commented 11 years ago

This patch adds libdvbcsa support to vdr-sc https://github.com/CReimer/vdr4arch/blob/master/plugins/vdr-sc/Add_libdvbcsa_support.diff

It's made of manio's libdvbcsa commits for vdr-dvbapi

manio commented 10 years ago

Ok ... I think it's time to close this "issue". I am not going to integrate this unoficcial ffdecsa patch. Users which are willing to use it, will probably google it out or will use libdvbcsa. Thank you for suggestions and sharing your patches anyway.