Package org.videolan.bdjo

Examples of org.videolan.bdjo.GraphicsResolution


        this.panAndScan = panAndScan;
    }
   
    public VideoTransformation()
    {
        GraphicsResolution res = BDJLoader.getBdjo().getTerminalInfo().getResolution();
       
        this.clip = new Rectangle(res.getWidth(), res.getHeight());
        this.scaling[0] = 1.0f;
        this.scaling[1] = 1.0f;
        this.position = new HScreenPoint(0.0f, 0.0f);
    }
View Full Code Here


        return null; // FIXME: implement
    }

    public int getDisplayAspectRatio()
    {
        GraphicsResolution res = BDJLoader.getBdjo().getTerminalInfo().getResolution();
       
        switch (res) {
        case HD_1920_1080:
        case HD_1280_720:
            return ASPECT_RATIO_16_9;
View Full Code Here

        return getDefaultSize(); // FIXME: return actual video size instead of just default
    }

    public AWTVideoSize getDefaultSize()
    {
        GraphicsResolution res = BDJLoader.getBdjo().getTerminalInfo().getResolution();
        Rectangle rect = new Rectangle(res.getWidth(), res.getHeight());
        return new AWTVideoSize(rect, rect);
    }
View Full Code Here

        return new AWTVideoSize(rect, rect);
    }

    public Dimension getSourceVideoSize()
    {
        GraphicsResolution res = BDJLoader.getBdjo().getTerminalInfo().getResolution();
        return new Dimension(res.getWidth(), res.getHeight());
    }
View Full Code Here

public class BackgroundVideoPresentationControlImpl implements BackgroundVideoPresentationControl {

    public Dimension getInputVideoSize()
    {
        GraphicsResolution res = BDJLoader.getBdjo().getTerminalInfo().getResolution();
        return new Dimension(res.getWidth(), res.getHeight()); // FIXME: return actual input video size
    }
View Full Code Here

        return getClipRegion(); // FIXME: implement clipping support
    }

    public Rectangle getClipRegion()
    {
        GraphicsResolution res = BDJLoader.getBdjo().getTerminalInfo().getResolution();
        return new Rectangle(res.getWidth(), res.getHeight()); // FIXME: implement clipping support
    }
View Full Code Here

            for (AppCache cache : bdjo.getAppCaches())
                classLoader.addAppCache(cache);
           
            // start test window
            GUIManager gui = GUIManager.getInstance();
            GraphicsResolution res = bdjo.getTerminalInfo().getResolution();
            gui.setSize(res.getWidth(), res.getHeight());
            gui.setVisible(true);
           
            // now load and initialize all the xlets
            AppEntry[] appTable = bdjo.getAppTable();
            xlet = new Xlet[appTable.length];
View Full Code Here

TOP

Related Classes of org.videolan.bdjo.GraphicsResolution

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.