Lines Matching refs:src
76 libjpeg_source_mgr* src = (libjpeg_source_mgr*)cinfo->src; in libjpeg_init_source() local
77 src->next_input_byte = (const JOCTET*)src->mBufferPtr; in libjpeg_init_source()
78 src->bytes_in_buffer = 0; in libjpeg_init_source()
79 src->current_offset = 0; in libjpeg_init_source()
83 libjpeg_source_mgr* src = (libjpeg_source_mgr*)cinfo->src; in libjpeg_seek_input_data() local
84 src->current_offset = byte_offset; in libjpeg_seek_input_data()
85 src->next_input_byte = (const JOCTET*)src->mBufferPtr + byte_offset; in libjpeg_seek_input_data()
86 src->bytes_in_buffer = 0; in libjpeg_seek_input_data()
91 libjpeg_source_mgr* src = (libjpeg_source_mgr*)cinfo->src; in libjpeg_fill_input_buffer() local
92 src->current_offset += src->mFilledLen; in libjpeg_fill_input_buffer()
93 src->next_input_byte = src->mBufferPtr; in libjpeg_fill_input_buffer()
94 src->bytes_in_buffer = src->mFilledLen; in libjpeg_fill_input_buffer()
99 libjpeg_source_mgr* src = (libjpeg_source_mgr*)cinfo->src; in libjpeg_skip_input_data() local
101 if (num_bytes > (long)src->bytes_in_buffer) { in libjpeg_skip_input_data()
104 src->next_input_byte += num_bytes; in libjpeg_skip_input_data()
105 src->bytes_in_buffer -= num_bytes; in libjpeg_skip_input_data()
110 libjpeg_source_mgr* src = (libjpeg_source_mgr*)cinfo->src; in libjpeg_resync_to_restart() local
111 src->next_input_byte = (const JOCTET*)src->mBufferPtr; in libjpeg_resync_to_restart()
112 src->bytes_in_buffer = 0; in libjpeg_resync_to_restart()
197 cinfo.src = &s_mgr; in decode()