Creating a Codec Server
How you define the groupId field can affect performance or whether a codec can be created at all. For detailed information on shared scratch memory, see the Framework Components documentation. You may save some time by reading the commentary for the server configuration script in the video_copy example, which is in <CE_install_dir>/examples /ti/sdo/ce/examples/servers/video_copy/video_copy.cfg.
What is true for sharing memory is also true for sharing DMA resources among codecs. Again, for details, please check the Framework Components documentation or the commentary regarding the theory and practice of DMA configuration in the video_copy configuration example in the script referenced above.
2.2.3.3More About the groupId Field
Note that although both the Server.algs[] and Engine.algs[] array have an optional groupId field, there is a distinction between the Server.algs[] and Engine.algs[] arrays. This makes sense, if you consider that
Server.algs[].groupId
For each algorithm in the respective algs[] array, if the optional groupId is uninitialized, the algorithm will be configured into a group with other algorithms that have their groupId field uninitialized and run at the same priority. If no algorithms have both of these attributes, it will be in a unique groupId.
Exactly which groupId it will be assigned into is
Also, if the groupId is
For example, in
requests using the (likely
Configuring a Codec Server |