Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

The value returned by RMAN_assignResources function is IRES_ENORESOURCE...

$
0
0

Hi,

   I tried to initialize 2 or more H264 baseline video codec's instance in the same thread base on the h264 video encoder unit test program running on c6678.

 The first instance can be create successfully while the value returned by RMAN_assignResources function of the second instance is IRES_ENORESOURCE.

 So how can I assign the same EDMA resource to 2 or more instance in the same thread? The calling sequence is as below:

      RMAN_init();    

      ires_status = RMAN_assignResources((IALG_Handle)codecHandle, (IRES_Fxns*)resFxns, scratchId);  //Codec instance 1 return IRES_OK

      ires_status = RMAN_assignResources((IALG_Handle)codecHandle, (IRES_Fxns*)resFxns, scratchId);  //Codec instance 2 return IRES_ENORESOURCE      ... ...

     The codecHandle above are different and the resFxns are the same. The RTSC config is set below:

    RMAN.useDSKT2 = true;   

    RMAN.yieldSamePriority = true;   

    RMAN.tableSize = 10;

    RMAN.maxAlgs = 10;

That is I want to create 10 instance of the same algorithm in the same thread. So how can I do that?

Thanks a lot!

B.R.

Sunzhao


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>