Example #1
0
        public sPixelFormatMP getDataFormat(eBufferType bufferType)
        {
            Debug.Assert(bufferType.isMultiPlaneBufferType());
            sStreamDataFormat sdf = default;

            sdf.bufferType = bufferType;
            file.call(eControlCode.G_FMT, ref sdf);
            return(sdf.pix_mp);
        }
Example #2
0
        public void setDataFormat(eBufferType bufferType, ref sPixelFormatMP pixelFormat)
        {
            Debug.Assert(bufferType.isMultiPlaneBufferType());
            sStreamDataFormat sdf = default;

            sdf.bufferType = bufferType;
            sdf.pix_mp     = pixelFormat;
            file.call(eControlCode.S_FMT, ref sdf);
        }
Example #3
0
        public bool tryDataFormat(eBufferType bufferType, sPixelFormatMP pixelFormat)
        {
            Debug.Assert(bufferType.isMultiPlaneBufferType());
            sStreamDataFormat sdf = default;

            sdf.bufferType = bufferType;
            sdf.pix_mp     = pixelFormat;

            return(file.tryCall(eControlCode.TRY_FMT, ref sdf));
        }