DM8127 RDK 2.8- How to get the FramesBuf for YVU not raw data

Dear all,

I use DM8127 RDK 2.8 and demo code steting is vsysParams.systemUseCase = VSYS_USECASE_MULTICHN_TRISTREAM_FULLFTR

and I want to get 1080P YUV data for my own app use.

But the demo code only  App_ipcBitsInit(); 

I try this fun:  Int32 Vcap_getFullVideoFrames(VIDEO_FRAMEBUF_LIST_S *pFrameBufList, UInt32 timeout)  in Ti_vcap.c

but I get FrameBuf once only so who can tell me how to get. 

Thanks.

(\~~/)     
(='.'=)   
(") (")~~O  

Vincent Kuo

  • In reply to vincent kuo:

    Dear  Vincent :

                             Thank you for your answer ,and  I'm so sorry to call you "chair" . 

                              I not very familiar with ipnc RDK, and I only find the fun :App_ipcBitsInit() in demo .

                            Is add the  fun:  Int32 Vcap_getFullVideoFrames(VIDEO_FRAMEBUF_LIST_S *pFrameBufList, UInt32 timeout)  in Ti_vcap.c after App_ipcBitsInit() to get YUV data ?

                             My English is not very good, please forgive me.

     

  • In reply to Jack Jack2:

    Dear Jack Jack2...

    About the name it is ok...

    and my english is not good too.

    The IPNC_RDK is my first time use..

    Int32 Vcap_getFullVideoFrames(VIDEO_FRAMEBUF_LIST_S *pFrameBufList, UInt32 timeout)  in Ti_vcap.c after App_ipcBitsInit() to get YUV data ?

    I don't try this funs, so I don't know. I think it is the data after encoder.

    If you want make sure what is it, you can po the question to ask TI.

    do you need the yuv data only?

    (\~~/)     
    (='.'=)   
    (") (")~~O  

    Vincent Kuo

  • In reply to vincent kuo:

    Dear  vincent kuo ....

    I want to get a copy of the YUV data to DSP algorithm, but also do not want to affect the normal operation of the IPNC.

    Now , I don't know what should I do about that.

  • In reply to Jack Jack2:

    Dear Jack Jack2..

    Pls take a look for http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/182597.aspx#658353

    There is someone ask for dsp use EDMA to get yuv data or something.

    (\~~/)     
    (='.'=)   
    (") (")~~O  

    Vincent Kuo

  • In reply to vincent kuo:

    dear   vincent kuo :

                                     I also want to get YUV data to one of my want to ipnc integrated into the data processing function, but I don't know where to add this function,

    and how to get yuv data . Could you guide me ? thanks you .

     

     

  • In reply to time derek:

    Dear time derek,

    1. I use IPNC_RDK 3.2

    2. I modify the Rules.make

    # Capture Display Use case

    CAPTURE_DISPLAY_MODE_ON := YES

    # Set this flag to "YUV" = YUV frames (secondary stream only) will do a round trip M3-A8-M3 to reach the SD display # Set this flag to "RAW" = RAW frames will be sent to A8 and then back to M3

    FRAMES_TO_A8 := YUV

    3. Then you can get the YUV FrameBuf

    by

    ti_mcfw_ipcframes.c

    on 

    /home/vk/dm8127/Source/ipnc_rdk/ipnc_mcfw/demos/mcfw_api_demos/multich_usecase

    4.This is all I got so far.

    have a nice day.

    VK

    (\~~/)     
    (='.'=)   
    (") (")~~O  

    Vincent Kuo

  • In reply to vincent kuo:


        dear VK ...

                           Thank you for your answer , but I used the RDK 2.8 , It doesn't have ti_mcfw_ipcframes.c ,but has ti_mcfw_ipcBits.c .

         Does it can be used in ti_mcdw_main.c to get YUV Data ?

                           And could you tell me which fun() do you choosed ?

                           thanks again .

  • In reply to time derek:

    Dear Time Derek,

    The ti_mcfw_ipcBits.c is getting the Image after ENCODE. 

    I used the IPNC_RDK 3.2, so it has the fun what I told you.

    I don't made the IP cam product or something relation. I afraid I can not help you. But you can refer ITT folder in demo.

    It is use DCC software on PC via TCP/IP to get the YUV framer buffer,

    or

    You just move to IPNC_RDK 3.2, it might be a quickly way.

    I tried the rdk 2.8 to use funs in ti_vcam.c or ti_vcap.c.

    I want to get the yuv framebuf in main.c but it does not work, you can take a look what I posted and I don't get it.

    Vincent Kuo

    (\~~/)     
    (='.'=)   
    (") (")~~O  

    Vincent Kuo

  • In reply to vincent kuo:

    dear VK ...

    My goal is in full mode, main code flow to provide network transmission, second code spread to DSP algorithm to DSP after 264 decoding.

    But now I can't find the two code flow place. Also don't know this from which laid a hand on him, what about your can give some ideas?