RE: using extended params for MPEG4 encoding

2009-02-26 Thread Ring, Chris
lue of the size parameter. Chris From: Stephen Berry [mailto:s...@i-d-2.com] Sent: Thursday, February 26, 2009 9:56 AM To: Ring, Chris Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: using extended params for MPEG4 encoding Ring, Chris wrote: Quick o

Re: using extended params for MPEG4 encoding

2009-02-26 Thread Stephen Berry
Ring, Chris wrote: > Quick one... this comment may not be right: > > >> I would be more than happy to use VIDENC1_create - but it >> takes a param >> structure of VIDENC1_Params - which doesn't support the extended >> arguments that I'm trying to change. >> > > So long as the extended fie

RE: using extended params for MPEG4 encoding

2009-02-26 Thread Ring, Chris
i-linux-open-source@linux.davincidsp.com > Subject: Re: using extended params for MPEG4 encoding > > > > Vladimir Pantelic wrote: > > Stephen Berry wrote: > >> > >> Vladimir Pantelic wrote: > >>> Stephen Berry wrote: > >>>> the routine f

RE: using extended params for MPEG4 encoding

2009-02-26 Thread Ring, Chris
Sent: Thursday, February 26, 2009 8:35 AM > To: davinci-linux-open-source@linux.davincidsp.com > Subject: Re: using extended params for MPEG4 encoding > > Hi, > > I've been faced to a similar issue. Check that the > parameters structure exist > as long the Engine run (no

Re: using extended params for MPEG4 encoding

2009-02-26 Thread eric Debief
Hi, I've been faced to a similar issue. Check that the parameters structure exist as long the Engine run (not allocated on the stack). The TI routine will simply keep the pointer and use it. It will not copy it. Hope this help. Sorry if I 've missed the target, but i'm very very loaded this tim

Re: using extended params for MPEG4 encoding

2009-02-26 Thread Stephen Berry
Vladimir Pantelic wrote: > Stephen Berry wrote: >> >> Vladimir Pantelic wrote: >>> Stephen Berry wrote: the routine follows. The call to VIDENC1_control is the routine that segfaults. I'm not using the ividEncfxns->algControl call... #if 1 ext_params.videncParams.size

Re: using extended params for MPEG4 encoding

2009-02-26 Thread Vladimir Pantelic
Stephen Berry wrote: Vladimir Pantelic wrote: Stephen Berry wrote: the routine follows. The call to VIDENC1_control is the routine that segfaults. I'm not using the ividEncfxns->algControl call... #if 1 ext_params.videncParams.size = sizeof(IMP4VENC_Params); hEncode = (VIDENC1_Handle

Re: using extended params for MPEG4 encoding

2009-02-26 Thread Stephen Berry
Vladimir Pantelic wrote: > Stephen Berry wrote: >> the routine follows. The call to VIDENC1_control is the routine that >> segfaults. I'm not using the ividEncfxns->algControl call... >> >> #if 1 >> ext_params.videncParams.size = sizeof(IMP4VENC_Params); >> >> hEncode = (VIDENC1_Handle) A

Re: using extended params for MPEG4 encoding

2009-02-26 Thread Vladimir Pantelic
Stephen Berry wrote: the routine follows. The call to VIDENC1_control is the routine that segfaults. I'm not using the ividEncfxns->algControl call... #if 1 ext_params.videncParams.size = sizeof(IMP4VENC_Params); hEncode = (VIDENC1_Handle) ALG_create(1, (IALG_Fxns *)& MP4VENC_TI_IMP4V

Re: using extended params for MPEG4 encoding

2009-02-25 Thread Stephen Berry
the routine follows. The call to VIDENC1_control is the routine that segfaults. I'm not using the ividEncfxns->algControl call... thanks... Vladimir Pantelic wrote: > Stephen Berry wrote: > >>> why would I need to change the size to a different structure type? >>> >>> I double checked the example

Re: using extended params for MPEG4 encoding

2009-02-25 Thread Vladimir Pantelic
Stephen Berry wrote: why would I need to change the size to a different structure type? I double checked the example and this was in there, I just missed it. I'll give it a try and see what happens... thanks! I made this change, and the code still SEGFAULTS in the control call. If I return a

Re: using extended params for MPEG4 encoding

2009-02-25 Thread Vladimir Pantelic
Stephen Berry wrote: // These parameters are for the highest quality picture... ext_params.videncParams = params; you copy the standard params here, but you do not update the size, no? you need to do: ext_params.videncParams.size = sizeof(IMP4VENC_Params); why would I need to change th

Re: using extended params for MPEG4 encoding

2009-02-25 Thread Stephen Berry
more info below... Stephen Berry wrote: > Vladimir Pantelic wrote: > >> Stephen Berry wrote: >> >>> I'm having some trouble trying to increase the quality of the video >>> on my dm355 design. In particular I am trying to manipulate the initQ >>> parameter in IMP4ENC_Params structure, along

Re: using extended params for MPEG4 encoding

2009-02-25 Thread Stephen Berry
Vladimir Pantelic wrote: > Stephen Berry wrote: >> >> I'm having some trouble trying to increase the quality of the video >> on my dm355 design. In particular I am trying to manipulate the initQ >> parameter in IMP4ENC_Params structure, along with some others. > >> /**

Re: using extended params for MPEG4 encoding

2009-02-24 Thread Vladimir Pantelic
Stephen Berry wrote: I'm having some trouble trying to increase the quality of the video on my dm355 design. In particular I am trying to manipulate the initQ parameter in IMP4ENC_Params structure, along with some others. /