Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 25 of 49) sorted by relevance

12

/plan9/sys/src/games/mp3dec/
H A Dlayer12.c77 mad_fixed_t sample; in I_sample() local
79 sample = mad_bit_read(ptr, nb); in I_sample()
83 sample ^= 1 << (nb - 1); in I_sample()
84 sample |= -(sample & (1 << (nb - 1))); in I_sample()
86 sample <<= MAD_F_FRACBITS - (nb - 1); in I_sample()
92 sample += MAD_F_ONE >> (nb - 1); in I_sample()
94 return mad_f_mul(sample, linear_table[nb - 2]); in I_sample()
195 mad_fixed_t sample; in mad_layer_I() local
197 sample = I_sample(&stream->ptr, nb); in mad_layer_I()
201 mad_f_mul(sample, sf_table[scalefactor[ch][sb]]); in mad_layer_I()
[all …]
H A Dlayer3.c2218 mad_fixed_t sample[18][32], unsigned int sb) in III_overlap()
2230 sample[i + 0][sb] = output[i + 0 + 0] + tmp1; in III_overlap()
2234 sample[i + 1][sb] = output[i + 1 + 0] + tmp2; in III_overlap()
2239 sample[16][sb] = output[16 + 0] + tmp1; in III_overlap()
2241 sample[17][sb] = output[17 + 0] + tmp2; in III_overlap()
2246 sample[i + 0][sb] = output[i + 0 + 0] + overlap[i + 0]; in III_overlap()
2249 sample[i + 1][sb] = output[i + 1 + 0] + overlap[i + 1]; in III_overlap()
2254 sample[i][sb] = output[i + 0] + overlap[i]; in III_overlap()
2266 mad_fixed_t sample[18][32], unsigned int sb) in III_overlap_z()
2278 sample[i + 0][sb] = tmp1; in III_overlap_z()
[all …]
/plan9/sys/src/cmd/upas/filterkit/
H A Dmkfile15 pipeto.sample\
16 pipefrom.sample\
17 pipeto.sample-hold\
/plan9/sys/src/cmd/gs/src/
H A Dgxi12bit.c49 uint sample; in sample_unpack_12() local
55 sample = ((uint) (psrc[1] & 0xf) << 8) + psrc[2]; in sample_unpack_12()
56 *bufp = bits2frac(sample, 12); in sample_unpack_12()
67 sample = ((uint) * psrc << 4) + (psrc[1] >> 4); in sample_unpack_12()
68 *bufp = bits2frac(sample, 12); in sample_unpack_12()
70 sample = ((uint) (psrc[1] & 0xf) << 8) + psrc[2]; in sample_unpack_12()
71 *bufp = bits2frac(sample, 12); in sample_unpack_12()
79 sample = ((uint) * psrc << 4) + (psrc[1] >> 4); in sample_unpack_12()
80 *bufp = bits2frac(sample, 12); in sample_unpack_12()
85 sample = (uint) * psrc << 4; in sample_unpack_12()
[all …]
H A Dgdevpsds.c454 int sample; in s_IE_process() local
464 sample = (byte_in >> in_bits_left) & ((1 << bpc) - 1); in s_IE_process()
466 sample = (int)((decode[0] + in s_IE_process()
467 (sample / (float)((1 << bpc) - 1) * in s_IE_process()
470 (sample < 0 ? 0 : sample > 255 ? 255 : (byte)sample); in s_IE_process()
776 ss->sample = 0; in s_compr_chooser_init()
794 ss->sample = gs_alloc_bytes(ss->memory, width * depth, "s_compr_chooser_set_dimensions"); in s_compr_chooser_set_dimensions()
795 if (ss->sample == 0) in s_compr_chooser_set_dimensions()
806 gs_free_object(ss->memory, ss->sample, "s_compr_chooser_release"); in s_compr_chooser_release()
911 byte *p = ss->sample; in s_compr_chooser__recognize()
[all …]
H A Dgdevpsds.h159 byte *sample; member
167 compr_chooser_enum_ptrs, compr_chooser_reloc_ptrs, sample)
H A Dgxi16bit.c49 uint sample; in sample_unpack_16() local
53 sample = ((uint) psrc[0] << 8) + psrc[1]; in sample_unpack_16()
54 *bufp = (frac)((frac_1 * (sample + 1)) >> 16); in sample_unpack_16()
H A Dgshtscr.c601 ht_sample_t sample; in gs_screen_next() local
607 sample = (long long)(value * max_ht_sample) + max_ht_sample; in gs_screen_next()
615 penum->x, penum->y, pt.x, pt.y, value, sample); in gs_screen_next()
618 bits[penum->y * width + penum->x].mask = sample; in gs_screen_next()
H A Dgswts.c942 bits32 sample; in gs_wts_screen_enum_next() local
946 sample = (bits32) ((value + 1) * 0x7fffffff); in gs_wts_screen_enum_next()
947 wse->cell[wse->idx] = sample; in gs_wts_screen_enum_next()
/plan9/lib/
H A Dvideo.specs4 # sample where active video starts
10 # sample clock frequency / 1e6
/plan9/sys/src/cmd/gs/jpeg/
H A Dwizard.doc94 You can override this default with the -sample switch:
96 -sample HxV[,...] Set JPEG sampling factors for each color
99 The -sample switch specifies the JPEG sampling factors for each color
103 is equivalent to "-sample 2x2,1x1,1x1", which can be abbreviated to
104 "-sample 2x2".
108 be achieved by specifying "-sample 2x1". This is not recommended unless
H A Djmorecfg.h.save16 * 8 for 8-bit sample values (the usual setting)
17 * 12 for 12-bit sample values
46 /* Representation of a single sample (pixel element value).
306 * 1. The sample applications cjpeg,djpeg do NOT support modified RGB formats.
H A Dstructure.doc21 A "sample" is a single component value (i.e., one number in the image data).
27 We do not use the terms "pixel" and "sample" interchangeably. When we say
28 pixel, we mean an element of the full-size image, while a sample is an element
39 * cjpeg/djpeg, two sample applications that use the library to transform
181 only to the next block (8-sample) boundary. In an interleaved-scan situation,
351 component before downsampling, and Vk sample rows afterwards (remember Vk
356 edge (i.e., extending each sample row to a multiple of 8 samples); but the
358 duplicating the bottom sample row as needed to make a multiple of 8 rows).
574 Arrays of pixel sample values use the following data structure:
591 specification that sample values run from -128..127 is accommodated by
[all …]
H A Djconfig.doc116 * but only the sample applications cjpeg/djpeg (see cjpeg.c, djpeg.c).
H A Dinstall.doc75 * We provide sample jconfig files and makefiles for popular machines;
76 if your machine matches one of the samples, just copy the right sample
320 As a quick test of functionality we've included a small sample image in
450 maxval greater than 255 are assumed to use 2 bytes per sample, LSB first
462 standard 1-byte/sample PPM or PGM file. (Yes, this means still another copy
920 will accept or deliver color pixels in BGR sample order, not RGB; BGR order
922 the sample applications cjpeg/djpeg, but the library itself works fine.
1014 Win32 library, and an application makefile that builds the sample applications
/plan9/sys/src/cmd/gs/lib/
H A Dcidfmap3 % This is a sample map file for CIDFont category.
H A DFAPIcidfmap3 % This is a sample map file for FAPI CID fonts.
H A DFAPIfontmap3 % This is a sample map file for FAPI fonts.
/plan9/sys/lib/ghostscript/
H A Dcidfmap3 % This is a sample map file for CIDFont category.
/plan9/mail/lib/
H A Drewrite.direct2 # sample rewrite file for systems that send and receive mail directly.
H A Drewrite.gateway2 # sample rewrite file for systems that send mail to a mail server or gateway
/plan9/sys/src/cmd/gs/zlib/
H A DINDEX46 source files for sample programs:
/plan9/sys/src/cmd/aux/
H A Dtimesync.c121 static vlong sample(long (*get)(void));
358 s->stime = sample(fstime); in main()
361 s->stime = sample(rtctime); in main()
1243 sample(long (*get)(void)) in sample() function
/plan9/sys/src/cmd/gs/
H A Dmkfile56 # // sample = (int) (value * max_ht_sample) + max_ht_sample;
58 # sample = (vlong)(value * max_ht_sample) + max_ht_sample;
/plan9/sys/lib/lp/
H A Ddevices1 # Here is a sample printer devices file where some of the printers have

12