HI all:
Just now we are using am5728 to develop an h264 decode application.
Our gstreamer pipeline is like below:
h264 file -> h264parse -> ducatih264dec -> vpe -> appsink.
At last we get the yuv buffer from the appsink.
Now we found the appsink’s performance is very low. The situation is
When we copy a 3MB buffer from the appsink, it will cost about 50ms.
We think the time is too long.
The below is the appsink callback function
sample = gst_app_sink_pull_sample(GST_APP_SINK(object));
buffer = gst_sample_get_buffer(sample);
gst_buffer_map(buffer, &map, GST_MAP_READ);
gettimeofday(&tv1 ,&tz);
memcpy(pConv,map.data,map.size);
gettimeofday(&tv2 ,&tz);
The tv2 – tv1 = 50ms
So we want to know how can I decrease the copy time
Our am5728 is an custom board.
The Processor SDK is 03.03.00.04