Thanks Thanks:  0
Ergebnis 1 bis 1 von 1
  1. #1
    Anfänger
    Registriert seit
    06.06.2018
    Beiträge
    2
    Thanks (gegeben)
    0
    Thanks (bekommen)
    0
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke

    Puzzled by framebuffer behavior, low resolution, can't write to the bottom via fd0

    I am a very recent OpenATV convert and I am enjoying it. But I am also a bit puzzled by OpenATV's framebuffer behavior compared to other images.

    I am using OpenATV 6.1.0 (2018-05-30) and MetrixHD skin on VU+ Ultimo 4k receiver. My TV has 1920x080 resolution and I set 1080p in Video options. Framebuffer's resolution is 1280x720 (as reported by fb_var_screeninfo structure in my C++ code). Why is the resolution of the framebuffer lower than resolution set in OpenATV options?

    Additionally, I have some code that writes to framebuffer (/dev/fb0) and I'm getting different results on OpenATV than in other images. For example, if I draw a rectangle that matches reported size of the framebuffer, which is 1280x720 in the case of OpenATV, the entire screen is not filled with that rectangle, but only the top 2 / 3rds of the screen. There is no way that I can draw all the way to the bottom of the screen, and this area that I can't draw to seems to correspond to the area occupied by the channel infobar. Behavior is the same regardless if channel infobar is currently displayed on the screen or not.

    I have two questions and I will appreciate any attempt to answer either of them.

    1) Why is my framebuffer not identical to my TV's resolution (1080p), and is there a way to make it so without messing up everything else? I succesfully changed it to 1920x1080 with ioctl(fb, FBIOPUT_VSCREENINFO, vinfo) after updating vinfo structure, but that completely messed up on screen graphics.

    2) Is it possible to draw to the bottom of the screen through framebuffer, and if so, how? If not, what can I use instead? I am writing some real-time analysis of the live image, so drawing needs to be done efficiently.

    Thanks in advance!

    Alex
    Geändert von Alex98 (06.06.2018 um 11:50 Uhr)

    •   Alt Advertising

       


Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:18 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 5,88%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com