Re: [linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-03-07 Thread Milos Ladni
I'm glad to hear that. I hope that you will find out what the cause is. However, before ioctl reset, sometimes i had some strange glitches in h264 decoded picture when work simultaneous with h264enc. Some small blocks in the picture was wrong (usually upper left part of picture) color or

Re: [linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-03-06 Thread Manuel Braga
On Mon, 6 Mar 2017 00:51:08 -0800 (PST) Milos Ladni wrote: > Hi, > > > What i can suggest you to do is to make an experience, to check if > > the hardware is been correctly configured for each task. > > > > Before selecting the subengine for each task change, to do a

Re: [linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-03-06 Thread Milos Ladni
Hi, > What i can suggest you to do is to make an experience, to check if the > hardware is been correctly configured for each task. > > Before selecting the subengine for each task change, to do a hardware > reset first. (In your tvin2jpeg.c, in function ve_selectsubengine put a > call to the

Re: [linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-03-03 Thread Manuel Braga
On Thu, 2 Mar 2017 07:58:21 -0800 (PST) Milos Ladni wrote: > Hi, > > > The application crashs(segfault?), and running under a debugger > > doesn't give any clues about what could be? > > The app works fine and then in some arbitrary moment when need to > decode new

Re: [linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-03-02 Thread Milos Ladni
Hi, > The application crashs(segfault?), and running under a debugger doesn't > give any clues about what could be? The app works fine and then in some arbitrary moment when need to decode new frame which consisting from few slices it stuck on first slice in this frame while

Re: [linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-02-27 Thread Manuel Braga
Hi. On Fri, 24 Feb 2017 05:55:31 -0800 (PST) Milos Ladni wrote: > Thank you Manuel! I did nothing, if there is thanks is for you. > > I managed to make a H264 decoder and it works fine. > Now i can run all four operation simultaneous but... > > Known bug: > For

Re: [linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-02-24 Thread Milos Ladni
Thank you Manuel! I managed to make a H264 decoder and it works fine. Now i can run all four operation simultaneous but... Known bug: For now the app can play source with 'num_ref_frames' greater or equal to 1 but if i try to play source with 'num_ref_frames: 3' simultaneous with 264Enc the

Re: [linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-01-10 Thread Manuel Braga
Hi. On Tue, 10 Jan 2017 01:05:16 -0800 (PST) Milos Ladni wrote: > Hi again, > > I just wanted to make PoC test simultaneous tasks for my future > project and to show others how much this platform is powerful. > I need tvin, h264-jpeg encoder+scaler and decoder. Maybe

Re: [linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-01-10 Thread Milos Ladni
Hi again, I just wanted to make PoC test simultaneous tasks for my future project and to show others how much this platform is powerful. I need tvin, h264-jpeg encoder+scaler and decoder. Maybe i do not need all four operation simultaneous, but for now i have two cases: -

Re: [linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-01-09 Thread Manuel Braga
Hi. On Mon, 9 Jan 2017 01:50:40 -0800 (PST) Milos Ladni wrote: > Hello Manuel, > I just added hw JPEG decoder in my apps. > Now i can do simultaneous h264 encoding, jpeg encoding and jpeg > decoding with just ~20% CPU and 25 fps. Great. > How app works: > Take

[linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2017-01-09 Thread Milos Ladni
Hello Manuel, I just added hw JPEG decoder in my apps. Now i can do simultaneous h264 encoding, jpeg encoding and jpeg decoding with just ~20% CPU and 25 fps. How app works: Take frame from camera tv-in CVBS 720x576, show it on display by sunxi display engine in smaller resolution 542x359

[linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2016-11-24 Thread Milos Ladni
Sorry i do not have H3, only A10, A10s, A13, A20 On Thursday, November 24, 2016 at 2:36:53 PM UTC+1, @lex wrote: > > Have you tried to port it (JPEG encoder) to H3? > > On Thursday, November 24, 2016 at 10:20:38 AM UTC-2, Milos Ladni wrote: >> >> Hello, >> >> This is yet another Proof of Concept

[linux-sunxi] Re: PoC tvin2jpeg_h264 with veisp scaling

2016-11-24 Thread @lex
Have you tried to port it (JPEG encoder) to H3? On Thursday, November 24, 2016 at 10:20:38 AM UTC-2, Milos Ladni wrote: > > Hello, > > This is yet another Proof of Concept analogue TV decoder (TV-IN) and > hardware accelerated H264-JPEG encoder with VEISP scaling for sunxi. > This example