#include "jinclude.h"
#include "jpeglib.h"
Go to the source code of this file.
◆ JPEG_INTERNALS
◆ my_coef_ptr
◆ compress_data()
Definition at line 144 of file jccoefct.c.
145{
150 int blkn, bi, ci, yindex,
yoffset, blockcnt;
154
155
158 for (MCU_col_num = coef->
mcu_ctr; MCU_col_num <= last_MCU_col;
159 MCU_col_num++) {
160
161
162
163
164
165
166
167
168
169 blkn = 0;
177
180 yoffset+yindex < compptr->last_row_height) {
181 (*forward_DCT) (cinfo,
compptr,
185 if (blockcnt < compptr->MCU_width) {
186
191 }
192 }
193 } else {
194
199 }
200 }
203 }
204 }
205
206
207
209
213 }
214 }
215
217 }
218
222}
GLint GLint GLint yoffset
my_coef_controller * my_coef_ptr
forward_DCT(j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks)
start_iMCU_row(j_compress_ptr cinfo)
jpeg_component_info * compptr
#define FMEMZERO(target, size)
jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN]
struct jpeg_entropy_encoder * entropy
struct jpeg_forward_dct * fdct
struct jpeg_c_coef_controller * coef
JDIMENSION total_iMCU_rows
JBLOCKROW MCU_buffer[C_MAX_BLOCKS_IN_MCU]
Referenced by start_pass_coef().
◆ jinit_c_coef_controller()
Definition at line 410 of file jccoefct.c.
411{
413
419
420
422#ifdef FULL_COEF_BUFFER_SUPPORTED
423
424
425 int ci;
427
430 coef->
whole_image[ci] = (*cinfo->mem->request_virt_barray)
437 }
438#else
439 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
440#endif
441 } else {
442
445
451 }
453 }
454}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
start_pass_coef(j_compress_ptr cinfo, J_BUF_MODE pass_mode)
struct jpeg_common_struct * j_common_ptr
#define C_MAX_BLOCKS_IN_MCU
jround_up(long a, long b)
JDIMENSION width_in_blocks
JDIMENSION height_in_blocks
jpeg_component_info * comp_info
struct jpeg_c_coef_controller pub
jvirt_barray_ptr whole_image[MAX_COMPONENTS]
Referenced by jinit_compress_master().
◆ METHODDEF()
Definition at line 62 of file jccoefct.c.
75{
77
78
79
80
81
82 if (cinfo->comps_in_scan > 1) {
84 } else {
87 else
89 }
90
93}
int MCU_rows_per_iMCU_row
◆ start_pass_coef()
Definition at line 101 of file jccoefct.c.
102{
104
107
108 switch (pass_mode) {
111 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
113 break;
114#ifdef FULL_COEF_BUFFER_SUPPORTED
117 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
118 coef->
pub.compress_data = compress_first_pass;
119 break;
122 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
124 break;
125#endif
126 default:
127 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
128 break;
129 }
130}
compress_data(j_compress_ptr cinfo, JSAMPIMAGE input_buf)
compress_output(j_compress_ptr cinfo, JSAMPIMAGE input_buf)
Referenced by jinit_c_coef_controller().