Lines Matching refs:uint32_t
48 static uint32_t AvifInfoInternalReadBigEndian(const uint8_t* input, in AvifInfoInternalReadBigEndian()
49 uint32_t num_bytes) { in AvifInfoInternalReadBigEndian()
50 uint32_t value = 0; in AvifInfoInternalReadBigEndian()
51 for (uint32_t i = 0; i < num_bytes; ++i) { in AvifInfoInternalReadBigEndian()
109 AvifInfoInternalStream* stream, uint32_t num_bytes, const uint8_t** data) { in AvifInfoInternalRead()
117 AvifInfoInternalStream* stream, uint32_t num_bytes) { in AvifInfoInternalSkip()
149 uint32_t width, height;
176 AvifInfoInternalFeatures* f, uint32_t target_item_id, uint32_t tile_depth) { in AvifInfoInternalGetItemFeatures()
177 for (uint32_t prop_item = 0; prop_item < f->num_props; ++prop_item) { in AvifInfoInternalGetItemFeatures()
179 const uint32_t property_index = f->props[prop_item].property_index; in AvifInfoInternalGetItemFeatures()
185 for (uint32_t i = 0; i < f->num_dim_props; ++i) { in AvifInfoInternalGetItemFeatures()
200 for (uint32_t i = 0; i < f->num_chan_props; ++i) { in AvifInfoInternalGetItemFeatures()
214 for (uint32_t tile = 0; tile < f->num_tiles && tile_depth < 3; ++tile) { in AvifInfoInternalGetItemFeatures()
242 uint32_t size; // In bytes.
244 uint32_t version; // 0 or actual version if this is a full box.
245 uint32_t flags; // 0 or actual value if this is a full box.
246 uint32_t content_size; // 'size' minus the header size.
253 AvifInfoInternalStream* stream, uint32_t num_remaining_bytes, in AvifInfoInternalParseBox()
254 uint32_t* num_parsed_boxes, AvifInfoInternalBox* box) { in AvifInfoInternalParseBox()
257 uint32_t box_header_size = 8; // box 32b size + 32b type (at least) in AvifInfoInternalParseBox()
260 box->size = AvifInfoInternalReadBigEndian(data, sizeof(uint32_t)); in AvifInfoInternalParseBox()
269 AVIFINFO_CHECK(AvifInfoInternalReadBigEndian(data, sizeof(uint32_t)) == 0, in AvifInfoInternalParseBox()
272 box->size = AvifInfoInternalReadBigEndian(data + 4, sizeof(uint32_t)); in AvifInfoInternalParseBox()
300 uint32_t is_parsable = 1; in AvifInfoInternalParseBox()
320 uint32_t num_remaining_bytes, in ParseIpco()
321 uint32_t* num_parsed_boxes, in ParseIpco()
323 uint32_t box_index = 1; // 1-based index. Used for iterating over properties. in ParseIpco()
334 const uint32_t width = AvifInfoInternalReadBigEndian(data + 0, 4); in ParseIpco()
335 const uint32_t height = AvifInfoInternalReadBigEndian(data + 4, 4); in ParseIpco()
352 const uint32_t num_channels = AvifInfoInternalReadBigEndian(data + 0, 1); in ParseIpco()
356 const uint32_t bit_depth = AvifInfoInternalReadBigEndian(data, 1); in ParseIpco()
358 for (uint32_t i = 1; i < num_channels; ++i) { in ParseIpco()
409 const uint32_t kAlphaStrLength = 44; // Includes terminating character. in ParseIpco()
437 uint32_t num_remaining_bytes, in ParseIprp()
438 uint32_t* num_parsed_boxes, in ParseIprp()
450 uint32_t num_read_bytes = 4; in ParseIprp()
454 const uint32_t entry_count = AvifInfoInternalReadBigEndian(data, 4); in ParseIprp()
455 const uint32_t id_num_bytes = (box.version < 1) ? 2 : 4; in ParseIprp()
456 const uint32_t index_num_bytes = (box.flags & 1) ? 2 : 1; in ParseIprp()
457 const uint32_t essential_bit_mask = (box.flags & 1) ? 0x8000 : 0x80; in ParseIprp()
459 for (uint32_t entry = 0; entry < entry_count; ++entry) { in ParseIprp()
469 const uint32_t item_id = in ParseIprp()
471 const uint32_t association_count = in ParseIprp()
474 uint32_t property; in ParseIprp()
485 const uint32_t value = in ParseIprp()
488 const uint32_t property_index = (value & ~essential_bit_mask); in ParseIprp()
523 uint32_t num_remaining_bytes, in ParseIref()
524 uint32_t* num_parsed_boxes, in ParseIref()
533 const uint32_t num_bytes_per_id = (box.version == 0) ? 2 : 4; in ParseIref()
534 uint32_t num_read_bytes = num_bytes_per_id + 2; in ParseIref()
539 const uint32_t from_item_id = in ParseIref()
541 const uint32_t reference_count = in ParseIref()
544 for (uint32_t i = 0; i < reference_count; ++i) { in ParseIref()
553 const uint32_t to_item_id = in ParseIref()
582 uint32_t num_remaining_bytes, in ParseMeta()
583 uint32_t* num_parsed_boxes, in ParseMeta()
592 const uint32_t num_bytes_per_id = (box.version == 0) ? 2 : 4; in ParseMeta()
597 const uint32_t primary_item_id = in ParseMeta()
624 uint32_t num_parsed_boxes = 0; in ParseFtyp()
630 for (uint32_t i = 0; i + 4 <= box.content_size; i += 4) { in ParseFtyp()
646 uint32_t* num_parsed_boxes, in ParseFile()
733 uint32_t num_parsed_boxes = 0; in AvifInfoGetFeaturesStream()