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

Jakob Schwendner jakob.schwendner at dfki.de
Wed Aug 31 11:31:46 CEST 2011


On 08/31/2011 10:53 AM, Matthias Goldhoorn wrote:
> 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
>
>
+1 for confusing and misleading, as the frame does not support that mode.



More information about the Rock-dev mailing list