This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: decode

Part Number: TDA4VM

Dear experts,

    I want to decode the H264 video on R5F core to display the boot animation. So I created a thread in the "L:\PROJECT_7.1\psdk_rtos_j7\vision_apps\apps\basic_demos\app_tirtos\tirtos_linux\mcu2_0\main.c" file to handle this. 

    I refer to the decode example(L:\PROJECT_7.1\psdk_rtos_j7\video_codec\examples\apps\decoder), but now I have a problem,there is a piece of memory in the file(L:\PROJECT_7.1\psdk_rtos_j7\video_codec\examples\apps\common\app_init.c) for the decode module(as show below), but I can't find this memory in "L:\PROJECT_7.1\psdk_rtos_j7\vision_apps\apps\basic_demos\app_tirtos\common\app_init.c). How can I configure this memory?

uint8_t g_img_dec_desc_mem[IMG_DEC_DESC_MEM_SIZE]
__attribute__ ((section(".bss:img_dec_desc_mem")))
__attribute__ ((aligned(4096)));

Looking forward to your reply.

Thanks & Best Regards!

  • Hello,

    You can find the configuration of this memory in the mpu.xs and the linker.cmd files.

    examples/apps/mcu2_1/linker.cmd:    .bss:img_dec_desc_mem       (NOLOAD) : {} > IMG_DEC_DESC_MEM
    examples/apps/mcu2_1/r5_mpu.xs:var img_dec_desc_mem_base_addr = 0xA1000000;
    

    Regards

    Karthik