EDIT : Use a simple pipeline as example.
Hi,
After some test around Noisefilter (both gstreamer and native OpenMax apps), I may have find a memory leak.
After one run, according to sys_top, I will loose 19440 bytes.I loose the same every run, and it's look like buffer numbers and buffer size independent.
I had made multiple try, and I had isolate the OMX.TI.VPSSM3.VFPC.NF component.
You can experiment like that with sys_top and gstreamer :
-> No memory leak :
* Command :
gst-launch -e -vvv fakesrc ! 'video/x-raw-yuv, width=(int)1280, height=(int)720, format=(fourcc)NV12, framerate=(fraction)60/1' ! omx_scaler ! fakesink silent=true
* Before :
MC.HDVPSS:
Firmware Version: UNKNOWN/INTERNAL VERSION
0 Heap:Size 2097152 Used 119872 MaxU 119872 Free 1977280 LarF 1977280
* After
MC.HDVPSS:
Firmware Version: UNKNOWN/INTERNAL VERSION
0 Heap:Size 2097152 Used 119872 MaxU 119872 Free 1977280 LarF 1977280
-> With memory leak :
* Command :
gst-launch -e -vvv fakesrc ! 'video/x-raw-yuv, width=(int)1280, height=(int)720, format=(fourcc)YUY2, framerate=(fraction)60/1' ! omx_noisefilter ! fakesink silent=true
* Before :
MC.HDVPSS:
Firmware Version: UNKNOWN/INTERNAL VERSION
0 Heap:Size 2097152 Used 119872 MaxU 119872 Free 1977280 LarF 1977280
* After :
MC.HDVPSS:
Firmware Version: UNKNOWN/INTERNAL VERSION
0 Heap:Size 2097152 Used 139312 MaxU 1616832 Free 1957840 LarF 1180816
Diff : 19440
Since I do not have access to OMX.TI.VPSSM3.VFPC.NF internal function, can you examine this memory leak ? Can you reproduce it ?
Thanks,
Jean-Baptiste