Home | History | Annotate | Download | only in src

Lines Matching full:data_bytes

316     size_t data_bytes = data_count * camera_metadata_type_size[type];
319 *data_size = data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT);
329 size_t data_bytes = data_count *
332 return data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT);
570 size_t data_bytes =
572 if (data_bytes + dst->data_count > dst->data_capacity) return ERROR;
582 if (data_bytes == 0) {
589 dst->data_count += data_bytes;
711 size_t data_bytes = calculate_camera_metadata_entry_data_size(entry->type,
714 if (data_bytes > 0) {
717 uint8_t *end = start + data_bytes;
718 size_t length = dst->data_count - entry->data.offset - data_bytes;
728 e->data.offset -= data_bytes;
732 dst->data_count -= data_bytes;
754 size_t data_bytes =
763 if (data_bytes != entry_bytes) {
765 if (dst->data_capacity < dst->data_count + data_bytes - entry_bytes) {
790 if (data_bytes != 0) {
795 dst->data_count += data_bytes;
797 } else if (data_bytes != 0) {
802 if (data_bytes == 0) {