Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 124038

Forum Post: RE: question about the *.cfg file of JPEG2K Encoder on C66x

$
0
0

Hi Wang,

I was pointed out that EDMA3LLD doesn't support C6671 platform (http://software-dl.ti.com/dsps/dsps_public_sw/psp/edma3_lld/edma3-lld-bios6/02_11_11_13/exports/release_notes_edma3_lld.html)

However, EDMA Resourse manager has a generic lib which can be used for any platform if the application supplies the EDMS "global configuration" and "region configuration" for the platform/application. An example of C6678 "global configuration" can be found at edma3_lld_02_11_05_02\packages\ti\sdo\edma3\rm\src\configs\edma3_c6678_cfg.c: EDMA3_RM_GblConfigParams edma3GblCfgParams [NUM_EDMA3_INSTANCES]. Similar array needs to be defined for C6671 according to C6671 spec, and then passed to FC along with region config before calling RMAN_init():

EDMA3_PARAMS.globalConfig = (EDMA3_GblConfigParams *)&global_config[edmaInstanceId];

EDMA3_PARAMS.regionConfig = (EDMA3_InstanceInitConfig *)&region_config[edmaInstanceId][coreId];

>>>Inside Current J2E Testapplication>>>

EDMA3_PARAMS.regionConfig = &C6608_config[1][DNUM];

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

About your buffer question, I checked j2e_ti_def.h, below max image values:

#define MAX_IMAGE_X 6600

#define MAX_IMAGE_Y 4400

#define MAX_DIM max(MAX_IMAGE_X,MAX_IMAGE_Y)

so your image should fit. Quick question when you decode the image both/neither/one decode ok?

thank you,

Paula

 


Viewing all articles
Browse latest Browse all 124038

Trending Articles



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