aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/codecs/static/static_codec_info.proto
blob: 362abb4dadf01454d4c8deeb6a8c2fa62939cbcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package NCodecs;

message TStaticCodecInfo {
    message TDebugInfo {
        optional string CodecName = 1;           // the exact codec variant name
        optional uint64 Timestamp = 2;           // when the codec was built
        optional string RevisionInfo = 3;        // the arcadia revision info
        optional float SampleSizeMultiplier = 4; // how the default sample size was modified to improve compression
        optional float Compression = 5;          // the compression on the training set ((raw_size - coded_size) / raw_size)
        optional string TrainingSetComment = 6;  // a human readable description of the training set
        optional string TrainingSetResId = 7;    // the training set sandbox resource id
        optional uint64 StoredCodecHash = 8;     // cityhash64(data)
    }
    
    optional bytes StoredCodec = 1;           // the data of the codec
    optional TDebugInfo DebugInfo = 2;        // misc debug info which could be useful in finding whereabouts later
}