Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Public Attributes | List of all members
skjpeg_destination_mgr Struct Reference

#include <SkJPEGWriteUtility.h>

Inheritance diagram for skjpeg_destination_mgr:

Public Types

enum  { kBufferSize = 1024 }
 

Public Member Functions

 skjpeg_destination_mgr (SkWStream *stream)
 

Public Attributes

SkWStream *const fStream
 
uint8_t fBuffer [kBufferSize]
 

Detailed Description

Definition at line 31 of file SkJPEGWriteUtility.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kBufferSize 

Definition at line 36 of file SkJPEGWriteUtility.h.

36 {
37 kBufferSize = 1024
38 };

Constructor & Destructor Documentation

◆ skjpeg_destination_mgr()

skjpeg_destination_mgr::skjpeg_destination_mgr ( SkWStream stream)

Definition at line 60 of file SkJPEGWriteUtility.cpp.

60 : fStream(stream) {
61 this->init_destination = sk_init_destination;
62 this->empty_output_buffer = sk_empty_output_buffer;
63 this->term_destination = sk_term_destination;
64}
static void sk_term_destination(j_compress_ptr cinfo)
static boolean sk_empty_output_buffer(j_compress_ptr cinfo)
static void sk_init_destination(j_compress_ptr cinfo)
SkWStream *const fStream

Member Data Documentation

◆ fBuffer

uint8_t skjpeg_destination_mgr::fBuffer[kBufferSize]

Definition at line 39 of file SkJPEGWriteUtility.h.

◆ fStream

SkWStream* const skjpeg_destination_mgr::fStream

Definition at line 34 of file SkJPEGWriteUtility.h.


The documentation for this struct was generated from the following files: