Searched refs:JpegMarker (Results 1 – 11 of 11) sorted by relevance
17 const size_t JpegMarker::kLength; // = 2;18 const size_t JpegMarker::kTypeOffset; // = 1;19 const Byte JpegMarker::kZERO; // = 0x00;20 const Byte JpegMarker::kStart; // = 0xFF;21 const Byte JpegMarker::kSOS; // = 0xDA;22 const Byte JpegMarker::kSOI; // = 0xD8;23 const Byte JpegMarker::kEOI; // = 0xD9;24 const Byte JpegMarker::kAPP0; // = 0xE0;25 const Byte JpegMarker::kAPP1; // = 0xE1;26 const Byte JpegMarker::kAPP2; // = 0xE2;[all …]
29 JpegMarker::Flags marker_flags; in Start()30 marker_flags[JpegMarker::kSOI] = true; in Start()31 marker_flags[JpegMarker::kEOI] = true; in Start()32 marker_flags[JpegMarker::kAPP0] = true; in Start()33 marker_flags[JpegMarker::kAPP1] = true; in Start()34 marker_flags[JpegMarker::kAPP2] = true; in Start()42 JpegMarker marker = segment.GetMarker(); in Process()43 if (marker.GetType() == JpegMarker::kSOI) { in Process()49 DataRange(segment.GetBegin(), segment.GetBegin() + JpegMarker::kLength); in Process()50 } else if (marker.GetType() == JpegMarker::kEOI) { in Process()[all …]
44 current_segment_->Find(current_location_, JpegMarker::kStart); in FindAndProcessSegments()58 JpegMarker marker( in FindAndProcessSegments()59 GetByte(begin_segment_location + JpegMarker::kTypeOffset)); in FindAndProcessSegments()64 begin_segment_location + JpegMarker::kLength + payload_size; in FindAndProcessSegments()74 begin_segment_location + JpegMarker::kLength + payload_size; in FindAndProcessSegments()78 size_t JpegScanner::GetPayloadSize(const JpegMarker& marker, in GetPayloadSize()81 return (GetByte(begin_location + JpegMarker::kLength) << 8) | in GetPayloadSize()82 GetByte(begin_location + JpegMarker::kLength + 1); in GetPayloadSize()
45 JpegMarker marker(marker_type); in AddMarkerAndSize()55 JpegMarker marker(marker_type); in AddMarkerAndSizePlaceholder()81 JpegMarker marker(type); in ReplaceSizePlaceholder()82 if (flag != JpegMarker::kStart || !marker.IsValid() || in ReplaceSizePlaceholder()143 AddMarkerAndSizePlaceholder(JpegMarker::kAPP1); in AddApp1XmpMarkerAndXmpExtendedHeader()
117 scanner->UpdateInterestingMarkerFlags(JpegMarker::Flags().set()); in Start()128 JpegMarker marker = segment.GetMarker(); in Process()150 SummaryLine(JpegMarker(type).GetName(), Size2String(count))); in Finish()
36 const size_t xmp_header_length = JpegMarker::kLength + in Transfer()
22 class JpegMarker {48 explicit JpegMarker(Byte type) : type_(type) {} in JpegMarker() function50 JpegMarker() = delete;
49 void UpdateInterestingMarkerFlags(const JpegMarker::Flags& marker_flags) { in UpdateInterestingMarkerFlags()61 size_t GetPayloadSize(const JpegMarker& marker, size_t begin_location);85 JpegMarker::Flags interesting_marker_flags_;
62 size_t GetPayloadLocation() const { return GetBegin() + JpegMarker::kLength; } in GetPayloadLocation()140 JpegMarker GetMarker() const { in GetMarker()144 return JpegMarker(GetValidatedByte(marker_type_location).value); in GetMarker()
448 JpegMarker ProcessTables ();966 JpegMarker dng_lossless_decoder::ProcessTables () in ProcessTables()994 return (JpegMarker) c; in ProcessTables()2668 void EmitMarker (JpegMarker mark);2674 void EmitSof (JpegMarker code);3472 void dng_lossless_encoder::EmitMarker (JpegMarker mark) in EmitMarker()3569 void dng_lossless_encoder::EmitSof (JpegMarker code) in EmitSof()
462 enum JpegMarker enum