Lines Matching +defs:n +defs:j
852 static void stbi__stdio_skip(void *user, int n) in stbi__stdio_skip()
1579 int n = (s->io.read)(s->io_user_data,(char*)s->buffer_start,s->buflen); in stbi__refill_buffer() local
1624 static void stbi__skip(stbi__context *s, int n) in stbi__skip()
1646 static int stbi__getn(stbi__context *s, stbi_uc *buffer, int n) in stbi__getn()
1737 int i,j; in stbi__convert_format() local
1794 int i,j; in stbi__convert_format16() local
1840 int i,k,n; in stbi__ldr_to_hdr() local
1866 int i,k,n; in stbi__hdr_to_ldr() local
1985 int i,j,k=0; in stbi__build_huffman() local
2052 static void stbi__grow_buffer_unsafe(stbi__jpeg *j) in stbi__grow_buffer_unsafe()
2074 stbi_inline static int stbi__jpeg_huff_decode(stbi__jpeg *j, stbi__huffman *h) in stbi__jpeg_huff_decode()
2128 stbi_inline static int stbi__extend_receive(stbi__jpeg *j, int n) in stbi__extend_receive()
2143 stbi_inline static int stbi__jpeg_get_bits(stbi__jpeg *j, int n) in stbi__jpeg_get_bits()
2154 stbi_inline static int stbi__jpeg_get_bit(stbi__jpeg *j) in stbi__jpeg_get_bit()
2182 static int stbi__jpeg_decode_block(stbi__jpeg *j, short data[64], stbi__huffman *hdc, stbi__huffman… in stbi__jpeg_decode_block()
2234 static int stbi__jpeg_decode_block_prog_dc(stbi__jpeg *j, short data[64], stbi__huffman *hdc, int b) in stbi__jpeg_decode_block_prog_dc()
2262 static int stbi__jpeg_decode_block_prog_ac(stbi__jpeg *j, short data[64], stbi__huffman *hac, stbi_… in stbi__jpeg_decode_block_prog_ac()
2885 static stbi_uc stbi__get_marker(stbi__jpeg *j) in stbi__get_marker()
2902 static void stbi__jpeg_reset(stbi__jpeg *j) in stbi__jpeg_reset()
2920 int i,j; in stbi__parse_entropy_coded_data() local
2922 int n = z->order[0]; in stbi__parse_entropy_coded_data() local
2946 int i,j,k,x,y; in stbi__parse_entropy_coded_data() local
2952 int n = z->order[k]; in stbi__parse_entropy_coded_data() local
2978 int i,j; in stbi__parse_entropy_coded_data() local
2979 int n = z->order[0]; in stbi__parse_entropy_coded_data() local
3007 int i,j,k,x,y; in stbi__parse_entropy_coded_data() local
3012 int n = z->order[k]; in stbi__parse_entropy_coded_data() local
3050 int i,j,n; in stbi__jpeg_finish() local
3096 int sizes[16],i,n=0; in stbi__process_marker() local
3348 static int stbi__decode_jpeg_image(stbi__jpeg *j) in stbi__decode_jpeg_image()
3429 int n = 3*input[i]+2; in stbi__resample_row_h_2() local
3588 int i,j; in stbi__resample_row_generic() local
3760 static void stbi__setup_jpeg(stbi__jpeg *j) in stbi__setup_jpeg()
3782 static void stbi__cleanup_jpeg(stbi__jpeg *j) in stbi__cleanup_jpeg()
3806 int n, decode_n, is_rgb; in load_jpeg_image() local
3832 unsigned int i,j; in load_jpeg_image() local
3970 stbi__jpeg* j = (stbi__jpeg*) stbi__malloc(sizeof(stbi__jpeg)); in stbi__jpeg_load() local
3983 stbi__jpeg* j = (stbi__jpeg*)stbi__malloc(sizeof(stbi__jpeg)); in stbi__jpeg_test() local
3993 static int stbi__jpeg_info_raw(stbi__jpeg *j, int *x, int *y, int *comp) in stbi__jpeg_info_raw()
4008 stbi__jpeg* j = (stbi__jpeg*) (stbi__malloc(sizeof(stbi__jpeg))); in stbi__jpeg_info() local
4043 stbi_inline static int stbi__bitreverse16(int n) in stbi__bitreverse16()
4095 int j = stbi__bit_reverse(next_code[s],s); in stbi__zbuild_huffman() local
4149 stbi_inline static unsigned int stbi__zreceive(stbi__zbuf *z, int n) in stbi__zreceive()
4197 static int stbi__zexpand(stbi__zbuf *z, char *zout, int n) // need to make room for n bytes in stbi__zexpand()
4281 int i,n; in stbi__compute_huffman_codes() local
4591 stbi__uint32 i,j,stride = x*out_n*bytes; in stbi__create_png_image_raw() local
4816 int i,j,x,y; in stbi__create_png_image() local
4907 int n = orig[i]*4; in stbi__expand_png_palette() local
4915 int n = orig[i]*4; in stbi__expand_png_palette() local
5192 static void *stbi__do_png(stbi__png *p, int *x, int *y, int *n, int req_comp, stbi__result_info *ri) in stbi__do_png()
5301 int n=0; in stbi__high_bit() local
5465 int psize=0,i,j,width; in stbi__bmp_load() local
5807 int i, j; in stbi__tga_load() local
7083 int i, j, k, c1,c2, z; in stbi__hdr_load() local