Shuvo Sarkar

Members
  • Content Count

    24
  • Joined

  • Last visited

About Shuvo Sarkar

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Shuvo Sarkar

    Zybo Grayscale output.

    Hi @hamster, I have seen in SDSoC-platforms example the grayscale is applied, which takes rgb and weighted with graysale values. The code I found is following. Will it work in the hdmi in and vga out project sdk? void DemoGrayFrameSw(u16 *srcFrame, u16 *destFrame) { u32 xcoi, ycoi; for(ycoi = 0; ycoi < DEMO_HEIGHT; ycoi++) { for(xcoi = 0; xcoi < DEMO_WIDTH; xcoi++) { u16 r, g, b, gray; u16 pxlIn, pxlOut; pxlIn = srcFrame[xcoi + ycoi * DEMO_WIDTH]; r = ((pxlIn & 0xF800) >> (11-3)); b = ((pxlIn & 0x07C0) >> (6-3)); g = ((pxlIn & 0x003F) << 2); gray = (r * 76 + g * 150 + b * 29 + 128) >> 8; pxlOut = (((gray + 4) & 0x00F8) << (11-3)) | (((gray + 4) & 0x00F8) << (6-3)) | (((gray + 4) & 0x00F8) >> 2); if (xcoi < (videoCapt.timing.HActiveVideo / 2)) destFrame[xcoi + ycoi * DEMO_WIDTH] = pxlIn; else destFrame[xcoi + ycoi * DEMO_WIDTH] = pxlOut; } } /* * Flush the framebuffer memory range to ensure changes are written to the * actual memory, and therefore accessible by the VDMA. */ Xil_DCacheFlushRange((unsigned int) destFrame, DEMO_MAX_FRAME); }
  2. Shuvo Sarkar

    Zybo Grayscale output.

    Dear experts, I have been working with the zybo hdmi in vga out project. Normally, It takes 24 bit vga signal, but I want to feed 16 bit grayscale as input (YUV 4.2.2) through vid in to AXI-4 Stream and 16 bit grayscale as output. Is there any solution for this? thanks- Shuvo
  3. Shuvo Sarkar

    Zybo hdmi in demo project resolution issues.

    Hi @jpeyron, thanks a lot it finally worked. First, I have set the laptop resolution 1280x720p and then set also option 3 in Tera Term. Thanks a lot- Shuvo
  4. Shuvo Sarkar

    Zybo hdmi in demo project resolution issues.

    Hi @jpeyron No. But, option 8 will only grab a frame and I need video streaming. I want to do it from option 1. Thank you, Shuvo
  5. Shuvo Sarkar

    Zybo hdmi in demo project resolution issues.

    Hi @jpeyron I set 1280x720 at laptop but at the VGA this change has no effect.
  6. Shuvo Sarkar

    Zybo hdmi in demo project resolution issues.

    It's 1366x768
  7. Shuvo Sarkar

    Zybo hdmi in demo project resolution issues.

    Hi @JColvin This is what I am currently getting. At the monitor settings it shows input is VGA 1280x720@60Hz. I unplugged and plugged the VGA cable.
  8. Shuvo Sarkar

    Zybo hdmi in demo project resolution issues.

    Hi @jpeyron, when I select 720@, It gives me bigger image and a part of the whole frame is displayed. It only gives perfect frame at 1080p settings. What did you mean by re-reacquiring? could please explain it. thank you- Shuvo
  9. Shuvo Sarkar

    Zybo hdmi in demo project resolution issues.

    Dear Experts, The hdmi in to vga out demo project gives perfect resolution at 1080p settings. But, wherever I try to set other resolution as I need 720p, it gives me extended resolution. Is there any option that I can fix it at 720p? Coz the monitor I want to use for output doesn't support Full HD (1080p) resolution. https://reference.digilentinc.com/learn/programmable-logic/tutorials/zybo-hdmi-demo/start Regards- Shuvo
  10. Shuvo Sarkar

    Adding custom IP in Zybo HDMI demo project

    Dear Experts, I want to implement XAPP1167 OpenCV HLS Xilinx project which mainly shows the edge at the output video. In the ZYBO hdmi demo project, I have added this custom IP between the interface of video in and AXI4 stream to VDMA. Initially, I got the error message says, "Bus interface property TDATA_NUM_BYTES does not match". Then I added axis_subset_converter_0 which allows me to downgrades TDATA width from 3 to 2 byte and successfully validated the updated designed. I also able to generate bit stream but the design does not fulfil the timing requirements. I am getting total negative slack -64.679 nano seconds. Please have a look into my design and give some possible suggestions. Regarding the IP core, I am sending a colour image of 1920*1080. Any kind of information regarding adding HLS ip into zybo hdmi demo project will be very helpful for me. thanks.. Shuvo
  11. Shuvo Sarkar

    Video output at VGA monitor

    Hi @Jon, It just worked in Vivado 2016.2. I don't know why it wasn't work in 2016.4. Thanks again for all the support. Shuvo
  12. Shuvo Sarkar

    Video output at VGA monitor

    Hi @Jon, Yes, I can able to create other project using Zybo board. Here is the screen shorts and report. Report.txt
  13. Shuvo Sarkar

    Video output at VGA monitor

    Hi @Jon, I wish it also work for me. Implementation_error.txt
  14. Shuvo Sarkar

    Video output at VGA monitor

    Hi @jon & @Arthur, I just have formatted my operating system and tried to re-synthesis the Zybo Video demo. But, this I got stuck into a new problem. The project shows some errors and stop executing. I am using Vivado 16.4 and also added the library files, board files into the directory . May there are some mistake that, I could not find. Would you please have a look and direct me the right way. Hi @Jon, The design is working till Synthesis. Only the error massage is showing during Implementation. Could you link me the latest version of hdmi project and the library files? May be there is some errors in my copy. tlc console.txt
  15. Shuvo Sarkar

    Video output at VGA monitor

    Hi @jon & @Arthur, I just have formatted my operating system and tried to re-synthesis the Zybo Video demo. But, this I got stuck into a new problem. The project shows some errors and stop executing. I am using Vivado 16.4 and also added the library files, board files into the directory . May there are some mistake that, I could not find. Would you please have a look and direct me the right way.