Exemplo n.º 1
0
 public static Offset <FrameFingerPrint> CreateFrameFingerPrint(FlatBufferBuilder builder,
                                                                int frameNumber = 0,
                                                                ulong pHash     = 0,
                                                                VectorOffset edgeGrayScaleThumbOffset = default(VectorOffset))
 {
     builder.StartObject(3);
     FrameFingerPrint.AddPHash(builder, pHash);
     FrameFingerPrint.AddEdgeGrayScaleThumb(builder, edgeGrayScaleThumbOffset);
     FrameFingerPrint.AddFrameNumber(builder, frameNumber);
     return(FrameFingerPrint.EndFrameFingerPrint(builder));
 }
Exemplo n.º 2
0
 public static FrameFingerPrint GetRootAsFrameFingerPrint(ByteBuffer _bb, FrameFingerPrint obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }