search for: n_components

Displaying 3 results from an estimated 3 matches for "n_components".

Did you mean: nr_components
2007 Apr 18
2
libswfdec/jpeg
libswfdec/jpeg/jpeg_rgb_decoder.c | 1 - 1 files changed, 1 deletion(-) New commits: diff-tree 15ed4a69b4ffc265fe103ba79a0b60af7e42a9fa (from 2073f39bc0b0aa90f1f67def9bb3f0c6b68018ae) Author: Benjamin Otte <otte@gnome.org> Date: Wed Apr 18 10:47:06 2007 +0200 remove leftover debugging statement diff --git a/libswfdec/jpeg/jpeg_rgb_decoder.c b/libswfdec/jpeg/jpeg_rgb_decoder.c
2007 Apr 17
0
8 commits - configure.ac doc/Makefile.am libswfdec/jpeg libswfdec/swfdec_debug.h libswfdec/swfdec_image.c
...e_u16 (bits); - bits->end = bits->ptr + length - 2; + if (dec->width < 1) { + SWFDEC_ERROR("height can't be 0"); + dec->error = TRUE; + } - dec->depth = get_u8 (bits); - dec->height = get_be_u16 (bits); - dec->width = get_be_u16 (bits); - dec->n_components = get_u8 (bits); + switch (dec->sof_type) { + case JPEG_MARKER_SOF_0: + /* baseline DCT */ + max_quant_table = 3; + if (dec->depth != 8) { + SWFDEC_ERROR("depth must be 8 (%d)", dec->depth); + dec->error = TRUE; + } + break; + case...
2007 Feb 13
0
libswfdec/jpeg libswfdec/swfdec_image.c
...EG_DEBUG ("start of frame (baseline DCT)"); + OIL_DEBUG ("start of frame (baseline DCT)"); length = get_be_u16 (bits); bits->end = bits->ptr + length - 2; @@ -229,8 +233,9 @@ jpeg_decoder_sof_baseline_dct (JpegDecod dec->width = get_be_u16 (bits); dec->n_components = get_u8 (bits); - JPEG_DEBUG ("frame_length=%d depth=%d height=%d width=%d n_components=%d", - length, dec->depth, dec->height, dec->width, dec->n_components); + OIL_DEBUG ( + "frame_length=%d depth=%d height=%d width=%d n_components=%d", length, +...