~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to src/sdcte.c

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
13
 
14
 
/* $Id: sdcte.c 8022 2007-06-05 22:23:38Z giles $ */
 
14
/* $Id: sdcte.c 8250 2007-09-25 13:31:24Z giles $ */
15
15
/* DCT encoding filter stream */
16
16
#include "memory_.h"
17
17
#include "stdio_.h"
28
28
/* ------ DCTEncode ------ */
29
29
 
30
30
/* JPEG destination manager procedures */
31
 
private void
 
31
static void
32
32
dcte_init_destination(j_compress_ptr cinfo)
33
33
{
34
34
}
35
 
private boolean
 
35
static boolean
36
36
dcte_empty_output_buffer(j_compress_ptr cinfo)
37
37
{
38
38
    return FALSE;
39
39
}
40
 
private void
 
40
static void
41
41
dcte_term_destination(j_compress_ptr cinfo)
42
42
{
43
43
}
44
44
 
45
45
/* Set the defaults for the DCTEncode filter. */
46
 
private void
 
46
static void
47
47
s_DCTE_set_defaults(stream_state * st)
48
48
{
49
49
    stream_DCT_state *const ss = (stream_DCT_state *) st;
57
57
}
58
58
 
59
59
/* Initialize DCTEncode filter */
60
 
private int
 
60
static int
61
61
s_DCTE_init(stream_state * st)
62
62
{
63
63
    stream_DCT_state *const ss = (stream_DCT_state *) st;
73
73
}
74
74
 
75
75
/* Process a buffer */
76
 
private int
 
76
static int
77
77
s_DCTE_process(stream_state * st, stream_cursor_read * pr,
78
78
               stream_cursor_write * pw, bool last)
79
79
{
196
196
}
197
197
 
198
198
/* Release the stream */
199
 
private void
 
199
static void
200
200
s_DCTE_release(stream_state * st)
201
201
{
202
202
    stream_DCT_state *const ss = (stream_DCT_state *) st;