Lines Matching refs:stream
183 void dng_iptc::ParseString (dng_stream &stream, in ParseString() argument
188 uint32 length = stream.Get_uint16 (); in ParseString()
194 stream.Get (c, length); in ParseString()
229 dng_stream stream (blockData, in Parse() local
233 stream.SetBigEndian (); in Parse()
244 uint64 firstOffset = stream.Position (); in Parse()
248 while (nextOffset + 5 < stream.Length ()) in Parse()
251 stream.SetReadPosition (nextOffset); in Parse()
253 uint8 firstByte = stream.Get_uint8 (); in Parse()
257 uint8 record = stream.Get_uint8 (); in Parse()
258 uint8 dataSet = stream.Get_uint8 (); in Parse()
259 uint32 dataSize = stream.Get_uint16 (); in Parse()
261 nextOffset = stream.Position () + dataSize; in Parse()
277 uint32 byte1 = stream.Get_uint8 (); in Parse()
278 uint32 byte2 = stream.Get_uint8 (); in Parse()
279 uint32 byte3 = stream.Get_uint8 (); in Parse()
310 stream.Get (s, dataSize); in Parse()
334 while (nextOffset + 5 < stream.Length ()) in Parse()
337 stream.SetReadPosition (nextOffset); in Parse()
339 uint8 firstByte = stream.Get_uint8 (); in Parse()
343 uint8 record = stream.Get_uint8 (); in Parse()
344 uint8 dataSet = stream.Get_uint8 (); in Parse()
345 uint32 dataSize = stream.Get_uint16 (); in Parse()
347 nextOffset = stream.Position () + dataSize; in Parse()
352 stream.SetReadPosition (stream.Position () - 2); in Parse()
359 ParseString (stream, fTitle, charSet); in Parse()
366 int32 size = stream.Get_uint16 (); in Parse()
371 char c = stream.Get_int8 (); in Parse()
386 ParseString (stream, fCategory, charSet); in Parse()
395 ParseString (stream, category, charSet); in Parse()
411 ParseString (stream, keyword, charSet); in Parse()
424 ParseString (stream, fInstructions, charSet); in Parse()
431 uint32 length = stream.Get_uint16 (); in Parse()
438 stream.Get (date, 8); in Parse()
453 uint32 length = stream.Get_uint16 (); in Parse()
460 stream.Get (time, length); in Parse()
475 uint32 length = stream.Get_uint16 (); in Parse()
482 stream.Get (date, 8); in Parse()
497 uint32 length = stream.Get_uint16 (); in Parse()
504 stream.Get (time, length); in Parse()
521 ParseString (stream, author, charSet); in Parse()
534 ParseString (stream, fAuthorsPosition, charSet); in Parse()
540 ParseString (stream, fCity, charSet); in Parse()
546 ParseString (stream, fState, charSet); in Parse()
552 ParseString (stream, fCountry, charSet); in Parse()
558 ParseString (stream, fCountryCode, charSet); in Parse()
564 ParseString (stream, fLocation, charSet); in Parse()
570 ParseString (stream, fTransmissionReference, charSet); in Parse()
576 ParseString (stream, fHeadline, charSet); in Parse()
582 ParseString (stream, fCredit, charSet); in Parse()
588 ParseString (stream, fSource, charSet); in Parse()
594 ParseString (stream, fCopyrightNotice, charSet); in Parse()
600 ParseString (stream, fDescription, charSet); in Parse()
606 ParseString (stream, fDescriptionWriter, charSet); in Parse()
627 void dng_iptc::SpoolString (dng_stream &stream, in SpoolString() argument
639 stream.Put_uint16 (0x1C02); in SpoolString()
640 stream.Put_uint8 (dataSet); in SpoolString()
658 stream.Put_uint16 ((uint16) len); in SpoolString()
660 stream.Put (ss.Get (), len); in SpoolString()
712 stream.Put_uint16 ((uint16) len); in SpoolString()
714 stream.Put (buffer.Buffer_char (), len); in SpoolString()
729 dng_memory_stream stream (allocator, NULL, 2048); in Spool() local
731 stream.SetBigEndian (); in Spool()
742 stream.Put_uint16 (0x1C01); in Spool()
743 stream.Put_uint8 (90); in Spool()
744 stream.Put_uint16 (3); in Spool()
745 stream.Put_uint8 (27); in Spool()
746 stream.Put_uint8 (0x25); in Spool()
747 stream.Put_uint8 (0x47); in Spool()
751 stream.Put_uint16 (0x1C02); in Spool()
752 stream.Put_uint8 (kRecordVersionSet); in Spool()
753 stream.Put_uint16 (2); in Spool()
754 stream.Put_uint16 (4); in Spool()
756 SpoolString (stream, in Spool()
767 stream.Put_uint16 (0x1C02); in Spool()
768 stream.Put_uint8 (kUrgencySet); in Spool()
770 stream.Put_uint16 (1); in Spool()
772 stream.Put (s, 1); in Spool()
776 SpoolString (stream, in Spool()
785 SpoolString (stream, in Spool()
796 SpoolString (stream, in Spool()
804 SpoolString (stream, in Spool()
820 stream.Put_uint16 (0x1C02); in Spool()
821 stream.Put_uint8 (kDateCreatedSet); in Spool()
823 stream.Put_uint16 (8); in Spool()
825 stream.Put (dateString.Get (), 8); in Spool()
834 stream.Put_uint16 (0x1C02); in Spool()
835 stream.Put_uint8 (kTimeCreatedSet); in Spool()
837 stream.Put_uint16 ((uint16)timeString.Length ()); in Spool()
839 stream.Put (timeString.Get (), timeString.Length ()); in Spool()
855 stream.Put_uint16 (0x1C02); in Spool()
856 stream.Put_uint8 (kDigitalCreationDateSet); in Spool()
858 stream.Put_uint16 (8); in Spool()
860 stream.Put (dateString.Get (), 8); in Spool()
869 stream.Put_uint16 (0x1C02); in Spool()
870 stream.Put_uint8 (kDigitalCreationTimeSet); in Spool()
872 stream.Put_uint16 ((uint16)timeString.Length ()); in Spool()
874 stream.Put (timeString.Get (), timeString.Length ()); in Spool()
883 SpoolString (stream, in Spool()
891 SpoolString (stream, in Spool()
897 SpoolString (stream, in Spool()
903 SpoolString (stream, in Spool()
909 SpoolString (stream, in Spool()
915 SpoolString (stream, in Spool()
921 SpoolString (stream, in Spool()
927 SpoolString (stream, in Spool()
933 SpoolString (stream, in Spool()
939 SpoolString (stream, in Spool()
945 SpoolString (stream, in Spool()
951 SpoolString (stream, in Spool()
957 SpoolString (stream, in Spool()
963 SpoolString (stream, in Spool()
972 while (stream.Length () & 3) in Spool()
974 stream.Put_uint8 (0); in Spool()
979 stream.Flush (); in Spool()
981 return stream.AsMemoryBlock (allocator); in Spool()