SYMBOL INDEX (665 symbols across 18 files) FILE: hw1/main.py function line (line 13) | def line(p1,p2): function drawline (line 28) | def drawline(a,p1,p2,c): function colorize (line 40) | def colorize(a,p,bg,fg): FILE: hw2/pt/main.cpp type Ray (line 5) | struct Ray{ method Ray (line 7) | Ray(P3 o_, P3 d_): o(o_), d(d_) {} type Refl_t (line 10) | enum Refl_t { DIFF, SPEC, REFR } type Sphere (line 12) | struct Sphere{ method Sphere (line 16) | Sphere(ld rad_, P3 o_, P3 e_, P3 c_, Refl_t refl_, ld ns_=1.5): method ld (line 18) | ld intersect(const Ray&r) const { function output (line 42) | int output(ld x) {return int(.5+mcol*pow(x<0?0:x>1?1:x,1/2.2));} function intersect (line 44) | bool intersect(const Ray&r, ld&t, int&id){ function P3 (line 52) | P3 radiance(const Ray&r, int dep,unsigned short *X){ function main (line 85) | int main(int argc, char*argv[]) FILE: hw2/pt/utils.hpp function ld (line 9) | ld rand01() {return 1.*rand()/RAND_MAX;} type P3 (line 11) | struct P3{ method P3 (line 13) | P3(ld x_=0, ld y_=0, ld z_=0): x(x_), y(y_), z(z_) {} method P3 (line 14) | P3 operator-() const {return P3(-x, -y, -z);} method P3 (line 15) | P3 operator+(const P3&a) const {return P3(x+a.x, y+a.y, z+a.z);} method P3 (line 16) | P3 operator-(const P3&a) const {return P3(x-a.x, y-a.y, z-a.z);} method P3 (line 17) | P3 operator*(ld p) const {return P3(x*p, y*p, z*p);} method P3 (line 18) | P3 operator/(ld p) const {return P3(x/p, y/p, z/p);} method P3 (line 21) | P3&operator+=(const P3&a) {return *this = *this + a;} method P3 (line 22) | P3&operator-=(const P3&a) {return *this = *this - a;} method P3 (line 23) | P3&operator*=(ld p) {return *this = *this * p;} method P3 (line 24) | P3&operator/=(ld p) {return *this = *this / p;} method ld (line 25) | ld operator|(const P3&a) const {return x*a.x + y*a.y + z*a.z;} method ld (line 26) | ld dot(const P3&a) const {return x*a.x + y*a.y + z*a.z;} method ld (line 27) | ld max() const {return x>y&&x>z?x:y>z?y:z;} method ld (line 28) | ld len() const {return sqrt(x*x + y*y + z*z);} method ld (line 29) | ld len2() const {return x*x + y*y + z*z;} method P3 (line 30) | P3 mult(const P3&a) const {return P3(x*a.x, y*a.y, z*a.z);} method P3 (line 31) | P3 operator&(const P3&a) const {return P3(y*a.z-z*a.y, z*a.x-x*a.z, x*... method P3 (line 32) | P3 cross(const P3&a) const {return P3(y*a.z-z*a.y, z*a.x-x*a.z, x*a.y-... method P3 (line 33) | P3 norm() const {return (*this)/len();} method P3 (line 34) | P3 clip() const {return P3(x>1?1:x<0?0:x, y>1?1:y<0?0:y, z>1?1:z<0?0:z);} method P3 (line 35) | P3 reflect(const P3&n) const {return (*this)-n*2.*n.dot(*this);} method P3 (line 36) | P3 refract(const P3&n, ld ni, ld nr) const { // smallPT1.ppt Page#72 method print (line 47) | void print() const {std::cout << x << " " << y << " " << z << std::endl;} FILE: hw2/sppm/bezier.hpp class BezierCurve2D (line 7) | class BezierCurve2D type D (line 12) | struct D{ method BezierCurve2D (line 17) | BezierCurve2D(ld* px, ld* py, int n_, int num_, ld r_): num(num_), n(n... method P3 (line 65) | P3 getpos(ld t) method P3 (line 76) | P3 getdir(ld t) method P3 (line 87) | P3 getdir2(ld t) FILE: hw2/sppm/bezier_test.py function bezier (line 17) | def bezier(t): function init (line 24) | def init(size): function init_new (line 37) | def init_new(control): function bezier_new (line 58) | def bezier_new(t): function ray (line 66) | def ray(x): FILE: hw2/sppm/kdtree.hpp type SPPMnode (line 7) | struct SPPMnode { method SPPMnode (line 11) | SPPMnode() {index = -1; prob = 1;} method SPPMnode (line 12) | SPPMnode(P3 pos_, P3 col_, P3 dir_, ld r_ = 1, int index_ = -1, ld pro... type IMGbuf (line 16) | struct IMGbuf { method IMGbuf (line 18) | IMGbuf(): n(0), f(0,0,0) {} method IMGbuf (line 19) | IMGbuf(ld n_, P3 f_): n(n_), f(f_) {} method add (line 20) | void add(P3 c, ld p = 1.) { n += p, f += c; } method P3 (line 21) | P3 getcol() { return f / n; } method reset (line 22) | void reset() { n = 0; f.x = f.y = f.z = 0; } method IMGbuf (line 23) | IMGbuf operator+(const IMGbuf& a) const {return IMGbuf(n + a.n, f + a.... method IMGbuf (line 24) | IMGbuf operator*(ld p) const {return IMGbuf(n * p, f * p);} method IMGbuf (line 25) | IMGbuf operator/(ld p) const {return IMGbuf(n / p, f / p);} method IMGbuf (line 26) | IMGbuf& operator+=(const IMGbuf& a) {return *this = *this + a;} method P3 (line 27) | P3 get() { return n < eps ? f : f / n; } class KDTree (line 30) | class KDTree type KDTreeNode (line 35) | struct KDTreeNode { method KDTreeNode (line 39) | KDTreeNode(): sppm() {s[0] = s[1] = 0;} method KDTree (line 50) | KDTree() { tree = NULL; } method mt (line 52) | void mt(int f, int x) { method bt (line 56) | int bt(int l, int r, int d) { method KDTree (line 66) | KDTree(std::vector& node) { // multi-thread forbid !!! method init (line 69) | void init(std::vector& node) { // multi-thread forbid !!! method ld (line 78) | ld getdis2(P3 pos, P3 m0, P3 m1) { method _query (line 81) | void _query(const SPPMnode&node, IMGbuf* c, int o) { method _modify (line 91) | void _modify(int o) { method query (line 97) | void query(SPPMnode node, IMGbuf* c) { method modify (line 100) | void modify() { FILE: hw2/sppm/main.cpp function baseline (line 3) | int baseline(int argc, char *argv[]) function sppm (line 47) | int sppm(int argc, char* argv[]) function main (line 159) | int main(int argc, char*argv[]) FILE: hw2/sppm/obj.hpp class Object (line 12) | class Object { method Object (line 15) | Object(Texture t): texture(t) {} method Object (line 16) | Object(Refl_t refl, P3 color, P3 emission, ld brdf, std::string tname): method intersect (line 18) | virtual std::pair intersect(Ray) {puts("virtual error in inter... method aabb (line 20) | virtual std::pair aabb() {puts("virtual error in aabb!");} method P3 (line 21) | virtual P3 norm(P3) {puts("virtual error in norm!");} method P3 (line 23) | virtual P3 change_for_bezier(P3) {puts("virtual error in bezier!");} class BezierObject (line 26) | class BezierObject: public Object { method BezierObject (line 31) | BezierObject(P3 pos_, BezierCurve2D c_, Texture t): method BezierObject (line 33) | BezierObject(P3 pos_, BezierCurve2D c_, Refl_t refl, ld brdf = 1.5, P3... method ld (line 35) | ld solve_t(ld yc) { // solve y(t)=yc method P3 (line 49) | virtual P3 change_for_bezier(P3 inter_p) { method ld (line 56) | ld get_sphere_intersect(Ray ray, P3 o, ld r) { method intersect (line 67) | virtual std::pair intersect(Ray ray) { method check (line 178) | bool check(ld low, ld upp, ld init, Ray ray, ld a, ld b, ld c, ld&fina... method ld (line 203) | ld getft(ld t, ld a, ld b, ld c) method ld (line 211) | ld newton(ld t, ld a, ld b, ld c, ld low=eps, ld upp=1-eps) method ld (line 236) | ld newton2(ld t, ld a, ld b, ld c) method aabb (line 256) | virtual std::pair aabb() { method P3 (line 259) | virtual P3 norm(P3 p) { class CubeObject (line 268) | class CubeObject: public Object { method CubeObject (line 272) | CubeObject(P3 m0_, P3 m1_, Texture t): method CubeObject (line 274) | CubeObject(P3 m0_, P3 m1_, Refl_t refl, ld brdf = 1.5, P3 color = P3()... method P3 (line 276) | virtual P3 norm(P3 p) { method intersect (line 285) | virtual std::pair intersect(Ray ray) { method aabb (line 329) | virtual std::pair aabb() { class SphereObject (line 334) | class SphereObject: public Object { method SphereObject (line 338) | SphereObject(P3 o_, ld r_, Texture t): method SphereObject (line 340) | SphereObject(P3 o_, ld r_, Refl_t refl, ld brdf = 1.5, P3 color = P3()... method intersect (line 342) | virtual std::pair intersect(Ray ray) { method aabb (line 353) | virtual std::pair aabb() { method P3 (line 356) | virtual P3 norm(P3 p) { class PlaneObject (line 363) | class PlaneObject: public Object { method PlaneObject (line 367) | PlaneObject(P3 n_, Texture t): method PlaneObject (line 369) | PlaneObject(P3 n_, Refl_t refl, ld brdf = 1.5, P3 color = P3(), P3 emi... method intersect (line 371) | virtual std::pair intersect(Ray ray) { method aabb (line 377) | virtual std::pair aabb() { method P3 (line 397) | virtual P3 norm(P3) { FILE: hw2/sppm/ray.hpp class Ray (line 7) | class Ray method Ray (line 11) | Ray(P3 o_, P3 d_): o(o_), d(d_) {} method P3 (line 12) | P3 get(ld t) { return o + d * t; } method print (line 13) | void print() { puts("Ray: "); o.print(); d.print(); } FILE: hw2/sppm/render.hpp function find_intersect_simple (line 8) | std::pair find_intersect_simple(Ray ray) { function P3 (line 21) | P3 basic_render(Ray ray, int dep, unsigned short *X) { function sppm_backtrace (line 65) | std::vector sppm_backtrace(Ray ray, int dep, int index, unsign... function sppm_forward (line 124) | void sppm_forward(Ray ray, int dep, P3 col, unsigned short *X, IMGbuf* c... FILE: hw2/sppm/scene.hpp function get_feature (line 69) | std::pair get_feature(Object* obj, Texture&texture, P3 x, un... FILE: hw2/sppm/stb_image.h type stbi_uc (line 322) | typedef unsigned char stbi_uc; type stbi_us (line 323) | typedef unsigned short stbi_us; type stbi_io_callbacks (line 344) | typedef struct type stbi__uint16 (line 541) | typedef unsigned short stbi__uint16; type stbi__int16 (line 542) | typedef signed short stbi__int16; type stbi__uint32 (line 543) | typedef unsigned int stbi__uint32; type stbi__int32 (line 544) | typedef signed int stbi__int32; type stbi__uint16 (line 547) | typedef uint16_t stbi__uint16; type stbi__int16 (line 548) | typedef int16_t stbi__int16; type stbi__uint32 (line 549) | typedef uint32_t stbi__uint32; type stbi__int32 (line 550) | typedef int32_t stbi__int32; function stbi__cpuid3 (line 631) | static int stbi__cpuid3(void) function stbi__sse2_available (line 652) | static int stbi__sse2_available(void) function stbi__sse2_available (line 660) | static int stbi__sse2_available(void) type stbi__context (line 691) | typedef struct function stbi__start_mem (line 711) | static void stbi__start_mem(stbi__context *s, stbi_uc const *buffer, int... function stbi__start_callbacks (line 720) | static void stbi__start_callbacks(stbi__context *s, stbi_io_callbacks *c... function stbi__stdio_read (line 733) | static int stbi__stdio_read(void *user, char *data, int size) function stbi__stdio_skip (line 738) | static void stbi__stdio_skip(void *user, int n) function stbi__stdio_eof (line 743) | static int stbi__stdio_eof(void *user) function stbi__start_file (line 755) | static void stbi__start_file(stbi__context *s, FILE *f) function stbi__rewind (line 764) | static void stbi__rewind(stbi__context *s) type stbi__result_info (line 779) | typedef struct function STBIDEF (line 846) | STBIDEF const char *stbi_failure_reason(void) function stbi__err (line 851) | static int stbi__err(const char *str) function stbi__addsizes_valid (line 874) | static int stbi__addsizes_valid(int a, int b) function stbi__mul2sizes_valid (line 886) | static int stbi__mul2sizes_valid(int a, int b) function stbi__mad2sizes_valid (line 895) | static int stbi__mad2sizes_valid(int a, int b, int add) function stbi__mad3sizes_valid (line 901) | static int stbi__mad3sizes_valid(int a, int b, int c, int add) function stbi__mad4sizes_valid (line 909) | static int stbi__mad4sizes_valid(int a, int b, int c, int d, int add) function STBIDEF (line 952) | STBIDEF void stbi_image_free(void *retval_from_stbi_load) function STBIDEF (line 967) | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) function stbi_uc (line 1017) | static stbi_uc *stbi__convert_16_to_8(stbi__uint16 *orig, int w, int h, ... function stbi__uint16 (line 1033) | static stbi__uint16 *stbi__convert_8_to_16(stbi_uc *orig, int w, int h, ... function stbi__vertical_flip (line 1049) | static void stbi__vertical_flip(void *image, int w, int h, int bytes_per... function stbi__vertical_flip_slices (line 1073) | static void stbi__vertical_flip_slices(void *image, int w, int h, int z,... function stbi__uint16 (line 1109) | static stbi__uint16 *stbi__load_and_postprocess_16bit(stbi__context *s, ... function stbi__float_postprocess (line 1135) | static void stbi__float_postprocess(float *result, int *x, int *y, int *... function FILE (line 1146) | static FILE *stbi__fopen(char const *filename, char const *mode) function STBIDEF (line 1159) | STBIDEF stbi_uc *stbi_load(char const *filename, int *x, int *y, int *co... function STBIDEF (line 1169) | STBIDEF stbi_uc *stbi_load_from_file(FILE *f, int *x, int *y, int *comp,... function STBIDEF (line 1182) | STBIDEF stbi__uint16 *stbi_load_from_file_16(FILE *f, int *x, int *y, in... function STBIDEF (line 1195) | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int ... function STBIDEF (line 1208) | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len... function STBIDEF (line 1215) | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *cl... function STBIDEF (line 1222) | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, i... function STBIDEF (line 1229) | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk,... function STBIDEF (line 1237) | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int le... function STBIDEF (line 1271) | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, in... function STBIDEF (line 1278) | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, ... function STBIDEF (line 1286) | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *com... function STBIDEF (line 1296) | STBIDEF float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, ... function STBIDEF (line 1310) | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) function STBIDEF (line 1324) | STBIDEF int stbi_is_hdr (char const *filename) function STBIDEF (line 1335) | STBIDEF int stbi_is_hdr_from_file(FILE *f) function STBIDEF (line 1352) | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clb... function STBIDEF (line 1368) | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = ga... function STBIDEF (line 1369) | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = sc... function STBIDEF (line 1374) | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = ... function STBIDEF (line 1375) | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = ... function stbi__refill_buffer (line 1390) | static void stbi__refill_buffer(stbi__context *s) function stbi_inline (line 1406) | stbi_inline static stbi_uc stbi__get8(stbi__context *s) function stbi_inline (line 1417) | stbi_inline static int stbi__at_eof(stbi__context *s) function stbi__skip (line 1429) | static void stbi__skip(stbi__context *s, int n) function stbi__getn (line 1446) | static int stbi__getn(stbi__context *s, stbi_uc *buffer, int n) function stbi__get16be (line 1470) | static int stbi__get16be(stbi__context *s) function stbi__uint32 (line 1476) | static stbi__uint32 stbi__get32be(stbi__context *s) function stbi__get16le (line 1485) | static int stbi__get16le(stbi__context *s) function stbi__uint32 (line 1493) | static stbi__uint32 stbi__get32le(stbi__context *s) function stbi_uc (line 1514) | static stbi_uc stbi__compute_y(int r, int g, int b) function stbi__uint16 (line 1563) | static stbi__uint16 stbi__compute_y_16(int r, int g, int b) function stbi__uint16 (line 1568) | static stbi__uint16 *stbi__convert_format16(stbi__uint16 *data, int img_... function stbi_uc (line 1635) | static stbi_uc *stbi__hdr_to_ldr(float *data, int x, int y, int comp) type stbi__huffman (line 1689) | typedef struct type stbi__jpeg (line 1700) | typedef struct function stbi__build_huffman (line 1754) | static int stbi__build_huffman(stbi__huffman *h, int *count) function stbi__build_fast_ac (line 1798) | static void stbi__build_fast_ac(stbi__int16 *fast_ac, stbi__huffman *h) function stbi__grow_buffer_unsafe (line 1823) | static void stbi__grow_buffer_unsafe(stbi__jpeg *j) function stbi_inline (line 1845) | stbi_inline static int stbi__jpeg_huff_decode(stbi__jpeg *j, stbi__huffm... function stbi_inline (line 1899) | stbi_inline static int stbi__extend_receive(stbi__jpeg *j, int n) function stbi_inline (line 1915) | stbi_inline static int stbi__jpeg_get_bits(stbi__jpeg *j, int n) function stbi_inline (line 1926) | stbi_inline static int stbi__jpeg_get_bit(stbi__jpeg *j) function stbi__jpeg_decode_block (line 1954) | static int stbi__jpeg_decode_block(stbi__jpeg *j, short data[64], stbi__... function stbi__jpeg_decode_block_prog_dc (line 2006) | static int stbi__jpeg_decode_block_prog_dc(stbi__jpeg *j, short data[64]... function stbi__jpeg_decode_block_prog_ac (line 2033) | static int stbi__jpeg_decode_block_prog_ac(stbi__jpeg *j, short data[64]... function stbi_inline (line 2153) | stbi_inline static stbi_uc stbi__clamp(int x) function stbi__idct_block (line 2204) | static void stbi__idct_block(stbi_uc *out, int out_stride, short data[64]) function stbi__idct_simd (line 2267) | static void stbi__idct_simd(stbi_uc *out, int out_stride, short data[64]) function stbi__idct_simd (line 2448) | static void stbi__idct_simd(stbi_uc *out, int out_stride, short data[64]) function stbi_uc (line 2656) | static stbi_uc stbi__get_marker(stbi__jpeg *j) function stbi__jpeg_reset (line 2673) | static void stbi__jpeg_reset(stbi__jpeg *j) function stbi__parse_entropy_coded_data (line 2686) | static int stbi__parse_entropy_coded_data(stbi__jpeg *z) function stbi__jpeg_dequantize (line 2810) | static void stbi__jpeg_dequantize(short *data, stbi__uint16 *dequant) function stbi__jpeg_finish (line 2817) | static void stbi__jpeg_finish(stbi__jpeg *z) function stbi__process_marker (line 2836) | static int stbi__process_marker(stbi__jpeg *z, int m) function stbi__process_scan_header (line 2939) | static int stbi__process_scan_header(stbi__jpeg *z) function stbi__free_jpeg_components (line 2978) | static int stbi__free_jpeg_components(stbi__jpeg *z, int ncomp, int why) function stbi__process_frame_header (line 3000) | static int stbi__process_frame_header(stbi__jpeg *z, int scan) function stbi__decode_jpeg_header (line 3092) | static int stbi__decode_jpeg_header(stbi__jpeg *z, int scan) function stbi__decode_jpeg_image (line 3117) | static int stbi__decode_jpeg_image(stbi__jpeg *j) type stbi_uc (line 3159) | typedef stbi_uc *(*resample_row_func)(stbi_uc *out, stbi_uc *in0, stbi_u... function stbi_uc (line 3164) | static stbi_uc *resample_row_1(stbi_uc *out, stbi_uc *in_near, stbi_uc *... function stbi_uc (line 3173) | static stbi_uc* stbi__resample_row_v_2(stbi_uc *out, stbi_uc *in_near, s... function stbi_uc (line 3183) | static stbi_uc* stbi__resample_row_h_2(stbi_uc *out, stbi_uc *in_near, ... function stbi_uc (line 3213) | static stbi_uc *stbi__resample_row_hv_2(stbi_uc *out, stbi_uc *in_near, ... function stbi_uc (line 3238) | static stbi_uc *stbi__resample_row_hv_2_simd(stbi_uc *out, stbi_uc *in_n... function stbi_uc (line 3354) | static stbi_uc *stbi__resample_row_generic(stbi_uc *out, stbi_uc *in_nea... function stbi__YCbCr_to_RGB_row (line 3368) | static void stbi__YCbCr_to_RGB_row(stbi_uc *out, const stbi_uc *y, const... function stbi__YCbCr_to_RGB_simd (line 3394) | static void stbi__YCbCr_to_RGB_simd(stbi_uc *out, stbi_uc const *y, stbi... function stbi__setup_jpeg (line 3529) | static void stbi__setup_jpeg(stbi__jpeg *j) function stbi__cleanup_jpeg (line 3551) | static void stbi__cleanup_jpeg(stbi__jpeg *j) type stbi__resample (line 3556) | typedef struct function stbi_uc (line 3567) | static stbi_uc stbi__blinn_8x8(stbi_uc x, stbi_uc y) function stbi_uc (line 3573) | static stbi_uc *load_jpeg_image(stbi__jpeg *z, int *out_x, int *out_y, i... function stbi__jpeg_test (line 3744) | static int stbi__jpeg_test(stbi__context *s) function stbi__jpeg_info_raw (line 3756) | static int stbi__jpeg_info_raw(stbi__jpeg *j, int *x, int *y, int *comp) function stbi__jpeg_info (line 3768) | static int stbi__jpeg_info(stbi__context *s, int *x, int *y, int *comp) type stbi__zhuffman (line 3794) | typedef struct function stbi_inline (line 3804) | stbi_inline static int stbi__bitreverse16(int n) function stbi_inline (line 3813) | stbi_inline static int stbi__bit_reverse(int v, int bits) function stbi__zbuild_huffman (line 3821) | static int stbi__zbuild_huffman(stbi__zhuffman *z, const stbi_uc *sizeli... type stbi__zbuf (line 3874) | typedef struct function stbi_inline (line 3888) | stbi_inline static stbi_uc stbi__zget8(stbi__zbuf *z) function stbi__fill_bits (line 3894) | static void stbi__fill_bits(stbi__zbuf *z) function stbi__zreceive (line 3903) | int stbi__zreceive(stbi__zbuf *z, int n) function stbi__zhuffman_decode_slowpath (line 3913) | static int stbi__zhuffman_decode_slowpath(stbi__zbuf *a, stbi__zhuffman *z) function stbi_inline (line 3931) | stbi_inline static int stbi__zhuffman_decode(stbi__zbuf *a, stbi__zhuffm... function stbi__zexpand (line 3945) | static int stbi__zexpand(stbi__zbuf *z, char *zout, int n) // need to m... function stbi__parse_huffman_block (line 3978) | static int stbi__parse_huffman_block(stbi__zbuf *a) function stbi__compute_huffman_codes (line 4020) | static int stbi__compute_huffman_codes(stbi__zbuf *a) function stbi__parse_uncompressed_block (line 4069) | static int stbi__parse_uncompressed_block(stbi__zbuf *a) function stbi__parse_zlib_header (line 4098) | static int stbi__parse_zlib_header(stbi__zbuf *a) function stbi__parse_zlib (line 4140) | static int stbi__parse_zlib(stbi__zbuf *a, int parse_header) function stbi__do_zlib (line 4168) | static int stbi__do_zlib(stbi__zbuf *a, char *obuf, int olen, int exp, i... function STBIDEF (line 4178) | STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int ... function STBIDEF (line 4194) | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *... function STBIDEF (line 4199) | STBIDEF char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *b... function STBIDEF (line 4215) | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const ... function STBIDEF (line 4226) | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int l... function STBIDEF (line 4242) | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, co... type stbi__pngchunk (line 4265) | typedef struct function stbi__pngchunk (line 4271) | static stbi__pngchunk stbi__get_chunk_header(stbi__context *s) function stbi__check_png_header (line 4279) | static int stbi__check_png_header(stbi__context *s) type stbi__png (line 4288) | typedef struct function stbi__paeth (line 4316) | static int stbi__paeth(int a, int b, int c) function stbi__create_png_image_raw (line 4330) | static int stbi__create_png_image_raw(stbi__png *a, stbi_uc *raw, stbi__... function stbi__create_png_image (line 4542) | static int stbi__create_png_image(stbi__png *a, stbi_uc *image_data, stb... function stbi__compute_transparency (line 4586) | static int stbi__compute_transparency(stbi__png *z, stbi_uc tc[3], int o... function stbi__compute_transparency16 (line 4611) | static int stbi__compute_transparency16(stbi__png *z, stbi__uint16 tc[3]... function stbi__expand_png_palette (line 4636) | static int stbi__expand_png_palette(stbi__png *a, stbi_uc *palette, int ... function STBIDEF (line 4676) | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpr... function STBIDEF (line 4681) | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_conv... function stbi__de_iphone (line 4686) | static void stbi__de_iphone(stbi__png *z) function stbi__parse_png_file (line 4731) | static int stbi__parse_png_file(stbi__png *z, int scan, int req_comp) function stbi__png_test (line 4940) | static int stbi__png_test(stbi__context *s) function stbi__png_info_raw (line 4948) | static int stbi__png_info_raw(stbi__png *p, int *x, int *y, int *comp) function stbi__png_info (line 4960) | static int stbi__png_info(stbi__context *s, int *x, int *y, int *comp) function stbi__png_is16 (line 4967) | static int stbi__png_is16(stbi__context *s) function stbi__bmp_test_raw (line 4984) | static int stbi__bmp_test_raw(stbi__context *s) function stbi__bmp_test (line 4999) | static int stbi__bmp_test(stbi__context *s) function stbi__high_bit (line 5008) | static int stbi__high_bit(unsigned int z) function stbi__bitcount (line 5020) | static int stbi__bitcount(unsigned int a) function stbi__shiftsigned (line 5033) | static int stbi__shiftsigned(int v, int shift, int bits) type stbi__bmp_data (line 5053) | typedef struct function stbi__tga_get_comp (line 5323) | static int stbi__tga_get_comp(int bits_per_pixel, int is_grey, int* is_r... function stbi__tga_info (line 5339) | static int stbi__tga_info(stbi__context *s, int *x, int *y, int *comp) function stbi__tga_test (line 5404) | static int stbi__tga_test(stbi__context *s) function stbi__tga_read_rgb16 (line 5436) | static void stbi__tga_read_rgb16(stbi__context *s, stbi_uc* out) function stbi__psd_test (line 5654) | static int stbi__psd_test(stbi__context *s) function stbi__psd_decode_rle (line 5661) | static int stbi__psd_decode_rle(stbi__context *s, stbi_uc *p, int pixelC... function stbi__pic_is4 (line 5906) | static int stbi__pic_is4(stbi__context *s,const char *str) function stbi__pic_test_core (line 5916) | static int stbi__pic_test_core(stbi__context *s) type stbi__pic_packet (line 5932) | typedef struct function stbi_uc (line 5937) | static stbi_uc *stbi__readval(stbi__context *s, int channel, stbi_uc *dest) function stbi__copyval (line 5951) | static void stbi__copyval(int channel,stbi_uc *dest,const stbi_uc *src) function stbi_uc (line 5960) | static stbi_uc *stbi__pic_load_core(stbi__context *s,int width,int heigh... function stbi__pic_test (line 6106) | static int stbi__pic_test(stbi__context *s) type stbi__gif_lzw (line 6118) | typedef struct type stbi__gif (line 6125) | typedef struct function stbi__gif_test_raw (line 6145) | static int stbi__gif_test_raw(stbi__context *s) function stbi__gif_test (line 6155) | static int stbi__gif_test(stbi__context *s) function stbi__gif_parse_colortable (line 6162) | static void stbi__gif_parse_colortable(stbi__context *s, stbi_uc pal[256... function stbi__gif_header (line 6173) | static int stbi__gif_header(stbi__context *s, stbi__gif *g, int *comp, i... function stbi__gif_info_raw (line 6201) | static int stbi__gif_info_raw(stbi__context *s, int *x, int *y, int *comp) function stbi__out_gif_code (line 6215) | static void stbi__out_gif_code(stbi__gif *g, stbi__uint16 code) function stbi_uc (line 6252) | static stbi_uc *stbi__process_gif_raster(stbi__context *s, stbi__gif *g) function stbi_uc (line 6339) | static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int ... function stbi__gif_info (line 6588) | static int stbi__gif_info(stbi__context *s, int *x, int *y, int *comp) function stbi__hdr_test_core (line 6598) | static int stbi__hdr_test_core(stbi__context *s, const char *signature) function stbi__hdr_test (line 6608) | static int stbi__hdr_test(stbi__context* s) function stbi__hdr_convert (line 6642) | static void stbi__hdr_convert(float *output, stbi_uc *input, int req_comp) function stbi__hdr_info (line 6797) | static int stbi__hdr_info(stbi__context *s, int *x, int *y, int *comp) function stbi__bmp_info (line 6843) | static int stbi__bmp_info(stbi__context *s, int *x, int *y, int *comp) function stbi__psd_info (line 6861) | static int stbi__psd_info(stbi__context *s, int *x, int *y, int *comp) function stbi__psd_is16 (line 6896) | static int stbi__psd_is16(stbi__context *s) function stbi__pic_info (line 6925) | static int stbi__pic_info(stbi__context *s, int *x, int *y, int *comp) function stbi__pnm_test (line 6997) | static int stbi__pnm_test(stbi__context *s) function stbi__pnm_isspace (line 7035) | static int stbi__pnm_isspace(char c) function stbi__pnm_skip_whitespace (line 7040) | static void stbi__pnm_skip_whitespace(stbi__context *s, char *c) function stbi__pnm_isdigit (line 7054) | static int stbi__pnm_isdigit(char c) function stbi__pnm_getinteger (line 7059) | static int stbi__pnm_getinteger(stbi__context *s, char *c) function stbi__pnm_info (line 7071) | static int stbi__pnm_info(stbi__context *s, int *x, int *y, int *comp) function stbi__info_main (line 7110) | static int stbi__info_main(stbi__context *s, int *x, int *y, int *comp) function stbi__is_16_main (line 7152) | static int stbi__is_16_main(stbi__context *s) function STBIDEF (line 7166) | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) function STBIDEF (line 7176) | STBIDEF int stbi_info_from_file(FILE *f, int *x, int *y, int *comp) function STBIDEF (line 7187) | STBIDEF int stbi_is_16_bit(char const *filename) function STBIDEF (line 7197) | STBIDEF int stbi_is_16_bit_from_file(FILE *f) function STBIDEF (line 7209) | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x... function STBIDEF (line 7216) | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *u... function STBIDEF (line 7223) | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) function STBIDEF (line 7230) | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, vo... FILE: hw2/sppm/texture.hpp class Texture (line 6) | class Texture { method Texture (line 14) | Texture(const Texture&t): brdf(t.brdf), filename(t.filename), color(t.... method Texture (line 20) | Texture(std::string _, ld b, P3 col, P3 e, Refl_t r): brdf(b), filenam... method getcol (line 26) | std::pair getcol(ld a, ld b) { FILE: hw2/sppm/utils.hpp type Refl_t (line 20) | enum Refl_t { DIFF, SPEC, REFR } function gamma_trans (line 22) | int gamma_trans(ld x) {return int(.5 + 255 * pow(x < 0 ? 0 : x > 1 ? 1 :... function ld (line 23) | ld sqr(ld x) {return x * x;} FILE: hw2/sppm/vec3.hpp type P3 (line 6) | struct P3{ method P3 (line 8) | P3(ld x_=0, ld y_=0, ld z_=0): x(x_), y(y_), z(z_) {} method P3 (line 9) | P3 operator-() const {return P3(-x, -y, -z);} method P3 (line 10) | P3 operator+(const P3&a) const {return P3(x+a.x, y+a.y, z+a.z);} method P3 (line 11) | P3 operator-(const P3&a) const {return P3(x-a.x, y-a.y, z-a.z);} method P3 (line 12) | P3 operator+(ld p) const {return P3(x+p, y+p, z+p);} method P3 (line 13) | P3 operator-(ld p) const {return P3(x-p, y-p, z-p);} method P3 (line 14) | P3 operator*(ld p) const {return P3(x*p, y*p, z*p);} method P3 (line 15) | P3 operator/(ld p) const {return P3(x/p, y/p, z/p);} method P3 (line 18) | P3&operator+=(const P3&a) {return *this = *this + a;} method P3 (line 19) | P3&operator-=(const P3&a) {return *this = *this - a;} method P3 (line 20) | P3&operator+=(ld p) {return *this = *this + p;} method P3 (line 21) | P3&operator-=(ld p) {return *this = *this - p;} method P3 (line 22) | P3&operator*=(ld p) {return *this = *this * p;} method P3 (line 23) | P3&operator/=(ld p) {return *this = *this / p;} method ld (line 24) | ld operator|(const P3&a) const {return x*a.x + y*a.y + z*a.z;} method ld (line 25) | ld dot(const P3&a) const {return x*a.x + y*a.y + z*a.z;} method ld (line 26) | ld max() const {return x>y&&x>z?x:y>z?y:z;} method P3 (line 27) | P3 max(const P3&a) const {return P3(std::max(x,a.x), std::max(y,a.y), ... method P3 (line 28) | P3 min(const P3&a) const {return P3(std::min(x,a.x), std::min(y,a.y), ... method ld (line 29) | ld len() const {return sqrt(x*x + y*y + z*z);} method ld (line 30) | ld len2() const {return x*x + y*y + z*z;} method P3 (line 31) | P3 mult(const P3&a) const {return P3(x*a.x, y*a.y, z*a.z);} method P3 (line 32) | P3 operator&(const P3&a) const {return P3(y*a.z-z*a.y, z*a.x-x*a.z, x*... method P3 (line 33) | P3 cross(const P3&a) const {return P3(y*a.z-z*a.y, z*a.x-x*a.z, x*a.y-... method P3 (line 34) | P3 norm() const {return (*this)/len();} method P3 (line 35) | P3 clip(ld r0=0, ld r1=1) const {return P3(x>r1?r1:xr1?r1:... method P3 (line 36) | P3 reflect(const P3&n) const {return (*this)-n*2.*n.dot(*this);} method P3 (line 37) | P3 refract(const P3&n, ld ni, ld nr) const { // smallPT1.ppt Page#72 method print (line 48) | void print() const {std::cout << x << " " << y << " " << z << std::endl;} function P3 (line 51) | P3 min(P3 a, P3 b) {return P3(std::min(a.x, b.x), std::min(a.y, b.y), st... method P3 (line 8) | P3(ld x_=0, ld y_=0, ld z_=0): x(x_), y(y_), z(z_) {} method P3 (line 9) | P3 operator-() const {return P3(-x, -y, -z);} method P3 (line 10) | P3 operator+(const P3&a) const {return P3(x+a.x, y+a.y, z+a.z);} method P3 (line 11) | P3 operator-(const P3&a) const {return P3(x-a.x, y-a.y, z-a.z);} method P3 (line 12) | P3 operator+(ld p) const {return P3(x+p, y+p, z+p);} method P3 (line 13) | P3 operator-(ld p) const {return P3(x-p, y-p, z-p);} method P3 (line 14) | P3 operator*(ld p) const {return P3(x*p, y*p, z*p);} method P3 (line 15) | P3 operator/(ld p) const {return P3(x/p, y/p, z/p);} method P3 (line 18) | P3&operator+=(const P3&a) {return *this = *this + a;} method P3 (line 19) | P3&operator-=(const P3&a) {return *this = *this - a;} method P3 (line 20) | P3&operator+=(ld p) {return *this = *this + p;} method P3 (line 21) | P3&operator-=(ld p) {return *this = *this - p;} method P3 (line 22) | P3&operator*=(ld p) {return *this = *this * p;} method P3 (line 23) | P3&operator/=(ld p) {return *this = *this / p;} method ld (line 24) | ld operator|(const P3&a) const {return x*a.x + y*a.y + z*a.z;} method ld (line 25) | ld dot(const P3&a) const {return x*a.x + y*a.y + z*a.z;} method ld (line 26) | ld max() const {return x>y&&x>z?x:y>z?y:z;} method P3 (line 27) | P3 max(const P3&a) const {return P3(std::max(x,a.x), std::max(y,a.y), ... method P3 (line 28) | P3 min(const P3&a) const {return P3(std::min(x,a.x), std::min(y,a.y), ... method ld (line 29) | ld len() const {return sqrt(x*x + y*y + z*z);} method ld (line 30) | ld len2() const {return x*x + y*y + z*z;} method P3 (line 31) | P3 mult(const P3&a) const {return P3(x*a.x, y*a.y, z*a.z);} method P3 (line 32) | P3 operator&(const P3&a) const {return P3(y*a.z-z*a.y, z*a.x-x*a.z, x*... method P3 (line 33) | P3 cross(const P3&a) const {return P3(y*a.z-z*a.y, z*a.x-x*a.z, x*a.y-... method P3 (line 34) | P3 norm() const {return (*this)/len();} method P3 (line 35) | P3 clip(ld r0=0, ld r1=1) const {return P3(x>r1?r1:xr1?r1:... method P3 (line 36) | P3 reflect(const P3&n) const {return (*this)-n*2.*n.dot(*this);} method P3 (line 37) | P3 refract(const P3&n, ld ni, ld nr) const { // smallPT1.ppt Page#72 method print (line 48) | void print() const {std::cout << x << " " << y << " " << z << std::endl;} function P3 (line 52) | P3 max(P3 a, P3 b) {return P3(std::max(a.x, b.x), std::max(a.y, b.y), st... method P3 (line 8) | P3(ld x_=0, ld y_=0, ld z_=0): x(x_), y(y_), z(z_) {} method P3 (line 9) | P3 operator-() const {return P3(-x, -y, -z);} method P3 (line 10) | P3 operator+(const P3&a) const {return P3(x+a.x, y+a.y, z+a.z);} method P3 (line 11) | P3 operator-(const P3&a) const {return P3(x-a.x, y-a.y, z-a.z);} method P3 (line 12) | P3 operator+(ld p) const {return P3(x+p, y+p, z+p);} method P3 (line 13) | P3 operator-(ld p) const {return P3(x-p, y-p, z-p);} method P3 (line 14) | P3 operator*(ld p) const {return P3(x*p, y*p, z*p);} method P3 (line 15) | P3 operator/(ld p) const {return P3(x/p, y/p, z/p);} method P3 (line 18) | P3&operator+=(const P3&a) {return *this = *this + a;} method P3 (line 19) | P3&operator-=(const P3&a) {return *this = *this - a;} method P3 (line 20) | P3&operator+=(ld p) {return *this = *this + p;} method P3 (line 21) | P3&operator-=(ld p) {return *this = *this - p;} method P3 (line 22) | P3&operator*=(ld p) {return *this = *this * p;} method P3 (line 23) | P3&operator/=(ld p) {return *this = *this / p;} method ld (line 24) | ld operator|(const P3&a) const {return x*a.x + y*a.y + z*a.z;} method ld (line 25) | ld dot(const P3&a) const {return x*a.x + y*a.y + z*a.z;} method ld (line 26) | ld max() const {return x>y&&x>z?x:y>z?y:z;} method P3 (line 27) | P3 max(const P3&a) const {return P3(std::max(x,a.x), std::max(y,a.y), ... method P3 (line 28) | P3 min(const P3&a) const {return P3(std::min(x,a.x), std::min(y,a.y), ... method ld (line 29) | ld len() const {return sqrt(x*x + y*y + z*z);} method ld (line 30) | ld len2() const {return x*x + y*y + z*z;} method P3 (line 31) | P3 mult(const P3&a) const {return P3(x*a.x, y*a.y, z*a.z);} method P3 (line 32) | P3 operator&(const P3&a) const {return P3(y*a.z-z*a.y, z*a.x-x*a.z, x*... method P3 (line 33) | P3 cross(const P3&a) const {return P3(y*a.z-z*a.y, z*a.x-x*a.z, x*a.y-... method P3 (line 34) | P3 norm() const {return (*this)/len();} method P3 (line 35) | P3 clip(ld r0=0, ld r1=1) const {return P3(x>r1?r1:xr1?r1:... method P3 (line 36) | P3 reflect(const P3&n) const {return (*this)-n*2.*n.dot(*this);} method P3 (line 37) | P3 refract(const P3&n, ld ni, ld nr) const { // smallPT1.ppt Page#72 method print (line 48) | void print() const {std::cout << x << " " << y << " " << z << std::endl;} FILE: hw3/MVC/main.cpp type P (line 7) | struct P{ method P (line 11) | P operator+(PP a)const {return (P){x+a.x,y+a.y};} method P (line 12) | P operator-(PP a)const {return (P){x-a.x,y-a.y};} method P (line 13) | P operator*(double p){return (P){x*p,y*p};} method len2 (line 16) | double len2() const {return x*x+y*y;} method noise (line 17) | void noise(double r=1e-2){x+=(rand()&1?1.:-1.)*rand()/2147483647*r;y+=... type Gauss (line 19) | namespace Gauss function pr (line 23) | void pr(){ function solve (line 29) | void solve(){ type Mat (line 43) | struct Mat{ method transform (line 45) | double transform(P p) {return p.x * m[0] + p.y * m[1] + m[2];} function Calc_Transform_Matrix (line 47) | void Calc_Transform_Matrix(Mat&f, P p1, P p2, P p3, double c0, double c1... function intri (line 66) | bool intri(P p, P a, P b, P c) type IMG (line 76) | struct IMG{ method IMG (line 81) | IMG(): img(NULL), w(0), h(0), c(0) {} method IMG (line 82) | IMG(int _h, int _w, int _c=1) method init (line 86) | void init(int _h, int _w, int _c) method IMG (line 95) | IMG(std::string _): filename(_) { method stat (line 103) | void stat(int lb = 0){ method write (line 112) | void write(const char* output_filename){ method print (line 118) | void print(char* s) type Solver (line 138) | struct Solver{ method resize (line 144) | void resize(int _size) method additem (line 156) | void additem(int _id, int _x=0){ method addconst (line 162) | void addconst(int _b) {b[id] += _b;} method addvar (line 163) | void addvar(int id2) {a[id][++a[id][0]] = id2;} method print (line 164) | void print() { method iter (line 175) | void iter() { function inside (line 240) | bool inside(P p) { function getMesh (line 254) | void getMesh(const std::vector& curve) { function getTanAngle (line 291) | double getTanAngle(const Point& a_, const Point& b_, const Point& c_) function getLength (line 300) | double getLength(const Point& a, const Point& b) function main (line 305) | int main(int argc, char const *argv[]) FILE: hw3/MVC/stb_image.h type stbi_uc (line 322) | typedef unsigned char stbi_uc; type stbi_us (line 323) | typedef unsigned short stbi_us; type stbi_io_callbacks (line 344) | typedef struct type stbi__uint16 (line 541) | typedef unsigned short stbi__uint16; type stbi__int16 (line 542) | typedef signed short stbi__int16; type stbi__uint32 (line 543) | typedef unsigned int stbi__uint32; type stbi__int32 (line 544) | typedef signed int stbi__int32; type stbi__uint16 (line 547) | typedef uint16_t stbi__uint16; type stbi__int16 (line 548) | typedef int16_t stbi__int16; type stbi__uint32 (line 549) | typedef uint32_t stbi__uint32; type stbi__int32 (line 550) | typedef int32_t stbi__int32; function stbi__cpuid3 (line 631) | static int stbi__cpuid3(void) function stbi__sse2_available (line 652) | static int stbi__sse2_available(void) function stbi__sse2_available (line 660) | static int stbi__sse2_available(void) type stbi__context (line 691) | typedef struct function stbi__start_mem (line 711) | static void stbi__start_mem(stbi__context *s, stbi_uc const *buffer, int... function stbi__start_callbacks (line 720) | static void stbi__start_callbacks(stbi__context *s, stbi_io_callbacks *c... function stbi__stdio_read (line 733) | static int stbi__stdio_read(void *user, char *data, int size) function stbi__stdio_skip (line 738) | static void stbi__stdio_skip(void *user, int n) function stbi__stdio_eof (line 743) | static int stbi__stdio_eof(void *user) function stbi__start_file (line 755) | static void stbi__start_file(stbi__context *s, FILE *f) function stbi__rewind (line 764) | static void stbi__rewind(stbi__context *s) type stbi__result_info (line 779) | typedef struct function STBIDEF (line 846) | STBIDEF const char *stbi_failure_reason(void) function stbi__err (line 851) | static int stbi__err(const char *str) function stbi__addsizes_valid (line 874) | static int stbi__addsizes_valid(int a, int b) function stbi__mul2sizes_valid (line 886) | static int stbi__mul2sizes_valid(int a, int b) function stbi__mad2sizes_valid (line 895) | static int stbi__mad2sizes_valid(int a, int b, int add) function stbi__mad3sizes_valid (line 901) | static int stbi__mad3sizes_valid(int a, int b, int c, int add) function stbi__mad4sizes_valid (line 909) | static int stbi__mad4sizes_valid(int a, int b, int c, int d, int add) function STBIDEF (line 952) | STBIDEF void stbi_image_free(void *retval_from_stbi_load) function STBIDEF (line 967) | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) function stbi_uc (line 1017) | static stbi_uc *stbi__convert_16_to_8(stbi__uint16 *orig, int w, int h, ... function stbi__uint16 (line 1033) | static stbi__uint16 *stbi__convert_8_to_16(stbi_uc *orig, int w, int h, ... function stbi__vertical_flip (line 1049) | static void stbi__vertical_flip(void *image, int w, int h, int bytes_per... function stbi__vertical_flip_slices (line 1073) | static void stbi__vertical_flip_slices(void *image, int w, int h, int z,... function stbi__uint16 (line 1109) | static stbi__uint16 *stbi__load_and_postprocess_16bit(stbi__context *s, ... function stbi__float_postprocess (line 1135) | static void stbi__float_postprocess(float *result, int *x, int *y, int *... function FILE (line 1146) | static FILE *stbi__fopen(char const *filename, char const *mode) function STBIDEF (line 1159) | STBIDEF stbi_uc *stbi_load(char const *filename, int *x, int *y, int *co... function STBIDEF (line 1169) | STBIDEF stbi_uc *stbi_load_from_file(FILE *f, int *x, int *y, int *comp,... function STBIDEF (line 1182) | STBIDEF stbi__uint16 *stbi_load_from_file_16(FILE *f, int *x, int *y, in... function STBIDEF (line 1195) | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int ... function STBIDEF (line 1208) | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len... function STBIDEF (line 1215) | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *cl... function STBIDEF (line 1222) | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, i... function STBIDEF (line 1229) | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk,... function STBIDEF (line 1237) | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int le... function STBIDEF (line 1271) | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, in... function STBIDEF (line 1278) | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, ... function STBIDEF (line 1286) | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *com... function STBIDEF (line 1296) | STBIDEF float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, ... function STBIDEF (line 1310) | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) function STBIDEF (line 1324) | STBIDEF int stbi_is_hdr (char const *filename) function STBIDEF (line 1335) | STBIDEF int stbi_is_hdr_from_file(FILE *f) function STBIDEF (line 1352) | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clb... function STBIDEF (line 1368) | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = ga... function STBIDEF (line 1369) | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = sc... function STBIDEF (line 1374) | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = ... function STBIDEF (line 1375) | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = ... function stbi__refill_buffer (line 1390) | static void stbi__refill_buffer(stbi__context *s) function stbi_inline (line 1406) | stbi_inline static stbi_uc stbi__get8(stbi__context *s) function stbi_inline (line 1417) | stbi_inline static int stbi__at_eof(stbi__context *s) function stbi__skip (line 1429) | static void stbi__skip(stbi__context *s, int n) function stbi__getn (line 1446) | static int stbi__getn(stbi__context *s, stbi_uc *buffer, int n) function stbi__get16be (line 1470) | static int stbi__get16be(stbi__context *s) function stbi__uint32 (line 1476) | static stbi__uint32 stbi__get32be(stbi__context *s) function stbi__get16le (line 1485) | static int stbi__get16le(stbi__context *s) function stbi__uint32 (line 1493) | static stbi__uint32 stbi__get32le(stbi__context *s) function stbi_uc (line 1514) | static stbi_uc stbi__compute_y(int r, int g, int b) function stbi__uint16 (line 1563) | static stbi__uint16 stbi__compute_y_16(int r, int g, int b) function stbi__uint16 (line 1568) | static stbi__uint16 *stbi__convert_format16(stbi__uint16 *data, int img_... function stbi_uc (line 1635) | static stbi_uc *stbi__hdr_to_ldr(float *data, int x, int y, int comp) type stbi__huffman (line 1689) | typedef struct type stbi__jpeg (line 1700) | typedef struct function stbi__build_huffman (line 1754) | static int stbi__build_huffman(stbi__huffman *h, int *count) function stbi__build_fast_ac (line 1798) | static void stbi__build_fast_ac(stbi__int16 *fast_ac, stbi__huffman *h) function stbi__grow_buffer_unsafe (line 1823) | static void stbi__grow_buffer_unsafe(stbi__jpeg *j) function stbi_inline (line 1845) | stbi_inline static int stbi__jpeg_huff_decode(stbi__jpeg *j, stbi__huffm... function stbi_inline (line 1899) | stbi_inline static int stbi__extend_receive(stbi__jpeg *j, int n) function stbi_inline (line 1915) | stbi_inline static int stbi__jpeg_get_bits(stbi__jpeg *j, int n) function stbi_inline (line 1926) | stbi_inline static int stbi__jpeg_get_bit(stbi__jpeg *j) function stbi__jpeg_decode_block (line 1954) | static int stbi__jpeg_decode_block(stbi__jpeg *j, short data[64], stbi__... function stbi__jpeg_decode_block_prog_dc (line 2006) | static int stbi__jpeg_decode_block_prog_dc(stbi__jpeg *j, short data[64]... function stbi__jpeg_decode_block_prog_ac (line 2033) | static int stbi__jpeg_decode_block_prog_ac(stbi__jpeg *j, short data[64]... function stbi_inline (line 2153) | stbi_inline static stbi_uc stbi__clamp(int x) function stbi__idct_block (line 2204) | static void stbi__idct_block(stbi_uc *out, int out_stride, short data[64]) function stbi__idct_simd (line 2267) | static void stbi__idct_simd(stbi_uc *out, int out_stride, short data[64]) function stbi__idct_simd (line 2448) | static void stbi__idct_simd(stbi_uc *out, int out_stride, short data[64]) function stbi_uc (line 2656) | static stbi_uc stbi__get_marker(stbi__jpeg *j) function stbi__jpeg_reset (line 2673) | static void stbi__jpeg_reset(stbi__jpeg *j) function stbi__parse_entropy_coded_data (line 2686) | static int stbi__parse_entropy_coded_data(stbi__jpeg *z) function stbi__jpeg_dequantize (line 2810) | static void stbi__jpeg_dequantize(short *data, stbi__uint16 *dequant) function stbi__jpeg_finish (line 2817) | static void stbi__jpeg_finish(stbi__jpeg *z) function stbi__process_marker (line 2836) | static int stbi__process_marker(stbi__jpeg *z, int m) function stbi__process_scan_header (line 2939) | static int stbi__process_scan_header(stbi__jpeg *z) function stbi__free_jpeg_components (line 2978) | static int stbi__free_jpeg_components(stbi__jpeg *z, int ncomp, int why) function stbi__process_frame_header (line 3000) | static int stbi__process_frame_header(stbi__jpeg *z, int scan) function stbi__decode_jpeg_header (line 3092) | static int stbi__decode_jpeg_header(stbi__jpeg *z, int scan) function stbi__decode_jpeg_image (line 3117) | static int stbi__decode_jpeg_image(stbi__jpeg *j) type stbi_uc (line 3159) | typedef stbi_uc *(*resample_row_func)(stbi_uc *out, stbi_uc *in0, stbi_u... function stbi_uc (line 3164) | static stbi_uc *resample_row_1(stbi_uc *out, stbi_uc *in_near, stbi_uc *... function stbi_uc (line 3173) | static stbi_uc* stbi__resample_row_v_2(stbi_uc *out, stbi_uc *in_near, s... function stbi_uc (line 3183) | static stbi_uc* stbi__resample_row_h_2(stbi_uc *out, stbi_uc *in_near, ... function stbi_uc (line 3213) | static stbi_uc *stbi__resample_row_hv_2(stbi_uc *out, stbi_uc *in_near, ... function stbi_uc (line 3238) | static stbi_uc *stbi__resample_row_hv_2_simd(stbi_uc *out, stbi_uc *in_n... function stbi_uc (line 3354) | static stbi_uc *stbi__resample_row_generic(stbi_uc *out, stbi_uc *in_nea... function stbi__YCbCr_to_RGB_row (line 3368) | static void stbi__YCbCr_to_RGB_row(stbi_uc *out, const stbi_uc *y, const... function stbi__YCbCr_to_RGB_simd (line 3394) | static void stbi__YCbCr_to_RGB_simd(stbi_uc *out, stbi_uc const *y, stbi... function stbi__setup_jpeg (line 3529) | static void stbi__setup_jpeg(stbi__jpeg *j) function stbi__cleanup_jpeg (line 3551) | static void stbi__cleanup_jpeg(stbi__jpeg *j) type stbi__resample (line 3556) | typedef struct function stbi_uc (line 3567) | static stbi_uc stbi__blinn_8x8(stbi_uc x, stbi_uc y) function stbi_uc (line 3573) | static stbi_uc *load_jpeg_image(stbi__jpeg *z, int *out_x, int *out_y, i... function stbi__jpeg_test (line 3744) | static int stbi__jpeg_test(stbi__context *s) function stbi__jpeg_info_raw (line 3756) | static int stbi__jpeg_info_raw(stbi__jpeg *j, int *x, int *y, int *comp) function stbi__jpeg_info (line 3768) | static int stbi__jpeg_info(stbi__context *s, int *x, int *y, int *comp) type stbi__zhuffman (line 3794) | typedef struct function stbi_inline (line 3804) | stbi_inline static int stbi__bitreverse16(int n) function stbi_inline (line 3813) | stbi_inline static int stbi__bit_reverse(int v, int bits) function stbi__zbuild_huffman (line 3821) | static int stbi__zbuild_huffman(stbi__zhuffman *z, const stbi_uc *sizeli... type stbi__zbuf (line 3874) | typedef struct function stbi_inline (line 3888) | stbi_inline static stbi_uc stbi__zget8(stbi__zbuf *z) function stbi__fill_bits (line 3894) | static void stbi__fill_bits(stbi__zbuf *z) function stbi__zreceive (line 3903) | int stbi__zreceive(stbi__zbuf *z, int n) function stbi__zhuffman_decode_slowpath (line 3913) | static int stbi__zhuffman_decode_slowpath(stbi__zbuf *a, stbi__zhuffman *z) function stbi_inline (line 3931) | stbi_inline static int stbi__zhuffman_decode(stbi__zbuf *a, stbi__zhuffm... function stbi__zexpand (line 3945) | static int stbi__zexpand(stbi__zbuf *z, char *zout, int n) // need to m... function stbi__parse_huffman_block (line 3978) | static int stbi__parse_huffman_block(stbi__zbuf *a) function stbi__compute_huffman_codes (line 4020) | static int stbi__compute_huffman_codes(stbi__zbuf *a) function stbi__parse_uncompressed_block (line 4069) | static int stbi__parse_uncompressed_block(stbi__zbuf *a) function stbi__parse_zlib_header (line 4098) | static int stbi__parse_zlib_header(stbi__zbuf *a) function stbi__parse_zlib (line 4140) | static int stbi__parse_zlib(stbi__zbuf *a, int parse_header) function stbi__do_zlib (line 4168) | static int stbi__do_zlib(stbi__zbuf *a, char *obuf, int olen, int exp, i... function STBIDEF (line 4178) | STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int ... function STBIDEF (line 4194) | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *... function STBIDEF (line 4199) | STBIDEF char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *b... function STBIDEF (line 4215) | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const ... function STBIDEF (line 4226) | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int l... function STBIDEF (line 4242) | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, co... type stbi__pngchunk (line 4265) | typedef struct function stbi__pngchunk (line 4271) | static stbi__pngchunk stbi__get_chunk_header(stbi__context *s) function stbi__check_png_header (line 4279) | static int stbi__check_png_header(stbi__context *s) type stbi__png (line 4288) | typedef struct function stbi__paeth (line 4316) | static int stbi__paeth(int a, int b, int c) function stbi__create_png_image_raw (line 4330) | static int stbi__create_png_image_raw(stbi__png *a, stbi_uc *raw, stbi__... function stbi__create_png_image (line 4542) | static int stbi__create_png_image(stbi__png *a, stbi_uc *image_data, stb... function stbi__compute_transparency (line 4586) | static int stbi__compute_transparency(stbi__png *z, stbi_uc tc[3], int o... function stbi__compute_transparency16 (line 4611) | static int stbi__compute_transparency16(stbi__png *z, stbi__uint16 tc[3]... function stbi__expand_png_palette (line 4636) | static int stbi__expand_png_palette(stbi__png *a, stbi_uc *palette, int ... function STBIDEF (line 4676) | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpr... function STBIDEF (line 4681) | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_conv... function stbi__de_iphone (line 4686) | static void stbi__de_iphone(stbi__png *z) function stbi__parse_png_file (line 4731) | static int stbi__parse_png_file(stbi__png *z, int scan, int req_comp) function stbi__png_test (line 4940) | static int stbi__png_test(stbi__context *s) function stbi__png_info_raw (line 4948) | static int stbi__png_info_raw(stbi__png *p, int *x, int *y, int *comp) function stbi__png_info (line 4960) | static int stbi__png_info(stbi__context *s, int *x, int *y, int *comp) function stbi__png_is16 (line 4967) | static int stbi__png_is16(stbi__context *s) function stbi__bmp_test_raw (line 4984) | static int stbi__bmp_test_raw(stbi__context *s) function stbi__bmp_test (line 4999) | static int stbi__bmp_test(stbi__context *s) function stbi__high_bit (line 5008) | static int stbi__high_bit(unsigned int z) function stbi__bitcount (line 5020) | static int stbi__bitcount(unsigned int a) function stbi__shiftsigned (line 5033) | static int stbi__shiftsigned(int v, int shift, int bits) type stbi__bmp_data (line 5053) | typedef struct function stbi__tga_get_comp (line 5323) | static int stbi__tga_get_comp(int bits_per_pixel, int is_grey, int* is_r... function stbi__tga_info (line 5339) | static int stbi__tga_info(stbi__context *s, int *x, int *y, int *comp) function stbi__tga_test (line 5404) | static int stbi__tga_test(stbi__context *s) function stbi__tga_read_rgb16 (line 5436) | static void stbi__tga_read_rgb16(stbi__context *s, stbi_uc* out) function stbi__psd_test (line 5654) | static int stbi__psd_test(stbi__context *s) function stbi__psd_decode_rle (line 5661) | static int stbi__psd_decode_rle(stbi__context *s, stbi_uc *p, int pixelC... function stbi__pic_is4 (line 5906) | static int stbi__pic_is4(stbi__context *s,const char *str) function stbi__pic_test_core (line 5916) | static int stbi__pic_test_core(stbi__context *s) type stbi__pic_packet (line 5932) | typedef struct function stbi_uc (line 5937) | static stbi_uc *stbi__readval(stbi__context *s, int channel, stbi_uc *dest) function stbi__copyval (line 5951) | static void stbi__copyval(int channel,stbi_uc *dest,const stbi_uc *src) function stbi_uc (line 5960) | static stbi_uc *stbi__pic_load_core(stbi__context *s,int width,int heigh... function stbi__pic_test (line 6106) | static int stbi__pic_test(stbi__context *s) type stbi__gif_lzw (line 6118) | typedef struct type stbi__gif (line 6125) | typedef struct function stbi__gif_test_raw (line 6145) | static int stbi__gif_test_raw(stbi__context *s) function stbi__gif_test (line 6155) | static int stbi__gif_test(stbi__context *s) function stbi__gif_parse_colortable (line 6162) | static void stbi__gif_parse_colortable(stbi__context *s, stbi_uc pal[256... function stbi__gif_header (line 6173) | static int stbi__gif_header(stbi__context *s, stbi__gif *g, int *comp, i... function stbi__gif_info_raw (line 6201) | static int stbi__gif_info_raw(stbi__context *s, int *x, int *y, int *comp) function stbi__out_gif_code (line 6215) | static void stbi__out_gif_code(stbi__gif *g, stbi__uint16 code) function stbi_uc (line 6252) | static stbi_uc *stbi__process_gif_raster(stbi__context *s, stbi__gif *g) function stbi_uc (line 6339) | static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int ... function stbi__gif_info (line 6588) | static int stbi__gif_info(stbi__context *s, int *x, int *y, int *comp) function stbi__hdr_test_core (line 6598) | static int stbi__hdr_test_core(stbi__context *s, const char *signature) function stbi__hdr_test (line 6608) | static int stbi__hdr_test(stbi__context* s) function stbi__hdr_convert (line 6642) | static void stbi__hdr_convert(float *output, stbi_uc *input, int req_comp) function stbi__hdr_info (line 6797) | static int stbi__hdr_info(stbi__context *s, int *x, int *y, int *comp) function stbi__bmp_info (line 6843) | static int stbi__bmp_info(stbi__context *s, int *x, int *y, int *comp) function stbi__psd_info (line 6861) | static int stbi__psd_info(stbi__context *s, int *x, int *y, int *comp) function stbi__psd_is16 (line 6896) | static int stbi__psd_is16(stbi__context *s) function stbi__pic_info (line 6925) | static int stbi__pic_info(stbi__context *s, int *x, int *y, int *comp) function stbi__pnm_test (line 6997) | static int stbi__pnm_test(stbi__context *s) function stbi__pnm_isspace (line 7035) | static int stbi__pnm_isspace(char c) function stbi__pnm_skip_whitespace (line 7040) | static void stbi__pnm_skip_whitespace(stbi__context *s, char *c) function stbi__pnm_isdigit (line 7054) | static int stbi__pnm_isdigit(char c) function stbi__pnm_getinteger (line 7059) | static int stbi__pnm_getinteger(stbi__context *s, char *c) function stbi__pnm_info (line 7071) | static int stbi__pnm_info(stbi__context *s, int *x, int *y, int *comp) function stbi__info_main (line 7110) | static int stbi__info_main(stbi__context *s, int *x, int *y, int *comp) function stbi__is_16_main (line 7152) | static int stbi__is_16_main(stbi__context *s) function STBIDEF (line 7166) | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) function STBIDEF (line 7176) | STBIDEF int stbi_info_from_file(FILE *f, int *x, int *y, int *comp) function STBIDEF (line 7187) | STBIDEF int stbi_is_16_bit(char const *filename) function STBIDEF (line 7197) | STBIDEF int stbi_is_16_bit_from_file(FILE *f) function STBIDEF (line 7209) | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x... function STBIDEF (line 7216) | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *u... function STBIDEF (line 7223) | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) function STBIDEF (line 7230) | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, vo... FILE: hw3/MVC/stb_image_write.h function STBIWDEF (line 253) | STBIWDEF void stbi_flip_vertically_on_write(int flag) type stbi__write_context (line 258) | typedef struct function stbi__start_write_callbacks (line 265) | static void stbi__start_write_callbacks(stbi__write_context *s, stbi_wri... function stbi__stdio_write (line 273) | static void stbi__stdio_write(void *context, void *data, int size) function stbi__start_write_file (line 278) | static int stbi__start_write_file(stbi__write_context *s, const char *fi... function stbi__end_write_file (line 291) | static void stbi__end_write_file(stbi__write_context *s) type stbiw_uint32 (line 298) | typedef unsigned int stbiw_uint32; function stbiw__writefv (line 301) | static void stbiw__writefv(stbi__write_context *s, const char *fmt, va_l... function stbiw__writef (line 330) | static void stbiw__writef(stbi__write_context *s, const char *fmt, ...) function stbiw__putc (line 338) | static void stbiw__putc(stbi__write_context *s, unsigned char c) function stbiw__write3 (line 343) | static void stbiw__write3(stbi__write_context *s, unsigned char a, unsig... function stbiw__write_pixel (line 350) | static void stbiw__write_pixel(stbi__write_context *s, int rgb_dir, int ... function stbiw__write_pixels (line 383) | static void stbiw__write_pixels(stbi__write_context *s, int rgb_dir, int... function stbiw__outfile (line 408) | static int stbiw__outfile(stbi__write_context *s, int rgb_dir, int vdir,... function stbi_write_bmp_core (line 422) | static int stbi_write_bmp_core(stbi__write_context *s, int x, int y, int... function STBIWDEF (line 431) | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context... function STBIWDEF (line 439) | STBIWDEF int stbi_write_bmp(char const *filename, int x, int y, int comp... function stbi_write_tga_core (line 451) | static int stbi_write_tga_core(stbi__write_context *s, int x, int y, int... function STBIWDEF (line 529) | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context... function STBIWDEF (line 537) | STBIWDEF int stbi_write_tga(char const *filename, int x, int y, int comp... function stbiw__linear_to_rgbe (line 555) | void stbiw__linear_to_rgbe(unsigned char *rgbe, float *linear) function stbiw__write_run_data (line 572) | void stbiw__write_run_data(stbi__write_context *s, int length, unsigned ... function stbiw__write_dump_data (line 580) | void stbiw__write_dump_data(stbi__write_context *s, int length, unsigned... function stbiw__write_hdr_scanline (line 588) | void stbiw__write_hdr_scanline(stbi__write_context *s, int width, int nc... function stbi_write_hdr_core (line 677) | static int stbi_write_hdr_core(stbi__write_context *s, int x, int y, int... function STBIWDEF (line 703) | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context... function STBIWDEF (line 711) | STBIWDEF int stbi_write_hdr(char const *filename, int x, int y, int comp... function stbiw__zlib_bitrev (line 766) | static int stbiw__zlib_bitrev(int code, int codebits) function stbiw__zlib_countm (line 776) | static unsigned int stbiw__zlib_countm(unsigned char *a, unsigned char *... function stbiw__zhash (line 784) | static unsigned int stbiw__zhash(unsigned char *data) function stbiw__crc32 (line 924) | static unsigned int stbiw__crc32(unsigned char *buffer, int len) function stbiw__wpcrc (line 973) | static void stbiw__wpcrc(unsigned char **data, int len) function stbiw__paeth (line 979) | static unsigned char stbiw__paeth(int a, int b, int c) function stbiw__encode_png_line (line 988) | static void stbiw__encode_png_line(unsigned char *pixels, int stride_byt... function STBIWDEF (line 1108) | STBIWDEF int stbi_write_png(char const *filename, int x, int y, int comp... function STBIWDEF (line 1128) | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context... function stbiw__jpg_writeBits (line 1150) | static void stbiw__jpg_writeBits(stbi__write_context *s, int *bitBufP, i... function stbiw__jpg_DCT (line 1167) | static void stbiw__jpg_DCT(float *d0p, float *d1p, float *d2p, float *d3... function stbiw__jpg_calcBits (line 1215) | static void stbiw__jpg_calcBits(int val, unsigned short bits[2]) { function stbiw__jpg_processDU (line 1225) | static int stbiw__jpg_processDU(stbi__write_context *s, int *bitBuf, int... function stbi_write_jpg_core (line 1290) | static int stbi_write_jpg_core(stbi__write_context *s, int width, int he... function STBIWDEF (line 1462) | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context... function STBIWDEF (line 1471) | STBIWDEF int stbi_write_jpg(char const *filename, int x, int y, int comp...