Page Speed Optimization Libraries
1.13.35.1
|
#include "image_frame_interface.h"
Public Types | |
enum | DisposalMethod { DISPOSAL_UNKNOWN = 0, DISPOSAL_NONE, DISPOSAL_BACKGROUND, DISPOSAL_RESTORE } |
Public Member Functions | |
void | Reset () |
GoogleString | ToString () const |
bool | Equals (const FrameSpec &other) const |
Public Attributes | |
size_px | width |
size_px | height |
size_px | top |
size_px | left |
PixelFormat | pixel_format |
size_t | duration_ms |
DisposalMethod | disposal |
bool | hint_progressive |
FrameSpec must fit entirely within its image; in other words ImageSpec::CanContainFrame(frame_spec) should return true.
Enumerator | |
---|---|
DISPOSAL_RESTORE |
|
bool pagespeed::image_compression::FrameSpec::hint_progressive |
Whether this frame was progressively encoded by the origin site, so that it could begin to be rendered even before the entire image was transferred. This does not affect the data format passed in or out of this API, but provides a hint that API clients may choose to take.