Searched refs:jfif_bytes (Results 1 – 1 of 1) sorted by relevance
189 Byte* jfif_bytes = new Byte[jfif_size + kAmpfLength]; in TransferNewJfifSegment() local190 memcpy(jfif_bytes, primary_image_jfif_segment_bytes_.data(), jfif_size); in TransferNewJfifSegment()191 if (memcmp(jfif_bytes + jfif_size - kAmpfLength, kAmpf, kAmpfLength) != 0) { in TransferNewJfifSegment()192 memcpy(jfif_bytes + jfif_size, kAmpf, kAmpfLength); in TransferNewJfifSegment()196 jfif_bytes[2] = ((jfif_data_length >> 8) & 0xFF); in TransferNewJfifSegment()197 jfif_bytes[3] = (jfif_data_length & 0xFF); in TransferNewJfifSegment()200 auto jfif_segment = DataSegment::Create(jfif_range, jfif_bytes); in TransferNewJfifSegment()