Hi, everyone
Now, I want to implement RSZ and h264ENCODE in two different threads, but there is some problems as follows:
1. one thread and two threads comparison chart
the same one thread two different threads
(1) ioctl(hResize->fd, RSZ_RESIZE, &rsz) excute time 22ms 50ms
(2)VIDENC1_process excute time 25ms 38ms
(3)cpu loading 40-45% 85%-90%
I doubt that there is edma resoure competition between RSZ and h264encode?
2. My codec.cfg setting as follow:
The below is codec.cfg.
var EDMA3 = xdc.useModule('ti.sdo.fc.edma3.Settings');
EDMA3.maxRequests = 128;
var myEngine = Engine.create("codecs", [
// {name: "mpeg4enc", mod: MPEG4ENC, local: true, groupId: 1},
{name: "h264enc", mod: H264ENC, local: true, groupId: 1},
{name: "h264dec", mod: H264DEC, local: true, groupId: 1},
// {name: "g711enc", mod: G711ENC, local: true},
{name: "jpgenc", mod: JPEGENC, local: true, groupId: 1},
{name: "jpgdec", mod: JPEGDEC, local: true, groupId: 1},
]);
The dvsdk version is dvsdk_2_10_01_18 (dm365_h264dec_02_00_00_11 + dm365_h264dec_02_00_00_11) .
Can you give me some help?
Thank you!Give my best wishes to you!