Good question.

The Framework Components product (used by Codec Engine) remembers the
memTabs returned during the alg initialization - for other things like
scratch sharing - and therefore doesn't need to call algFree().

Note that _other_ frameworks _may not_ store this memTab info
internally, so xDAIS algs must implement algFree() - but in this case,
the framework - Framework Components - optimizes that call away.

Chris

> -----Original Message-----
> From: 
> [EMAIL PROTECTED]
> p.com 
> [mailto:[EMAIL PROTECTED]
> avincidsp.com] On Behalf Of SergA
> Sent: Tuesday, February 26, 2008 4:00 AM
> To: davinci-linux-open-source@linux.davincidsp.com
> Subject: alg dont call algFree
> 
> Hi i work on DaVinci. I use codec_engine_2_00.
> I note that algFree not call in my codec.
> Then I build example from codec_engine_2_00 - video_copy. I change
> memory map in video_copy server and set FULL_TRACING in 
> applicatin. As a
> result I see log where is NO "VIDDECCOPY_TI_free" or
> "VIDENCCOPY_TI_free".
> There is peace of log where I suppose must call VIDDECCOPY_TI_free()
> function:
> 
> @0x00030827:[T:0x87a0048c] CN - NODE_delete(0x87a01cd0): viddec_copy#1
> @0x0003085d:[T:0x87a0048c] ti.sdo.ce.video.VIDDEC - 
> VIDDEC_delete> Enter
> (handle=0x87a01d40)
> @0x00030898:[T:0x87a0048c] CV - VISA_delete(0x87a01d40)
> @0x000308c2:[T:0x87a0048c] CV - VISA_delete> deleting codec
> (localQueue=0xffff, remoteQueue=0xffff)
> @0x000308fc:[T:0x87a0048c] ti.sdo.ce.alg.Algorithm - Algorithm_delete>
> Enter(handle=0x87a01d68)
> @0x00030942:[T:0x87a0048c] OM - Memory_free> Enter(addr=0x87a01d68,
> size=16)
> @0x00030973:[T:0x87a0048c] OM - Memory_free> return (0x1)
> @0x00030998:[T:0x87a0048c] ti.sdo.ce.alg.Algorithm - Algorithm_delete>
> return
> @0x000309c5:[T:0x87a0048c] OM - Memory_free> Enter(addr=0x87a01d40,
> size=36)
> @0x000309f6:[T:0x87a0048c] OM - Memory_free> return (0x1)
> @0x00030a1b:[T:0x87a0048c] ti.sdo.ce.video.VIDDEC - VIDDEC_delete>
> return
> 
> Whats a problem?
> 
> Regards, Anton Sergeev.
> 
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> 
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to