[Rock-dev] frame.h: new frame mode_pjpg

Matthias Goldhoorn matthias.goldhoorn at dfki.de
Wed Aug 31 10:53:03 CEST 2011


On 31.08.2011 10:51, Alexander Duda wrote:
> On Wed, 2011-08-31 at 10:04 +0200, Matthias Goldhoorn wrote:
>> On 31.08.2011 09:01, Alexander Duda wrote:
>>> I stumbled over the recently added frame_mode MODE_PJPG. I thought we
>>> all agreed that we are not extending the class Frame to handle
>>> compressed images.
>>>
>>> Alex
>>>
>> I Only added some types to the enum, this make it easier instead having
>> two type enums...
> I would create a new enum for compressed images because this one has
> little in common with the one from frame. Putting everything in one is
> just confusing.
>
> Alex
>
With one big enum you could even convert the base::frame in jpeg or 
something else if needed, you could use the same function...

Matthias


-- 
  Dipl.-Inf. Matthias Goldhoorn
  Unterwasserrobotik

  Hauptanschrift Standort Bremen:
  DFKI GmbH
  Robotics Innovation Center
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Phone: +49 (0)421 178 45-4193
  Fax:   +49 (0)421 178 45-4150
  E-Mail: robotik at dfki.de

  Weitere Informationen: http://www.dfki.de/robotik
  -----------------------------------------------------------------------
  Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
  Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
  Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
  (Vorsitzender) Dr. Walter Olthoff
  Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
  Amtsgericht Kaiserslautern, HRB 2313
  Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
  USt-Id.Nr.:    DE 148646973
  Steuernummer:  19/673/0060/3




More information about the Rock-dev mailing list