Git Product home page Git Product logo

Comments (5)

Wren6991 avatar Wren6991 commented on August 12, 2024

What is the change you want from this repo?

DVI_SYMBOLS_PER_WORD is set based on the encoder you are using, almost all of them use 2 symbols per word, which is more efficient than 1. It's not something you can change freely. If you set it to the wrong value you will get a really screwed up signal, which monitors are not obligated to display at all.

from picodvi.

Wren6991 avatar Wren6991 commented on August 12, 2024

Specifically it's the full-resolution RGB encoder that requires DVI_SYMBOLS_PER_WORD=1, for all others the correct value is the default of 2.

from picodvi.

sabsun77 avatar sabsun77 commented on August 12, 2024

The sample code doesn't have any problems. but want apply to my screen

In Display HDMI 800*480
I'm set DVI_SYMBOLS_PER_WORD 1

#define FRAME_WIDTH 800
#define FRAME_HEIGHT 480
#define VREG_VSEL VREG_VOLTAGE_1_30
#define DVI_TIMING dvi_timing_800x480p_60hz

I custom sprites 800* 80 draw button w=100 h=80 and encoder 6 loop =FRAME_HEIGHT 480

in code "tmds_encode_data_channel_16bpp"

tmds_encode_data_channel_16bpp(scanbuf, tmdsbuf + 0 * words_per_channel, pixwidth/DVI_SYMBOLS_PER_WORD , DVI_16BPP_BLUE_MSB, DVI_16BPP_BLUE_LSB );
tmds_encode_data_channel_16bpp(scanbuf, tmdsbuf + 1 * words_per_channel, pixwidth/DVI_SYMBOLS_PER_WORD , DVI_16BPP_GREEN_MSB, DVI_16BPP_GREEN_LSB);
tmds_encode_data_channel_16bpp(scanbuf, tmdsbuf + 2 * words_per_channel, pixwidth /DVI_SYMBOLS_PER_WORD , DVI_16BPP_RED_MSB, DVI_16BPP_RED_LSB );

pixel width is show 800 but pixel height is show 240 is not show 480
Is there a way to make the height of the pixels show the full FRAME_HEIGHT ?
https://1drv.ms/u/s!AgM7p_3BoHejlnybbUUja0lsPTrG?e=UpPVaO
https://1drv.ms/v/s!AgM7p_3BoHejln0IqmrCP1GLJcER?e=rCZzLc

Thanks,

from picodvi.

Wren6991 avatar Wren6991 commented on August 12, 2024

I'm set DVI_SYMBOLS_PER_WORD 1

Why did you set that? What did you want it to do?

from picodvi.

sabsun77 avatar sabsun77 commented on August 12, 2024

I'm set DVI_SYMBOLS_PER_WORD 1

Why did you set that? What did you want it to do?
I want to show FRAME_HEIGHT 480 equal to dvi_timing.v_active_lines = 480 if possible.

from picodvi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.