Home
last modified time | relevance | path

Searched refs:kCodecTypeBytesCount (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/webrtc/modules/video_coding/utility/
H A Divf_file_reader.cc25 constexpr int kCodecTypeBytesCount = 4; variable
27 constexpr uint8_t kFileHeaderStart[kCodecTypeBytesCount] = {'D', 'K', 'I', 'F'};
28 constexpr uint8_t kVp8Header[kCodecTypeBytesCount] = {'V', 'P', '8', '0'};
29 constexpr uint8_t kVp9Header[kCodecTypeBytesCount] = {'V', 'P', '9', '0'};
30 constexpr uint8_t kAv1Header[kCodecTypeBytesCount] = {'A', 'V', '0', '1'};
31 constexpr uint8_t kH264Header[kCodecTypeBytesCount] = {'H', '2', '6', '4'};
183 if (memcmp(&buffer[start_pos], kVp8Header, kCodecTypeBytesCount) == 0) { in ParseCodecType()
186 if (memcmp(&buffer[start_pos], kVp9Header, kCodecTypeBytesCount) == 0) { in ParseCodecType()
189 if (memcmp(&buffer[start_pos], kAv1Header, kCodecTypeBytesCount) == 0) { in ParseCodecType()
192 if (memcmp(&buffer[start_pos], kH264Header, kCodecTypeBytesCount) == 0) { in ParseCodecType()
[all …]