Package bdsup2sub.supstream

Examples of bdsup2sub.supstream.PaletteInfo


        subPictureBD.setWasDecoded(false);
        subPictureBD.setExcluded(false);
        subPictureBD.setErasePatch(new ArrayList<ErasePatch>());

        List<PaletteInfo> paletteInfos = subPictureBD.getPalettes().get(0);
        paletteInfos.add(new PaletteInfo(70, 16));

        List<ImageObject> imageObjectList = subPictureBD.getImageObjectList();
        ImageObject imageObject = new ImageObject();
        imageObject.setPaletteID(0);
        imageObject.setBufferSize(28390);
View Full Code Here


        if (paletteID > 7) {
            message.append("Illegal palette id at offset ").append(ToolBox.toHexLeftZeroPadded(index, 8));
            return -1;
        }

        PaletteInfo paletteInfo = new PaletteInfo(index + 2, (pcsSegment.size - 2) / 5);
        subPictureBD.getPalettes().get(paletteID).add(paletteInfo);
        message.append("ID: ").append(paletteID).append(", update: ").append(paletteUpdate).append(", ").append(paletteInfo.getPaletteSize()).append(" entries");
        return paletteInfo.getPaletteSize();
    }
View Full Code Here

TOP

Related Classes of bdsup2sub.supstream.PaletteInfo

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.