|
Blender
V2.59
|
#include <math.h>#include <string.h>#include "BLI_utildefines.h"#include "IMB_imbuf_types.h"#include "IMB_imbuf.h"#include "sequencer_intern.h"Go to the source code of this file.
Functions | |
| static void | rgb_to_yuv (float rgb[3], float yuv[3]) |
| static void | scope_put_pixel (unsigned char *table, unsigned char *pos) |
| static void | scope_put_pixel_single (unsigned char *table, unsigned char *pos, int col) |
| static void | wform_put_line (int w, unsigned char *last_pos, unsigned char *new_pos) |
| static void | wform_put_line_single (int w, unsigned char *last_pos, unsigned char *new_pos, int col) |
| static void | wform_put_border (unsigned char *tgt, int w, int h) |
| static void | wform_put_gridrow (unsigned char *tgt, float perc, int w, int h) |
| static void | wform_put_grid (unsigned char *tgt, int w, int h) |
| static struct ImBuf * | make_waveform_view_from_ibuf_byte (struct ImBuf *ibuf) |
| static struct ImBuf * | make_waveform_view_from_ibuf_float (struct ImBuf *ibuf) |
| struct ImBuf * | make_waveform_view_from_ibuf (struct ImBuf *ibuf) |
| static struct ImBuf * | make_sep_waveform_view_from_ibuf_byte (struct ImBuf *ibuf) |
| static struct ImBuf * | make_sep_waveform_view_from_ibuf_float (struct ImBuf *ibuf) |
| struct ImBuf * | make_sep_waveform_view_from_ibuf (struct ImBuf *ibuf) |
| static void | draw_zebra_byte (struct ImBuf *src, struct ImBuf *ibuf, float perc) |
| static void | draw_zebra_float (struct ImBuf *src, struct ImBuf *ibuf, float perc) |
| struct ImBuf * | make_zebra_view_from_ibuf (struct ImBuf *src, float perc) |
| static void | draw_histogram_marker (struct ImBuf *ibuf, int x) |
| static void | draw_histogram_bar (struct ImBuf *ibuf, int x, float val, int col) |
| static struct ImBuf * | make_histogram_view_from_ibuf_byte (struct ImBuf *ibuf) |
| static int | get_bin_float (float f) |
| static struct ImBuf * | make_histogram_view_from_ibuf_float (struct ImBuf *ibuf) |
| struct ImBuf * | make_histogram_view_from_ibuf (struct ImBuf *ibuf) |
| static void | vectorscope_put_cross (unsigned char r, unsigned char g, unsigned char b, char *tgt, int w, int h, int size) |
| static struct ImBuf * | make_vectorscope_view_from_ibuf_byte (struct ImBuf *ibuf) |
| static struct ImBuf * | make_vectorscope_view_from_ibuf_float (struct ImBuf *ibuf) |
| struct ImBuf * | make_vectorscope_view_from_ibuf (struct ImBuf *ibuf) |
Definition in file sequencer_scopes.c.
| static void draw_histogram_bar | ( | struct ImBuf * | ibuf, |
| int | x, | ||
| float | val, | ||
| int | col | ||
| ) | [static] |
Definition at line 456 of file sequencer_scopes.c.
References i, p, ImBuf::rect, ImBuf::x, and ImBuf::y.
Referenced by make_histogram_view_from_ibuf_byte(), and make_histogram_view_from_ibuf_float().
| static void draw_histogram_marker | ( | struct ImBuf * | ibuf, |
| int | x | ||
| ) | [static] |
Definition at line 442 of file sequencer_scopes.c.
References i, p, ImBuf::rect, ImBuf::x, and ImBuf::y.
Referenced by make_histogram_view_from_ibuf_float().
Definition at line 368 of file sequencer_scopes.c.
References g, p, ImBuf::rect, ImBuf::x, and ImBuf::y.
Referenced by make_zebra_view_from_ibuf().
Definition at line 399 of file sequencer_scopes.c.
References FTOCHAR, g, p, ImBuf::rect, ImBuf::rect_float, ImBuf::x, and ImBuf::y.
Referenced by make_zebra_view_from_ibuf().
| static int get_bin_float | ( | float | f | ) | [static] |
Definition at line 514 of file sequencer_scopes.c.
Definition at line 567 of file sequencer_scopes.c.
References make_histogram_view_from_ibuf_byte(), make_histogram_view_from_ibuf_float(), and ImBuf::rect_float.
Referenced by draw_image_seq().
Definition at line 470 of file sequencer_scopes.c.
References draw_histogram_bar(), IB_rect, IMB_allocImBuf(), ImBuf::rect, wform_put_border(), ImBuf::x, and ImBuf::y.
Referenced by make_histogram_view_from_ibuf().
Definition at line 525 of file sequencer_scopes.c.
References draw_histogram_bar(), draw_histogram_marker(), get_bin_float(), IB_rect, IMB_allocImBuf(), ImBuf::rect, ImBuf::rect_float, wform_put_border(), ImBuf::x, and ImBuf::y.
Referenced by make_histogram_view_from_ibuf().
Definition at line 359 of file sequencer_scopes.c.
References make_sep_waveform_view_from_ibuf_byte(), make_sep_waveform_view_from_ibuf_float(), and ImBuf::rect_float.
Referenced by draw_image_seq().
Definition at line 256 of file sequencer_scopes.c.
References IB_rect, IMB_allocImBuf(), NULL, p, pow(), ImBuf::rect, scope_put_pixel_single(), simple_enum_gen::w, wform_put_border(), wform_put_grid(), wform_put_line_single(), ImBuf::x, and ImBuf::y.
Referenced by make_sep_waveform_view_from_ibuf().
Definition at line 305 of file sequencer_scopes.c.
References CLAMP(), IB_rect, IMB_allocImBuf(), NULL, p, pow(), ImBuf::rect, ImBuf::rect_float, scope_put_pixel_single(), simple_enum_gen::w, wform_put_border(), wform_put_grid(), wform_put_line_single(), ImBuf::x, and ImBuf::y.
Referenced by make_sep_waveform_view_from_ibuf().
Definition at line 702 of file sequencer_scopes.c.
References make_vectorscope_view_from_ibuf_byte(), make_vectorscope_view_from_ibuf_float(), and ImBuf::rect_float.
Referenced by draw_image_seq().
Definition at line 605 of file sequencer_scopes.c.
References IB_rect, IMB_allocImBuf(), p, pow(), ImBuf::rect, rgb_to_yuv(), scope_put_pixel(), vectorscope_put_cross(), simple_enum_gen::w, ImBuf::x, and ImBuf::y.
Referenced by make_vectorscope_view_from_ibuf().
Definition at line 652 of file sequencer_scopes.c.
References CLAMP(), IB_rect, IMB_allocImBuf(), p, pow(), ImBuf::rect, ImBuf::rect_float, rgb_to_yuv(), scope_put_pixel(), vectorscope_put_cross(), simple_enum_gen::w, ImBuf::x, and ImBuf::y.
Referenced by make_vectorscope_view_from_ibuf().
Definition at line 246 of file sequencer_scopes.c.
References make_waveform_view_from_ibuf_byte(), make_waveform_view_from_ibuf_float(), and ImBuf::rect_float.
Referenced by draw_image_seq().
Definition at line 151 of file sequencer_scopes.c.
References IB_rect, IMB_allocImBuf(), NULL, p, pow(), ImBuf::rect, scope_put_pixel(), simple_enum_gen::w, wform_put_border(), wform_put_grid(), wform_put_line(), ImBuf::x, and ImBuf::y.
Referenced by make_waveform_view_from_ibuf().
Definition at line 197 of file sequencer_scopes.c.
References CLAMP(), IB_rect, IMB_allocImBuf(), NULL, p, pow(), ImBuf::rect, ImBuf::rect_float, scope_put_pixel(), simple_enum_gen::w, wform_put_border(), wform_put_grid(), wform_put_line(), ImBuf::x, and ImBuf::y.
Referenced by make_waveform_view_from_ibuf().
Definition at line 430 of file sequencer_scopes.c.
References draw_zebra_byte(), draw_zebra_float(), IB_rect, IMB_allocImBuf(), ImBuf::rect_float, ImBuf::x, and ImBuf::y.
Referenced by draw_image_seq().
| static void rgb_to_yuv | ( | float | rgb[3], |
| float | yuv[3] | ||
| ) | [static] |
Definition at line 43 of file sequencer_scopes.c.
| static void scope_put_pixel | ( | unsigned char * | table, |
| unsigned char * | pos | ||
| ) | [static] |
Definition at line 57 of file sequencer_scopes.c.
Referenced by make_vectorscope_view_from_ibuf_byte(), make_vectorscope_view_from_ibuf_float(), make_waveform_view_from_ibuf_byte(), and make_waveform_view_from_ibuf_float().
| static void scope_put_pixel_single | ( | unsigned char * | table, |
| unsigned char * | pos, | ||
| int | col | ||
| ) | [static] |
Definition at line 64 of file sequencer_scopes.c.
Referenced by make_sep_waveform_view_from_ibuf_byte(), and make_sep_waveform_view_from_ibuf_float().
| static void vectorscope_put_cross | ( | unsigned char | r, |
| unsigned char | g, | ||
| unsigned char | b, | ||
| char * | tgt, | ||
| int | w, | ||
| int | h, | ||
| int | size | ||
| ) | [static] |
Definition at line 576 of file sequencer_scopes.c.
References g, p, rgb_to_yuv(), size(), ImBuf::x, and ImBuf::y.
Referenced by make_vectorscope_view_from_ibuf_byte(), and make_vectorscope_view_from_ibuf_float().
| static void wform_put_border | ( | unsigned char * | tgt, |
| int | w, | ||
| int | h | ||
| ) | [static] |
Definition at line 108 of file sequencer_scopes.c.
References p, simple_enum_gen::w, ImBuf::x, and ImBuf::y.
Referenced by make_histogram_view_from_ibuf_byte(), make_histogram_view_from_ibuf_float(), make_sep_waveform_view_from_ibuf_byte(), make_sep_waveform_view_from_ibuf_float(), make_waveform_view_from_ibuf_byte(), and make_waveform_view_from_ibuf_float().
| static void wform_put_grid | ( | unsigned char * | tgt, |
| int | w, | ||
| int | h | ||
| ) | [static] |
Definition at line 144 of file sequencer_scopes.c.
References wform_put_gridrow().
Referenced by make_sep_waveform_view_from_ibuf_byte(), make_sep_waveform_view_from_ibuf_float(), make_waveform_view_from_ibuf_byte(), and make_waveform_view_from_ibuf_float().
| static void wform_put_gridrow | ( | unsigned char * | tgt, |
| float | perc, | ||
| int | w, | ||
| int | h | ||
| ) | [static] |
| static void wform_put_line | ( | int | w, |
| unsigned char * | last_pos, | ||
| unsigned char * | new_pos | ||
| ) | [static] |
Definition at line 72 of file sequencer_scopes.c.
References simple_enum_gen::w.
Referenced by make_waveform_view_from_ibuf_byte(), and make_waveform_view_from_ibuf_float().
| static void wform_put_line_single | ( | int | w, |
| unsigned char * | last_pos, | ||
| unsigned char * | new_pos, | ||
| int | col | ||
| ) | [static] |
Definition at line 90 of file sequencer_scopes.c.
References simple_enum_gen::w.
Referenced by make_sep_waveform_view_from_ibuf_byte(), and make_sep_waveform_view_from_ibuf_float().