Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
jpeg_common.cpp
Go to the documentation of this file.
1// Copyright 2020 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#include "core/fxcodec/jpeg/jpeg_common.h"
8
9extern "C" {
10
11void src_do_nothing(jpeg_decompress_struct* cinfo) {}
12
13boolean src_fill_buffer(j_decompress_ptr cinfo) {
14 return FALSE;
15}
16
17boolean src_resync(j_decompress_ptr cinfo, int desired) {
18 return FALSE;
19}
20
21void error_do_nothing(j_common_ptr cinfo) {}
22
23void error_do_nothing_int(j_common_ptr cinfo, int) {}
24
25void error_do_nothing_char(j_common_ptr cinfo, char*) {}
26
27} // extern "C"
boolean src_resync(j_decompress_ptr cinfo, int desired)
void src_do_nothing(jpeg_decompress_struct *cinfo)
void error_do_nothing(j_common_ptr cinfo)
void error_do_nothing_char(j_common_ptr cinfo, char *)
boolean src_fill_buffer(j_decompress_ptr cinfo)
void error_do_nothing_int(j_common_ptr cinfo, int)