My output display is 640x480 VGA. The reason for having the external chip is to provide the component RGB signals to the VGA input of the monitor. The chip uses the rgb565 data, h/v syncs and dotclk to generate the necessary vga signals.

The problem I'm seeing is that the calls in davincifb_check_var fail when it comes to checking 'window_will_fit_framebuffer' because the frame buffer size isn't the same as the fixInfo that is filled in the ioctl call FBIOGET_FSCREENINFO.



Stephen Berry wrote:
Last time I tried it you can run the demos to output any resolution less than D1 (at multiples of 16). So you could say:
    encodedecode -r 640x480
without any modifications. All this does is crop the input and center the image in the D1 frame. Since the output is NTSC its the same as D1.

Is your output display NTSC? If so, the output side should just work.

Also is there a reason you needed an external chip for your rgb data? Davinci VPFE's are more than capable of manipulating input frames (such as converting to yuv and cropping).

    Steve

bj wrote:

    All,

    I'm currently trying to get the demos (either decode or encodedecode
    from dvsdk_1_30_00_40) to display on VGA (640x480) but I'm running
    into some problems.

    I'm using a chip that takes in rgb digital data using
    vsync/hsync/dotclk and converts it to vga which I have already
    setup.  My bootargs are setup to use the new encoder type to output
    the syncs/clock that I need...also working.

    The problem I'm having is trying to figure out how to adapt the
    decode demo to work with the new resolution.  I've made changes to
    the InitDisplayDevice function so it uses 640x480 instead of D1 but
    the call to FBIOPUT_VSCREENINFO fails since the window won't fit
    into the framebuffer.  Has anybody gotten the demos to work to
    decode and display D1 video on screen sizes < D1?

    Through some searching I was able to find a bit of an example that
    was named 'decode_hd' that was meant to work with LSP 1.10 but the
    files that it works with are very old and the demo code doesn't
    really match up.

    Thanks,

    BJ

    _______________________________________________
    Davinci-linux-open-source mailing list
    [email protected]
    http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to