#include <vframe.h>

Public Types | |
| enum | { UNKNOWN, RAM, TEXTURE, SCREEN } |
Public Member Functions | |
| VFrame (unsigned char *data, int w, int h, int color_model=BC_RGBA8888, long bytes_per_line=-1) | |
| VFrame (unsigned char *data, long y_offset, long u_offset, long v_offset, int w, int h, int color_model=BC_RGBA8888, long bytes_per_line=-1) | |
| VFrame (unsigned char *png_data) | |
| VFrame (VFrame &vframe) | |
| VFrame () | |
| ~VFrame () | |
| int | equivalent (VFrame *src, int test_stacks=0) |
| int | reallocate (unsigned char *data, long y_offset, long u_offset, long v_offset, int w, int h, int color_model, long bytes_per_line) |
| void | set_memory (unsigned char *data, long y_offset, long u_offset, long v_offset) |
| void | set_compressed_memory (unsigned char *data, int data_size, int data_allocated) |
| int | read_png (unsigned char *data) |
| int | equals (VFrame *frame) |
| int | params_match (int w, int h, int color_model) |
| long | set_shm_offset (long offset) |
| long | get_shm_offset () |
| int | copy_from (VFrame *frame) |
| int | clear_frame () |
| int | allocate_compressed_data (long bytes) |
| long | get_number () |
| void | set_number (long number) |
| long | get_compressed_allocated () |
| long | get_compressed_size () |
| long | set_compressed_size (long size) |
| int | get_color_model () |
| unsigned char * | get_data () |
| unsigned char ** | get_rows () |
| unsigned char * | get_y () |
| unsigned char * | get_u () |
| unsigned char * | get_v () |
| int | get_w () |
| int | get_h () |
| int | get_w_fixed () |
| int | get_h_fixed () |
| int | get_bytes_per_pixel () |
| long | get_bytes_per_line () |
| int | get_shared () |
| long | get_data_size () |
| void | rotate270 () |
| void | rotate90 () |
| void | flip_vert () |
| int | get_field2_offset () |
| int | set_field2_offset (int value) |
| void | set_keyframe (int value) |
| int | get_keyframe () |
| void | overlay (VFrame *src, int out_x1, int out_y1) |
| void | to_texture () |
| void | to_ram () |
| void | screen_to_texture (int x=-1, int y=-1, int w=-1, int h=-1) |
| void | draw_texture (float in_x1, float in_y1, float in_x2, float in_y2, float out_x1, float out_y1, float out_x2, float out_y2, int flip_y=0) |
| void | draw_texture (int flip_y=0) |
| int | get_opengl_state () |
| void | set_opengl_state (int value) |
| int | get_texture_id () |
| void | set_texture_id (int id) |
| int | get_window_id () |
| int | get_texture_w () |
| int | get_texture_h () |
| int | get_texture_components () |
| void | enable_opengl () |
| void | clear_pbuffer () |
| BC_PBuffer * | get_pbuffer () |
| void | bind_texture (int texture_unit=-1) |
| void | init_screen () |
| void | push_prev_effect (char *name) |
| void | pop_prev_effect () |
| void | push_next_effect (char *name) |
| void | pop_next_effect () |
| char * | get_next_effect (int number=0) |
| char * | get_prev_effect (int number=0) |
| BC_Hash * | get_params () |
| int | equal_stacks (VFrame *src) |
| void | copy_stacks (VFrame *src) |
| void | copy_params (VFrame *src) |
| void | clear_stacks () |
| void | dump_stacks () |
| void | dump_params () |
Static Public Member Functions | |
| static int | get_scale_tables (int *column_table, int *row_table, int in_x1, int in_y1, int in_x2, int in_y2, int out_x1, int out_y1, int out_x2, int out_y2) |
| static int | calculate_bytes_per_pixel (int colormodel) |
| static long | calculate_data_size (int w, int h, int bytes_per_line=-1, int color_model=BC_RGB888) |
| static void | init_screen (int w, int h) |
| static unsigned int | make_shader (int x,...) |
| static void | dump_shader (int shader_id) |
Private Member Functions | |
| void | create_pbuffer () |
| int | clear_objects (int do_opengl) |
| int | reset_parameters (int do_opengl) |
| void | create_row_pointers () |
| int | allocate_data (unsigned char *data, long y_offset, long u_offset, long v_offset, int w, int h, int color_model, long bytes_per_line) |
Private Attributes | |
| int | field2_offset |
| int | shared |
| long | shm_offset |
| long | bytes_per_line |
| int | bytes_per_pixel |
| unsigned char * | data |
| unsigned char ** | rows |
| int | color_model |
| long | compressed_allocated |
| long | compressed_size |
| unsigned char * | y |
| unsigned char * | u |
| unsigned char * | v |
| long | y_offset |
| long | u_offset |
| long | v_offset |
| int | w |
| int | h |
| unsigned char * | image |
| long | image_offset |
| long | image_size |
| long | sequence_number |
| int | is_keyframe |
| BC_Texture * | texture |
| BC_PBuffer * | pbuffer |
| int | opengl_state |
| ArrayList< char * > | prev_effects |
| ArrayList< char * > | next_effects |
| BC_Hash * | params |
Friends | |
| class | PngReadFunction |
Definition at line 20 of file vframe.h.
| VFrame::VFrame | ( | unsigned char * | data, | |
| int | w, | |||
| int | h, | |||
| int | color_model = BC_RGBA8888, |
|||
| long | bytes_per_line = -1 | |||
| ) |
Definition at line 57 of file vframe.C.
References allocate_data(), params, and reset_parameters().

| VFrame::VFrame | ( | unsigned char * | data, | |
| long | y_offset, | |||
| long | u_offset, | |||
| long | v_offset, | |||
| int | w, | |||
| int | h, | |||
| int | color_model = BC_RGBA8888, |
|||
| long | bytes_per_line = -1 | |||
| ) |
Definition at line 68 of file vframe.C.
References allocate_data(), params, and reset_parameters().

| VFrame::VFrame | ( | unsigned char * | png_data | ) |
Definition at line 41 of file vframe.C.
References params, read_png(), and reset_parameters().

| VFrame::VFrame | ( | VFrame & | vframe | ) |
Definition at line 48 of file vframe.C.
References allocate_data(), bytes_per_line, color_model, copy_stacks(), data, h, memcpy, params, reset_parameters(), and w.

| VFrame::VFrame | ( | ) |
Definition at line 89 of file vframe.C.
References BC_COMPRESSED, color_model, params, and reset_parameters().

| VFrame::~VFrame | ( | ) |
Definition at line 106 of file vframe.C.
References clear_objects(), next_effects, params, prev_effects, and ArrayList< TYPE >::remove_all_objects().

| int VFrame::equivalent | ( | VFrame * | src, | |
| int | test_stacks = 0 | |||
| ) |
Definition at line 115 of file vframe.C.
References bytes_per_line, equal_stacks(), get_color_model(), get_h(), and get_w().
Referenced by FrameCache::frame_exists(), and FieldFrame::process_buffer().

| int VFrame::reallocate | ( | unsigned char * | data, | |
| long | y_offset, | |||
| long | u_offset, | |||
| long | v_offset, | |||
| int | w, | |||
| int | h, | |||
| int | color_model, | |||
| long | bytes_per_line | |||
| ) |
Definition at line 389 of file vframe.C.
References allocate_data(), clear_objects(), and reset_parameters().
Referenced by read_png().

| void VFrame::set_memory | ( | unsigned char * | data, | |
| long | y_offset, | |||
| long | u_offset, | |||
| long | v_offset | |||
| ) |
Definition at line 360 of file vframe.C.
References create_row_pointers(), shared, u, v, and y.
Referenced by VDeviceX11::new_output_buffer().

| void VFrame::set_compressed_memory | ( | unsigned char * | data, | |
| int | data_size, | |||
| int | data_allocated | |||
| ) |
Definition at line 376 of file vframe.C.
References clear_objects(), compressed_allocated, compressed_size, and shared.

| int VFrame::read_png | ( | unsigned char * | data | ) |
Definition at line 436 of file vframe.C.
References BC_RGB888, BC_RGBA8888, get_h(), get_rows(), get_w(), h, image_offset, image_size, NULL, PngReadFunction::png_read_function(), reallocate(), and w.
Referenced by BC_Bitmap::BC_Bitmap(), and VFrame().

| int VFrame::params_match | ( | int | w, | |
| int | h, | |||
| int | color_model | |||
| ) |
Definition at line 140 of file vframe.C.
Referenced by SvgMain::process_realtime(), File::read_frame(), and FileThread::run().
| long VFrame::set_shm_offset | ( | long | offset | ) |
Definition at line 124 of file vframe.C.
References shm_offset.
Referenced by VDeviceX11::new_output_buffer(), VDeviceBUZ::new_output_buffer(), and VDevice1394::new_output_buffer().
| long VFrame::get_shm_offset | ( | ) |
| int VFrame::copy_from | ( | VFrame * | frame | ) |
Definition at line 666 of file vframe.C.
References allocate_compressed_data(), BC_COMPRESSED, BC_YUV420P, BC_YUV422P, calculate_data_size(), color_model, compressed_size, data, get_h(), get_u(), get_v(), get_w(), get_y(), h, memcpy, MIN, and w.
Referenced by Theme::build_button(), Theme::build_toggle(), VDeviceX11::close_all(), FadeEngine::do_fade(), ResourceThread::do_video(), PackageRenderer::do_video(), FrameCache::get_frame(), OverlayFrame::overlay(), ZoomBlurMain::process_buffer(), Reroute::process_buffer(), RadialBlurMain::process_buffer(), PerspectiveMain::process_buffer(), MotionMain::process_buffer(), LinearBlurMain::process_buffer(), InterpolatePixelsMain::process_buffer(), FreezeFrameMain::process_buffer(), Decimate::process_buffer(), ScaleMain::process_buffer(), MotionMain::process_global(), YUVEffect::process_realtime(), WhirlEffect::process_realtime(), WaveEffect::process_realtime(), VideoScopeEffect::process_realtime(), TranslateMain::process_realtime(), SharpenMain::process_realtime(), PolarEffect::process_realtime(), OilEffect::process_realtime(), MotionBlurMain::process_realtime(), IVTCMain::process_realtime(), DownSampleMain::process_realtime(), DelayVideo::process_realtime(), _1080to540Main::process_realtime(), MotionMain::process_rotation(), FileList::read_frame(), VAttachmentPoint::render(), RecordMonitorThread::render_uncompressed(), RotateFrame::rotate(), RecordVideo::run(), HoloMain::set_background(), and FileOGG::write_frames_theora().

| int VFrame::clear_frame | ( | ) |
Definition at line 556 of file vframe.C.
References BC_COMPRESSED, BC_YUV161616, BC_YUV420P, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, bytes_per_line, color_model, data, h, w, and ZERO_YUV.
Referenced by Theme::build_transport(), MaskEngine::do_mask(), TitleMain::draw_mask(), VModule::import_frame(), OverlayFrame::overlay(), RotateEffect::process_buffer(), PerspectiveMain::process_buffer(), VirtualVConsole::process_buffer(), ScaleMain::process_buffer(), MotionMain::process_global(), GlyphUnit::process_package(), TranslateMain::process_realtime(), _1080to540Main::process_realtime(), MotionMain::process_rotation(), VTrack::render(), VModule::render(), VirtualVNode::render_mask(), and RotateFrame::rotate_rightangle().
| int VFrame::allocate_compressed_data | ( | long | bytes | ) |
Definition at line 411 of file vframe.C.
References compressed_allocated, compressed_size, data, and UNBUFFER.
Referenced by copy_from(), VDeviceLML::read_buffer(), VDeviceBUZ::read_buffer(), FileYUV::read_frame(), FileMOV::read_frame(), FileList::read_frame(), FileDV::read_frame(), tiff_write(), EXROStream::write(), VDeviceBUZ::write_buffer(), FileTGA::write_data(), RecordMonitorThread::write_frame(), FileJPEGList::write_frame(), FileJPEG::write_frame(), FileMOV::write_frames(), and write_function().
| long VFrame::get_number | ( | ) |
Definition at line 837 of file vframe.C.
References sequence_number.
Referenced by FileList::write_frames().
| void VFrame::set_number | ( | long | number | ) |
Definition at line 832 of file vframe.C.
References sequence_number.
Referenced by PackageRenderer::do_video().
| long VFrame::get_compressed_allocated | ( | ) |
Definition at line 511 of file vframe.C.
References compressed_allocated.
Referenced by FileList::get_memory_usage(), RecordVideo::read_buffer(), tiff_write(), EXROStream::write(), FileTGA::write_data(), FileMOV::write_frames(), and write_function().
| long VFrame::get_compressed_size | ( | ) |
Definition at line 516 of file vframe.C.
References compressed_size.
Referenced by LiveVideo::process_buffer(), FrameWriterUnit::process_package(), RecordVideo::read_buffer(), FilePNG::read_frame(), FileJPEGList::read_frame(), FileJPEG::read_frame(), FileEXR::read_frame(), read_function(), FileTGA::read_tga(), RecordMonitorThread::render_dv(), RecVideoDVThread::render_frame(), RecVideoMJPGThread::render_frame(), RecordMonitorThread::render_jpeg(), tiff_mmap(), tiff_read(), tiff_seek(), tiff_size(), tiff_write(), EXROStream::write(), VDeviceLML::write_buffer(), VDeviceBUZ::write_buffer(), FileMOV::write_compressed_frame(), FileDV::write_compressed_frame(), FileTGA::write_data(), RecordMonitorThread::write_frame(), FileYUV::write_frames(), FileMOV::write_frames(), and write_function().
| long VFrame::set_compressed_size | ( | long | size | ) |
Definition at line 521 of file vframe.C.
References compressed_size.
Referenced by VDeviceLML::read_buffer(), VDeviceBUZ::read_buffer(), RecordVideo::read_buffer(), FileMOV::read_compressed_frame(), FileDV::read_compressed_frame(), FileYUV::read_frame(), FilePNG::read_frame(), FileMOV::read_frame(), FileList::read_frame(), FileDV::read_frame(), read_function(), tiff_write(), EXROStream::write(), VDeviceBUZ::write_buffer(), FileTGA::write_data(), RecordMonitorThread::write_frame(), FileTIFF::write_frame(), FilePNG::write_frame(), FileJPEG::write_frame(), FileEXR::write_frame(), FileMOV::write_frames(), and write_function().
| int VFrame::get_color_model | ( | ) |
Definition at line 527 of file vframe.C.
References color_model.
Referenced by TimeAvgMain::add_accum(), SelTempAvgMain::add_accum(), HoloMain::add_frames(), FieldFrame::apply_field(), FrameField::average_rows(), BC_Pixmap::BC_Pixmap(), Decimate::calculate_difference(), BC_Capture::capture_frame(), clear_pbuffer(), VDeviceX11::close_all(), FFMPEG::convert_cmodel(), FFMPEG::convert_cmodel_transfer(), AssetPicon::create_objects(), RGB601Main::create_table(), DeInterlaceMain::deinterlace_avg(), DeInterlaceMain::deinterlace_avg_top(), DeInterlaceMain::deinterlace_bobweave(), DeInterlaceMain::deinterlace_swap(), DeInterlaceMain::deinterlace_temporalswap(), DeInterlaceMain::deinterlace_top(), CWindowCanvas::do_eyedrop(), Playback3D::do_fade_sync(), MaskUnit::do_feather(), MaskEngine::do_mask(), Playback3D::do_mask_sync(), DotClient::draw_dot(), Playback3D::draw_output(), MotionMain::draw_pixel(), EffectTV::effecttv_to_frame(), Playback3D::enable_overlay_texture(), FileYUV::ensure_temp(), equivalent(), FrameCache::frame_exists(), EffectTV::frame_to_effecttv(), VDeviceV4L::frame_to_vframe(), get_column(), get_row(), ThresholdMain::handle_opengl(), Overlay::handle_opengl(), DiffKey::handle_opengl(), EffectTV::image_bgset_y(), VModule::import_frame(), FFMPEG::init_picture_from_frame(), VRender::insert_timecode(), VDeviceX11::new_output_buffer(), VDeviceBUZ::new_output_buffer(), VDevice1394::new_output_buffer(), PluginVClient::new_temp(), overlay(), BC_Theme::overlay(), Theme::overlay(), OverlayFrame::overlay(), Playback3D::overlay_sync(), RotateEngine::perform_rotation(), BC_DragWindow::prepare_frame(), RGB601Main::process(), ZoomBlurMain::process_buffer(), TimeFrontMain::process_buffer(), RotateEffect::process_buffer(), Reroute::process_buffer(), PerspectiveMain::process_buffer(), MotionMain::process_buffer(), LiveVideo::process_buffer(), LinearBlurMain::process_buffer(), InvertVideoEffect::process_buffer(), InterpolateVideo::process_buffer(), InterpolatePixelsMain::process_buffer(), GradientMain::process_buffer(), FreezeFrameMain::process_buffer(), FrameField::process_buffer(), FlipMain::process_buffer(), FieldFrame::process_buffer(), DeInterlaceMain::process_buffer(), Decimate::process_buffer(), ScaleMain::process_buffer(), _720to480Main::process_loop(), ZoomBlurUnit::process_package(), WhirlUnit::process_package(), WaveUnit::process_package(), VideoScopeUnit::process_package(), UnsharpUnit::process_package(), TitleTranslateUnit::process_package(), ThresholdUnit::process_package(), RadialBlurUnit::process_package(), PolarUnit::process_package(), OilUnit::process_package(), MotionBlurUnit::process_package(), RotateScanUnit::process_package(), MotionScanUnit::process_package(), AffineUnit::process_package(), LinearBlurUnit::process_package(), IVTCUnit::process_package(), InterpolatePixelsUnit::process_package(), HueUnit::process_package(), HoloClient::process_package(), HistogramUnit::process_package(), GradientUnit::process_package(), GammaUnit::process_package(), DownSampleUnit::process_package(), DotClient::process_package(), DiffKeyClient::process_package(), ChromaKeyUnit::process_package(), BurnClient::process_package(), BrightnessUnit::process_package(), AgingClient::process_package(), BlendUnit::process_package(), ScaleTranslateUnit::process_package(), TranslateUnit::process_package(), ScaleUnit::process_package(), MaskUnit::process_package(), FadeUnit::process_package(), YUVEffect::process_realtime(), WipeMain::process_realtime(), WhirlEffect::process_realtime(), WaveEffect::process_realtime(), TranslateMain::process_realtime(), SwapMain::process_realtime(), SvgMain::process_realtime(), SlideMain::process_realtime(), ShapeWipeMain::process_realtime(), SharpenMain::process_realtime(), PolarEffect::process_realtime(), OilEffect::process_realtime(), MotionBlurMain::process_realtime(), IVTCMain::process_realtime(), IrisSquareMain::process_realtime(), HoloMain::process_realtime(), FlashMain::process_realtime(), DenoiseVideo::process_realtime(), BurnMain::process_realtime(), BandWipeMain::process_realtime(), BandSlideMain::process_realtime(), _1080to540Main::process_realtime(), put_column(), BC_Bitmap::read_frame(), FileYUV::read_frame(), FileThread::read_frame(), FilePNG::read_frame(), FileOGG::read_frame(), FileMPEG::read_frame(), FileMOV::read_frame(), FileList::read_frame(), FileJPEGList::read_frame(), FileJPEG::read_frame(), FileEXR::read_frame(), FileDV::read_frame(), FileCR2::read_frame(), FileAVI::read_frame(), File::read_frame(), FileMOV::read_raw(), FileTGA::read_tga(), _720to480Main::reduce_field(), _1080to540Main::reduce_field(), VAttachmentPoint::render(), RecVideoDVThread::render_frame(), RecVideoMJPGThread::render_frame(), RotateFrame::rotate_obliqueangle(), RotateFrame::rotate_rightangle(), SharpenEngine::run(), ColorBalanceEngine::run(), BlurEngine::run(), FileMOVThread::run(), screen_to_texture(), SetChannelsCanvas::SetChannelsCanvas(), ShiftInterlaceMain::shift_row(), TimeAvgMain::subtract_accum(), SelTempAvgMain::subtract_accum(), HistogramMain::tabulate_curve(), to_texture(), TimeAvgMain::transfer_accum(), SelTempAvgMain::transfer_accum(), VDeviceX11::write_buffer(), VDeviceLML::write_buffer(), VDeviceBUZ::write_buffer(), RecordMonitorThread::write_frame(), FileTIFF::write_frame(), FilePNG::write_frame(), FileJPEGList::write_frame(), FileJPEG::write_frame(), FileEXR::write_frame(), FileYUV::write_frames(), FileMPEG::write_frames(), FileMOV::write_frames(), FileDV::write_frames(), FileOGG::write_frames_theora(), and FileTGA::write_tga().
| unsigned char * VFrame::get_data | ( | ) |
Definition at line 506 of file vframe.C.
References data.
Referenced by FileMOV::format_to_asset(), VDeviceV4L::frame_to_vframe(), FFMPEG::init_picture_from_frame(), LiveVideo::process_buffer(), GlyphUnit::process_package(), FrameWriterUnit::process_package(), VDeviceLML::read_buffer(), VDeviceBUZ::read_buffer(), RecordVideo::read_buffer(), FileMOV::read_compressed_frame(), FileDV::read_compressed_frame(), BC_Bitmap::read_frame(), FileYUV::read_frame(), FileMOV::read_frame(), FileList::read_frame(), FileJPEGList::read_frame(), FileJPEG::read_frame(), FileEXR::read_frame(), FileDV::read_frame(), FileAVI::read_frame(), read_function(), FileTGA::read_tga(), RecVideoDVThread::render_frame(), RecVideoMJPGThread::render_frame(), RecordVideo::run(), tiff_mmap(), tiff_read(), tiff_write(), EXROStream::write(), VDeviceLML::write_buffer(), VDeviceBUZ::write_buffer(), FileMOV::write_compressed_frame(), FileDV::write_compressed_frame(), FileTGA::write_data(), RecordMonitorThread::write_frame(), FileJPEGList::write_frame(), FileJPEG::write_frame(), FileYUV::write_frames(), FileMOV::write_frames(), FileDV::write_frames(), and write_function().
| unsigned char ** VFrame::get_rows | ( | ) |
Definition at line 788 of file vframe.C.
References rows.
Referenced by FieldFrame::apply_field(), BC_Capture::capture_frame(), FFMPEG::convert_cmodel(), FFMPEG::convert_cmodel_transfer(), Playback3D::copy_from_sync(), PaletteWheel::create_objects(), AssetPicon::create_objects(), ResourceThread::do_video(), PaletteWheelValue::draw(), TitleUnit::draw_glyph(), VDeviceV4L::frame_to_vframe(), get_column(), BC_Theme::overlay(), Theme::overlay(), BC_DragWindow::prepare_frame(), PerspectiveMain::process_buffer(), LiveVideo::process_buffer(), FrameField::process_buffer(), ChromaKeyUnit::process_chromakey(), UnsharpUnit::process_package(), RotateScanUnit::process_package(), MotionScanUnit::process_package(), InterpolatePixelsUnit::process_package(), HoloClient::process_package(), DotClient::process_package(), BurnClient::process_package(), AgingClient::process_package(), BlendUnit::process_package(), ScaleTranslateUnit::process_package(), MaskUnit::process_package(), FadeUnit::process_package(), YUVEffect::process_realtime(), WhirlEffect::process_realtime(), WaveEffect::process_realtime(), VideoScopeEffect::process_realtime(), TranslateMain::process_realtime(), SvgMain::process_realtime(), SharpenMain::process_realtime(), PolarEffect::process_realtime(), OilEffect::process_realtime(), MotionBlurMain::process_realtime(), IVTCMain::process_realtime(), DownSampleMain::process_realtime(), BlurMain::process_realtime(), put_column(), BC_Bitmap::read_frame(), FileTIFF::read_frame(), FileThread::read_frame(), FilePNG::read_frame(), FileOGG::read_frame(), FileMPEG::read_frame(), FileMOV::read_frame(), FileList::read_frame(), FileJPEGList::read_frame(), FileJPEG::read_frame(), FileEXR::read_frame(), FileDV::read_frame(), FileCR2::read_frame(), File::read_frame(), read_png(), FileMOV::read_raw(), FileTGA::read_tga(), VideoScopeUnit::render_data(), ThresholdUnit::render_data(), RecVideoMJPGThread::render_frame(), FileMOVThread::run(), to_ram(), to_texture(), px_type< TYPE, COMPONENTS >::transfer(), VDeviceX11::write_buffer(), VDeviceBUZ::write_buffer(), FileTIFF::write_frame(), FilePNG::write_frame(), FileJPEGList::write_frame(), FileJPEG::write_frame(), FileEXR::write_frame(), FileMPEG::write_frames(), FileMOV::write_frames(), FileDV::write_frames(), FileOGG::write_frames_theora(), and FileTGA::write_tga().
| unsigned char * VFrame::get_y | ( | ) |
Definition at line 817 of file vframe.C.
References y.
Referenced by BC_Capture::capture_frame(), FileYUV::close_file(), FFMPEG::convert_cmodel(), FFMPEG::convert_cmodel_transfer(), copy_from(), VDeviceV4L::frame_to_vframe(), FFMPEG::init_picture_from_frame(), YUVStream::make_index(), LiveVideo::process_buffer(), BC_Bitmap::read_frame(), FileYUV::read_frame(), FileThread::read_frame(), FileOGG::read_frame(), FileMPEG::read_frame(), FileMOV::read_frame(), FileList::read_frame(), FileJPEGList::read_frame(), FileJPEG::read_frame(), File::read_frame(), FileTGA::read_tga(), RecVideoDVThread::render_frame(), RecVideoMJPGThread::render_frame(), FileMOVThread::run(), VDeviceX11::write_buffer(), VDeviceBUZ::write_buffer(), FileTIFF::write_frame(), FilePNG::write_frame(), FileJPEGList::write_frame(), FileJPEG::write_frame(), FileEXR::write_frame(), FileYUV::write_frames(), FileMPEG::write_frames(), FileMOV::write_frames(), FileOGG::write_frames_theora(), and FileTGA::write_tga().
| unsigned char * VFrame::get_u | ( | ) |
Definition at line 822 of file vframe.C.
References u.
Referenced by BC_Capture::capture_frame(), FileYUV::close_file(), FFMPEG::convert_cmodel(), FFMPEG::convert_cmodel_transfer(), copy_from(), VDeviceV4L::frame_to_vframe(), FFMPEG::init_picture_from_frame(), YUVStream::make_index(), LiveVideo::process_buffer(), BC_Bitmap::read_frame(), FileYUV::read_frame(), FileThread::read_frame(), FileOGG::read_frame(), FileMPEG::read_frame(), FileMOV::read_frame(), FileList::read_frame(), FileJPEGList::read_frame(), FileJPEG::read_frame(), File::read_frame(), FileTGA::read_tga(), RecVideoDVThread::render_frame(), RecVideoMJPGThread::render_frame(), FileMOVThread::run(), VDeviceX11::write_buffer(), VDeviceBUZ::write_buffer(), FileTIFF::write_frame(), FilePNG::write_frame(), FileJPEGList::write_frame(), FileJPEG::write_frame(), FileEXR::write_frame(), FileYUV::write_frames(), FileMPEG::write_frames(), FileMOV::write_frames(), FileOGG::write_frames_theora(), and FileTGA::write_tga().
| unsigned char * VFrame::get_v | ( | ) |
Definition at line 827 of file vframe.C.
References v.
Referenced by BC_Capture::capture_frame(), FileYUV::close_file(), FFMPEG::convert_cmodel(), FFMPEG::convert_cmodel_transfer(), copy_from(), VDeviceV4L::frame_to_vframe(), FFMPEG::init_picture_from_frame(), YUVStream::make_index(), LiveVideo::process_buffer(), BC_Bitmap::read_frame(), FileYUV::read_frame(), FileThread::read_frame(), FileOGG::read_frame(), FileMPEG::read_frame(), FileMOV::read_frame(), FileList::read_frame(), FileJPEGList::read_frame(), FileJPEG::read_frame(), File::read_frame(), FileTGA::read_tga(), RecVideoDVThread::render_frame(), RecVideoMJPGThread::render_frame(), FileMOVThread::run(), VDeviceX11::write_buffer(), VDeviceBUZ::write_buffer(), FileTIFF::write_frame(), FilePNG::write_frame(), FileJPEGList::write_frame(), FileJPEG::write_frame(), FileEXR::write_frame(), FileYUV::write_frames(), FileMPEG::write_frames(), FileMOV::write_frames(), FileOGG::write_frames_theora(), and FileTGA::write_tga().
| int VFrame::get_w | ( | ) |
Definition at line 797 of file vframe.C.
References w.
Referenced by TimeAvgMain::add_accum(), SelTempAvgMain::add_accum(), PluginVClient::age_temp(), MotionMain::allocate_temp(), FieldFrame::apply_field(), BC_Bitmap::BC_Bitmap(), BC_Pixmap::BC_Pixmap(), BC_Resources::BC_Resources(), BlurEngine::BlurEngine(), Theme::build_button(), Theme::build_patches(), Theme::build_toggle(), Theme::build_transport(), HistogramMain::calculate_automatic(), Decimate::calculate_difference(), BC_ScrollBar::calculate_dimensions(), BC_Toggle::calculate_extents(), Decimate::calculate_fdct(), GammaMain::calculate_max(), ScaleMain::calculate_transfer(), BC_CancelButton::calculate_w(), BC_OKButton::calculate_w(), TipClose::calculate_w(), TipPrev::calculate_w(), TipNext::calculate_w(), PluginShow::calculate_w(), PluginOn::calculate_w(), BC_Capture::capture_frame(), VDeviceX11::close_all(), FFMPEG::convert_cmodel(), FFMPEG::convert_cmodel_transfer(), RotateEngine::coords_to_pixel(), copy_from(), Playback3D::copy_from_sync(), RotateEngine::create_matrix(), BC_FileBox::create_objects(), AssetPicon::create_objects(), AboutPrefs::create_objects(), create_pbuffer(), TrackCanvas::do_edits(), CWindowCanvas::do_eyedrop(), MaskEngine::do_mask(), Playback3D::do_mask_sync(), TrackCanvas::do_plugins(), ResourceThread::do_video(), BC_ListBox::drag_start_event(), BC_WindowBase::draw_3segmenth(), BC_WindowBase::draw_3segmentv(), BC_WindowBase::draw_9segment(), BC_ListBox::draw_background(), TitleUnit::draw_glyph(), TitleMain::draw_mask(), SUV::draw_mwindow_bg(), BlondTheme::draw_mwindow_bg(), BC_Pan::draw_popup(), BC_WindowBase::draw_text(), BC_ListBox::draw_text_recursive(), draw_texture(), TrackCanvas::draw_transitions(), MotionMain::draw_vectors(), BC_WindowBase::draw_vframe(), EffectTV::effecttv_to_frame(), FileYUV::ensure_temp(), equivalent(), FrameCache::frame_exists(), EffectTV::frame_to_effecttv(), VDeviceV4L::frame_to_vframe(), BC_ScrollBar::get_arrow_pixels(), BC_ListBox::get_cursor_item(), SUV::get_cwindow_sizes(), BlondTheme::get_cwindow_sizes(), BlueDotTheme::get_cwindow_sizes(), TrackCanvas::get_handle_coords(), BC_Meter::get_meter_w(), SUV::get_mwindow_sizes(), MicroTheme::get_mwindow_sizes(), BlondTheme::get_mwindow_sizes(), BlueDotTheme::get_mwindow_sizes(), MeterPanel::get_reset_x(), RotateFrame::get_rightdimensions(), BC_ListBox::get_scrollbars(), BC_WindowBase::get_single_text_width(), BC_Slider::get_span(), BC_ScrollBar::get_span(), PlayTransport::get_transport_width(), BC_ListBox::get_xscroll_width(), BC_ListBox::get_yscroll_x(), ZoomBlurMain::handle_opengl(), RotateEffect::handle_opengl(), RadialBlurMain::handle_opengl(), LinearBlurMain::handle_opengl(), GradientMain::handle_opengl(), TitleTranslate::init_packages(), FFMPEG::init_picture_from_frame(), init_screen(), SUV::initialize(), BlondTheme::initialize(), BC_Slider::initialize(), BC_Pot::initialize(), VRender::insert_timecode(), PluginVClient::new_temp(), BC_Theme::overlay(), VDeviceX11::overlay(), Theme::overlay(), OverlayFrame::overlay(), Playback3D::overlay_sync(), RotateEngine::perform_rotation(), BC_DragWindow::prepare_frame(), RGB601Main::process(), AffineEngine::process(), ZoomBlurMain::process_buffer(), TimeFrontMain::process_buffer(), RotateEffect::process_buffer(), PerspectiveMain::process_buffer(), Overlay::process_buffer(), MotionMain::process_buffer(), LiveVideo::process_buffer(), LinearBlurMain::process_buffer(), InvertVideoEffect::process_buffer(), InterpolateVideo::process_buffer(), InterpolatePixelsMain::process_buffer(), GradientMain::process_buffer(), FreezeFrameMain::process_buffer(), FrameField::process_buffer(), FlipMain::process_buffer(), FieldFrame::process_buffer(), DeInterlaceMain::process_buffer(), Decimate::process_buffer(), VirtualVConsole::process_buffer(), ScaleMain::process_buffer(), ChromaKeyUnit::process_chromakey(), MotionMain::process_global(), _720to480Main::process_loop(), ZoomBlurUnit::process_package(), WhirlUnit::process_package(), WaveUnit::process_package(), UnsharpUnit::process_package(), TimeFrontUnit::process_package(), RadialBlurUnit::process_package(), PolarUnit::process_package(), OilUnit::process_package(), MotionBlurUnit::process_package(), RotateScanUnit::process_package(), MotionScanUnit::process_package(), AffineUnit::process_package(), LinearBlurUnit::process_package(), IVTCUnit::process_package(), InterpolatePixelsUnit::process_package(), HueUnit::process_package(), HoloClient::process_package(), HistogramUnit::process_package(), GradientUnit::process_package(), GammaUnit::process_package(), DownSampleUnit::process_package(), DotClient::process_package(), DiffKeyClient::process_package(), ChromaKeyUnit::process_package(), BurnClient::process_package(), AgingClient::process_package(), BlendUnit::process_package(), TranslateUnit::process_package(), MaskUnit::process_package(), FadeUnit::process_package(), YUVEffect::process_realtime(), WipeMain::process_realtime(), WhirlEffect::process_realtime(), WaveEffect::process_realtime(), TranslateMain::process_realtime(), SwapMain::process_realtime(), SvgMain::process_realtime(), SlideMain::process_realtime(), ShapeWipeMain::process_realtime(), PolarEffect::process_realtime(), OilEffect::process_realtime(), MotionBlurMain::process_realtime(), IVTCMain::process_realtime(), IrisSquareMain::process_realtime(), HoloMain::process_realtime(), FlashMain::process_realtime(), DenoiseVideo::process_realtime(), BurnMain::process_realtime(), BlurMain::process_realtime(), BandWipeMain::process_realtime(), BandSlideMain::process_realtime(), _1080to540Main::process_realtime(), MotionMain::process_rotation(), BC_Bitmap::read_frame(), FileYUV::read_frame(), FileTIFF::read_frame(), FileThread::read_frame(), FileOGG::read_frame(), FileMPEG::read_frame(), FileList::read_frame(), FileEXR::read_frame(), File::read_frame(), read_png(), FileTGA::read_tga(), DotMain::reconfigure(), DelayVideo::reconfigure(), _720to480Main::reduce_field(), _1080to540Main::reduce_field(), BC_Meter::region_pixel(), BC_Meter::region_pixels(), VAttachmentPoint::render(), VideoScopeUnit::render_data(), ThresholdUnit::render_data(), PatchGUI::reposition(), AffineEngine::rotate(), RotateFrame::rotate_obliqueangle(), RotateFrame::rotate_rightangle(), BlurEngine::run(), RotateScan::scan_frame(), MotionScan::scan_frame(), screen_to_texture(), BC_ListBox::select_rectangle(), SetChannelsCanvas::SetChannelsCanvas(), ShiftInterlaceMain::shift_row(), MWindow::show_splash(), TimeAvgMain::subtract_accum(), SelTempAvgMain::subtract_accum(), to_ram(), to_texture(), px_type< TYPE, COMPONENTS >::transfer(), TimeAvgMain::transfer_accum(), SelTempAvgMain::transfer_accum(), LabelGUI::translate_pixel(), PatchGUI::update(), VDeviceX11::write_buffer(), FileTIFF::write_frame(), FileEXR::write_frame(), FileYUV::write_frames(), FileMPEG::write_frames(), FileOGG::write_frames_theora(), and FileTGA::write_tga().
| int VFrame::get_h | ( | ) |
Definition at line 802 of file vframe.C.
References h.
Referenced by TimeAvgMain::add_accum(), SelTempAvgMain::add_accum(), PluginVClient::age_temp(), MotionMain::allocate_temp(), FieldFrame::apply_field(), BC_Bitmap::BC_Bitmap(), BC_FileBox::BC_FileBox(), BC_Pixmap::BC_Pixmap(), BC_Resources::BC_Resources(), BlurEngine::BlurEngine(), Theme::build_button(), Theme::build_patches(), Theme::build_toggle(), Theme::build_transport(), HistogramMain::calculate_automatic(), Decimate::calculate_difference(), BC_ScrollBar::calculate_dimensions(), BC_Toggle::calculate_extents(), Decimate::calculate_fdct(), BC_Pot::calculate_h(), BC_PopupMenu::calculate_h(), BC_GenericButton::calculate_h(), BC_CancelButton::calculate_h(), BC_OKButton::calculate_h(), TipClose::calculate_h(), BC_MenuBar::calculate_height(), GammaMain::calculate_max(), ScaleMain::calculate_transfer(), TrackCanvas::calculate_viewport(), BC_Capture::capture_frame(), VDeviceX11::close_all(), FFMPEG::convert_cmodel(), FFMPEG::convert_cmodel_transfer(), RotateEngine::coords_to_pixel(), copy_from(), Playback3D::copy_from_sync(), RotateEngine::create_matrix(), BC_FileBox::create_objects(), ZoomBar::create_objects(), AssetPicon::create_objects(), create_pbuffer(), Playback3D::do_camera_sync(), TrackCanvas::do_edits(), CWindowCanvas::do_eyedrop(), MaskEngine::do_mask(), Playback3D::do_mask_sync(), TrackCanvas::do_plugin_autos(), TrackCanvas::do_plugins(), ResourceThread::do_video(), BC_ListBox::drag_start_event(), BC_WindowBase::draw_3segmenth(), BC_WindowBase::draw_3segmentv(), BC_WindowBase::draw_9segment(), ResourcePixmap::draw_audio_source(), ResourcePixmap::draw_data(), TitleUnit::draw_glyph(), IndexFile::draw_index(), TitleMain::draw_mask(), BC_WindowBase::draw_text(), draw_texture(), TrackCanvas::draw_transitions(), MotionMain::draw_vectors(), BC_WindowBase::draw_vframe(), ResourcePixmap::draw_video_resource(), ResourcePixmap::draw_wave(), TrackCanvas::edit_dimensions(), EffectTV::effecttv_to_frame(), FileYUV::ensure_temp(), equivalent(), FrameCache::frame_exists(), EffectTV::frame_to_effecttv(), VDeviceV4L::frame_to_vframe(), BC_ScrollBar::get_arrow_pixels(), get_column(), SUV::get_cwindow_sizes(), MicroTheme::get_cwindow_sizes(), BlondTheme::get_cwindow_sizes(), BlueDotTheme::get_cwindow_sizes(), TrackCanvas::get_handle_coords(), SUV::get_mwindow_sizes(), MicroTheme::get_mwindow_sizes(), BlondTheme::get_mwindow_sizes(), BlueDotTheme::get_mwindow_sizes(), TrackCanvas::get_pixmap_size(), MeterPanel::get_reset_y(), RotateFrame::get_rightdimensions(), BC_ListBox::get_scrollbars(), BC_Slider::get_span(), BC_ScrollBar::get_span(), BC_WindowBase::get_text_ascent(), TrackCanvas::get_transition_coords(), SUV::get_vwindow_sizes(), MicroTheme::get_vwindow_sizes(), BlondTheme::get_vwindow_sizes(), BlueDotTheme::get_vwindow_sizes(), BC_ListBox::get_xscroll_y(), OutPointGUI::get_y(), InPointGUI::get_y(), LabelGUI::get_y(), BC_ListBox::get_yscroll_height(), RotateEffect::handle_opengl(), RadialBlurMain::handle_opengl(), LinearBlurMain::handle_opengl(), GradientMain::handle_opengl(), ZoomBlurEngine::init_packages(), WhirlEngine::init_packages(), WaveServer::init_packages(), VideoScopeEngine::init_packages(), UnsharpEngine::init_packages(), TitleTranslate::init_packages(), TimeFrontServer::init_packages(), ThresholdEngine::init_packages(), RadialBlurEngine::init_packages(), PolarEngine::init_packages(), OilServer::init_packages(), MotionBlurEngine::init_packages(), LinearBlurEngine::init_packages(), IVTCEngine::init_packages(), InterpolatePixelsEngine::init_packages(), HueEngine::init_packages(), HoloServer::init_packages(), HistogramEngine::init_packages(), GradientServer::init_packages(), GammaEngine::init_packages(), DownSampleServer::init_packages(), DotServer::init_packages(), DiffKeyEngine::init_packages(), ChromaKeyServer::init_packages(), BurnServer::init_packages(), BrightnessEngine::init_packages(), BlurZoomServer::init_packages(), AgingServer::init_packages(), BlendEngine::init_packages(), TranslateEngine::init_packages(), MaskEngine::init_packages(), FadeEngine::init_packages(), FFMPEG::init_picture_from_frame(), init_screen(), SUV::initialize(), MicroTheme::initialize(), BlondTheme::initialize(), BC_Slider::initialize(), BC_Pot::initialize(), VRender::insert_timecode(), PluginVClient::new_temp(), BC_Theme::overlay(), VDeviceX11::overlay(), Theme::overlay(), OverlayFrame::overlay(), Playback3D::overlay_sync(), RotateEngine::perform_rotation(), TrackCanvas::plugin_dimensions(), BC_DragWindow::prepare_frame(), RGB601Main::process(), AffineEngine::process(), ZoomBlurMain::process_buffer(), TimeFrontMain::process_buffer(), RotateEffect::process_buffer(), PerspectiveMain::process_buffer(), Overlay::process_buffer(), MotionMain::process_buffer(), LiveVideo::process_buffer(), LinearBlurMain::process_buffer(), InterpolateVideo::process_buffer(), InterpolatePixelsMain::process_buffer(), GradientMain::process_buffer(), FreezeFrameMain::process_buffer(), FrameField::process_buffer(), FlipMain::process_buffer(), FieldFrame::process_buffer(), DeInterlaceMain::process_buffer(), Decimate::process_buffer(), VirtualVConsole::process_buffer(), ScaleMain::process_buffer(), MotionMain::process_global(), _720to480Main::process_loop(), ZoomBlurUnit::process_package(), WhirlUnit::process_package(), WaveUnit::process_package(), UnsharpUnit::process_package(), TimeFrontUnit::process_package(), RadialBlurUnit::process_package(), PolarUnit::process_package(), OilUnit::process_package(), MotionBlurUnit::process_package(), RotateScanUnit::process_package(), MotionScanUnit::process_package(), AffineUnit::process_package(), LinearBlurUnit::process_package(), IVTCUnit::process_package(), InterpolatePixelsUnit::process_package(), HistogramUnit::process_package(), GradientUnit::process_package(), DownSampleUnit::process_package(), BlendUnit::process_package(), TranslateUnit::process_package(), MaskUnit::process_package(), WipeMain::process_realtime(), WhirlEffect::process_realtime(), WaveEffect::process_realtime(), TranslateMain::process_realtime(), SwapMain::process_realtime(), SvgMain::process_realtime(), SlideMain::process_realtime(), ShiftInterlaceMain::process_realtime(), ShapeWipeMain::process_realtime(), PolarEffect::process_realtime(), OilEffect::process_realtime(), MotionBlurMain::process_realtime(), IVTCMain::process_realtime(), IrisSquareMain::process_realtime(), HoloMain::process_realtime(), FlashMain::process_realtime(), DenoiseVideo::process_realtime(), BurnMain::process_realtime(), BlurMain::process_realtime(), BandWipeMain::process_realtime(), BandSlideMain::process_realtime(), _1080to540Main::process_realtime(), MotionMain::process_rotation(), put_column(), BC_Bitmap::read_frame(), FileYUV::read_frame(), FileThread::read_frame(), File::read_frame(), read_png(), FileTGA::read_tga(), DotMain::reconfigure(), DelayVideo::reconfigure(), _720to480Main::reduce_field(), _1080to540Main::reduce_field(), VAttachmentPoint::render(), VideoScopeUnit::render_data(), ThresholdUnit::render_data(), AffineEngine::rotate(), RotateFrame::rotate_obliqueangle(), RotateFrame::rotate_rightangle(), BlurEngine::run(), RotateScan::scan_frame(), MotionScan::scan_frame(), screen_to_texture(), SetChannelsCanvas::SetChannelsCanvas(), MWindow::show_splash(), TimeAvgMain::subtract_accum(), SelTempAvgMain::subtract_accum(), to_ram(), to_texture(), px_type< TYPE, COMPONENTS >::transfer(), TimeAvgMain::transfer_accum(), SelTempAvgMain::transfer_accum(), Track::vertical_span(), VDeviceX11::write_buffer(), FileTIFF::write_frame(), FileEXR::write_frame(), FileYUV::write_frames(), FileMPEG::write_frames(), FileOGG::write_frames_theora(), and FileTGA::write_tga().
| int VFrame::get_w_fixed | ( | ) |
Definition at line 807 of file vframe.C.
References w.
Referenced by BC_WindowBase::draw_3segment().
| int VFrame::get_scale_tables | ( | int * | column_table, | |
| int * | row_table, | |||
| int | in_x1, | |||
| int | in_y1, | |||
| int | in_x2, | |||
| int | in_y2, | |||
| int | out_x1, | |||
| int | out_y1, | |||
| int | out_x2, | |||
| int | out_y2 | |||
| ) | [static] |
| int VFrame::get_bytes_per_pixel | ( | ) |
Definition at line 783 of file vframe.C.
References bytes_per_pixel.
Referenced by DotClient::process_package(), and BurnClient::process_package().
| long VFrame::get_bytes_per_line | ( | ) |
Definition at line 248 of file vframe.C.
References bytes_per_line.
Referenced by ResourceThread::do_video(), VDeviceV4L::frame_to_vframe(), VRender::insert_timecode(), LiveVideo::process_buffer(), UnsharpUnit::process_package(), RotateScanUnit::process_package(), MotionScanUnit::process_package(), and FileOGG::write_frames_theora().
| int VFrame::calculate_bytes_per_pixel | ( | int | colormodel | ) | [static] |
Definition at line 243 of file vframe.C.
References cmodel_calculate_pixelsize().
Referenced by allocate_data(), FieldFrame::apply_field(), FrameField::process_buffer(), ScaleTranslateUnit::process_package(), and IVTCMain::process_realtime().

| long VFrame::calculate_data_size | ( | int | w, | |
| int | h, | |||
| int | bytes_per_line = -1, |
|||
| int | color_model = BC_RGB888 | |||
| ) | [static] |
Definition at line 259 of file vframe.C.
References cmodel_calculate_datasize().
Referenced by allocate_data(), copy_from(), VDeviceV4L::frame_to_vframe(), get_data_size(), FileAVI::read_frame(), rotate270(), rotate90(), and FileThread::start_writing().

| long VFrame::get_data_size | ( | ) |
Definition at line 253 of file vframe.C.
References bytes_per_line, calculate_data_size(), color_model, h, and w.
Referenced by FileThread::get_memory_usage(), FileTGA::get_memory_usage(), FileList::get_memory_usage(), File::get_memory_usage(), and FrameCacheItem::get_size().

| void VFrame::rotate270 | ( | ) |
Definition at line 621 of file vframe.C.
References bytes_per_line, bytes_per_pixel, calculate_data_size(), clear_objects(), color_model, data, h, rows, and w.

| void VFrame::rotate90 | ( | ) |
Definition at line 590 of file vframe.C.
References bytes_per_line, bytes_per_pixel, calculate_data_size(), clear_objects(), color_model, data, h, rows, and w.

| void VFrame::flip_vert | ( | ) |
Definition at line 652 of file vframe.C.
References bytes_per_line, h, memcpy, and rows.
Referenced by Playback3D::copy_from_sync(), and to_ram().
| int VFrame::get_field2_offset | ( | ) |
Definition at line 221 of file vframe.C.
References field2_offset.
Referenced by LiveVideo::process_buffer(), RecVideoMJPGThread::render_frame(), and RecordMonitorThread::write_frame().
| int VFrame::set_field2_offset | ( | int | value | ) |
Definition at line 226 of file vframe.C.
References field2_offset.
Referenced by RecordVideo::read_buffer(), and RecordMonitorThread::write_frame().
| void VFrame::set_keyframe | ( | int | value | ) |
Definition at line 232 of file vframe.C.
References is_keyframe.
Referenced by FileMOV::read_compressed_frame(), and FileMOV::read_frame().
| int VFrame::get_keyframe | ( | ) |
Definition at line 237 of file vframe.C.
References is_keyframe.
Referenced by FileMOV::write_frames().
| void VFrame::overlay | ( | VFrame * | src, | |
| int | out_x1, | |||
| int | out_y1 | |||
| ) |
Definition at line 744 of file vframe.C.
References BC_RGBA8888, get_color_model(), and OVERLAY.

| void VFrame::to_texture | ( | ) |
Definition at line 71 of file vframe3d.C.
References BC_RGB888, BC_RGB_FLOAT, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV888, BC_YUVA8888, color_model, enable_opengl(), fprintf, get_color_model(), get_h(), get_rows(), get_w(), BC_Texture::new_texture(), opengl_state, pbuffer, SCREEN, screen_to_texture(), TEXTURE, and texture.
Referenced by Playback3D::do_camera_sync(), Playback3D::do_fade_sync(), Playback3D::do_mask_sync(), ZoomBlurMain::handle_opengl(), ThresholdMain::handle_opengl(), RGB601Main::handle_opengl(), RadialBlurMain::handle_opengl(), Overlay::handle_opengl(), LinearBlurMain::handle_opengl(), InvertVideoEffect::handle_opengl(), InterpolatePixelsMain::handle_opengl(), HueEffect::handle_opengl(), HistogramMain::handle_opengl(), GradientMain::handle_opengl(), GammaMain::handle_opengl(), FreezeFrameMain::handle_opengl(), FrameField::handle_opengl(), FlipMain::handle_opengl(), DissolveMain::handle_opengl(), DiffKey::handle_opengl(), ColorBalanceMain::handle_opengl(), ChromaKeyHSV::handle_opengl(), ChromaKey::handle_opengl(), BrightnessMain::handle_opengl(), ScaleMain::handle_opengl(), Playback3D::overlay_sync(), AffineUnit::process_package(), and Playback3D::write_buffer_sync().

| void VFrame::to_ram | ( | ) |
Definition at line 168 of file vframe3d.C.
References enable_opengl(), flip_vert(), get_h(), get_rows(), get_w(), opengl_state, pbuffer, RAM, and SCREEN.

| void VFrame::screen_to_texture | ( | int | x = -1, |
|
| int | y = -1, |
|||
| int | w = -1, |
|||
| int | h = -1 | |||
| ) |
Definition at line 236 of file vframe3d.C.
References get_color_model(), get_h(), get_w(), BC_Texture::new_texture(), pbuffer, and texture.
Referenced by Playback3D::copy_from_sync(), Playback3D::do_fade_sync(), Playback3D::do_mask_sync(), Playback3D::overlay_sync(), and to_texture().

| void VFrame::draw_texture | ( | float | in_x1, | |
| float | in_y1, | |||
| float | in_x2, | |||
| float | in_y2, | |||
| float | out_x1, | |||
| float | out_y1, | |||
| float | out_x2, | |||
| float | out_y2, | |||
| int | flip_y = 0 | |||
| ) |
Definition at line 269 of file vframe3d.C.
References get_texture_h(), and get_texture_w().
Referenced by Playback3D::do_camera_sync(), Playback3D::do_fade_sync(), Playback3D::do_mask_sync(), Playback3D::draw_output(), draw_texture(), ZoomBlurMain::handle_opengl(), ThresholdMain::handle_opengl(), RGB601Main::handle_opengl(), RadialBlurMain::handle_opengl(), Overlay::handle_opengl(), LinearBlurMain::handle_opengl(), InvertVideoEffect::handle_opengl(), InterpolatePixelsMain::handle_opengl(), HueEffect::handle_opengl(), HistogramMain::handle_opengl(), GradientMain::handle_opengl(), GammaMain::handle_opengl(), FreezeFrameMain::handle_opengl(), FrameField::handle_opengl(), FlipMain::handle_opengl(), DissolveMain::handle_opengl(), DiffKey::handle_opengl(), ColorBalanceMain::handle_opengl(), ChromaKeyHSV::handle_opengl(), ChromaKey::handle_opengl(), BrightnessMain::handle_opengl(), ScaleMain::handle_opengl(), Playback3D::overlay_sync(), and AffineUnit::process_package().

| void VFrame::draw_texture | ( | int | flip_y = 0 |
) |
Definition at line 301 of file vframe3d.C.
References draw_texture(), get_h(), and get_w().

| int VFrame::get_opengl_state | ( | ) |
Definition at line 25 of file vframe3d.C.
References opengl_state.
Referenced by VDeviceX11::close_all(), Playback3D::copy_from_sync(), Playback3D::do_fade_sync(), Playback3D::do_mask_sync(), Overlay::handle_opengl(), Playback3D::overlay_sync(), and Playback3D::write_buffer_sync().
| void VFrame::set_opengl_state | ( | int | value | ) |
Definition at line 30 of file vframe3d.C.
References opengl_state.
Referenced by Playback3D::clear_input_sync(), Playback3D::copy_from_sync(), Playback3D::do_camera_sync(), Playback3D::do_fade_sync(), Playback3D::do_mask_sync(), ZoomBlurMain::handle_opengl(), ThresholdMain::handle_opengl(), RGB601Main::handle_opengl(), RadialBlurMain::handle_opengl(), Overlay::handle_opengl(), LinearBlurMain::handle_opengl(), InvertVideoEffect::handle_opengl(), InterpolatePixelsMain::handle_opengl(), HueEffect::handle_opengl(), HistogramMain::handle_opengl(), GradientMain::handle_opengl(), GammaMain::handle_opengl(), FreezeFrameMain::handle_opengl(), FrameField::handle_opengl(), FlipMain::handle_opengl(), DissolveMain::handle_opengl(), DiffKey::handle_opengl(), ColorBalanceMain::handle_opengl(), ChromaKeyHSV::handle_opengl(), ChromaKey::handle_opengl(), BrightnessMain::handle_opengl(), ScaleMain::handle_opengl(), VModule::import_frame(), VDeviceX11::new_output_buffer(), Playback3D::overlay_sync(), LiveVideo::process_buffer(), VirtualVConsole::process_buffer(), AffineUnit::process_package(), and VAttachmentPoint::render().
| int VFrame::get_texture_id | ( | ) |
Definition at line 40 of file vframe3d.C.
References texture, and BC_Texture::texture_id.
Referenced by Playback3D::draw_output().
| void VFrame::set_texture_id | ( | int | id | ) |
| int VFrame::get_window_id | ( | ) |
| int VFrame::get_texture_w | ( | ) |
Definition at line 45 of file vframe3d.C.
References texture, and BC_Texture::texture_w.
Referenced by draw_texture(), Overlay::handle_opengl(), GradientMain::handle_opengl(), and AffineUnit::process_package().
| int VFrame::get_texture_h | ( | ) |
Definition at line 50 of file vframe3d.C.
References texture, and BC_Texture::texture_h.
Referenced by draw_texture(), Overlay::handle_opengl(), GradientMain::handle_opengl(), and AffineUnit::process_package().
| int VFrame::get_texture_components | ( | ) |
Definition at line 56 of file vframe3d.C.
References texture, and BC_Texture::texture_components.
Referenced by Playback3D::overlay_sync().
| void VFrame::enable_opengl | ( | ) |
Definition at line 221 of file vframe3d.C.
References create_pbuffer(), BC_PBuffer::enable_opengl(), and pbuffer.
Referenced by Playback3D::clear_input_sync(), Playback3D::clear_output_sync(), Playback3D::copy_from_sync(), Playback3D::do_camera_sync(), Playback3D::do_fade_sync(), Playback3D::do_mask_sync(), ZoomBlurMain::handle_opengl(), ThresholdMain::handle_opengl(), RGB601Main::handle_opengl(), RadialBlurMain::handle_opengl(), Overlay::handle_opengl(), LinearBlurMain::handle_opengl(), InvertVideoEffect::handle_opengl(), InterpolatePixelsMain::handle_opengl(), HueEffect::handle_opengl(), HistogramMain::handle_opengl(), GradientMain::handle_opengl(), GammaMain::handle_opengl(), FreezeFrameMain::handle_opengl(), FrameField::handle_opengl(), FlipMain::handle_opengl(), DissolveMain::handle_opengl(), DiffKey::handle_opengl(), ColorBalanceMain::handle_opengl(), ChromaKeyHSV::handle_opengl(), ChromaKey::handle_opengl(), BrightnessMain::handle_opengl(), ScaleMain::handle_opengl(), Playback3D::overlay_sync(), AffineUnit::process_package(), to_ram(), and to_texture().

| void VFrame::clear_pbuffer | ( | ) |
Definition at line 544 of file vframe3d.C.
References cmodel_is_yuv(), and get_color_model().
Referenced by Playback3D::clear_input_sync(), Playback3D::do_camera_sync(), DiffKey::handle_opengl(), ChromaKeyHSV::handle_opengl(), ChromaKey::handle_opengl(), ScaleMain::handle_opengl(), and AffineUnit::process_package().

| BC_PBuffer * VFrame::get_pbuffer | ( | ) |
| void VFrame::bind_texture | ( | int | texture_unit = -1 |
) |
Definition at line 315 of file vframe3d.C.
References BC_Texture::bind(), and texture.
Referenced by Playback3D::do_camera_sync(), Playback3D::do_fade_sync(), Playback3D::do_mask_sync(), Playback3D::draw_output(), ZoomBlurMain::handle_opengl(), ThresholdMain::handle_opengl(), RGB601Main::handle_opengl(), RadialBlurMain::handle_opengl(), Overlay::handle_opengl(), LinearBlurMain::handle_opengl(), InvertVideoEffect::handle_opengl(), InterpolatePixelsMain::handle_opengl(), HueEffect::handle_opengl(), HistogramMain::handle_opengl(), GradientMain::handle_opengl(), GammaMain::handle_opengl(), FreezeFrameMain::handle_opengl(), FrameField::handle_opengl(), FlipMain::handle_opengl(), DissolveMain::handle_opengl(), DiffKey::handle_opengl(), ColorBalanceMain::handle_opengl(), ChromaKeyHSV::handle_opengl(), ChromaKey::handle_opengl(), BrightnessMain::handle_opengl(), ScaleMain::handle_opengl(), Playback3D::overlay_sync(), and AffineUnit::process_package().

| void VFrame::init_screen | ( | int | w, | |
| int | h | |||
| ) | [static] |
Definition at line 329 of file vframe3d.C.
References zero.
Referenced by Playback3D::do_camera_sync(), Playback3D::do_fade_sync(), Playback3D::do_mask_sync(), ZoomBlurMain::handle_opengl(), ThresholdMain::handle_opengl(), RadialBlurMain::handle_opengl(), Overlay::handle_opengl(), LinearBlurMain::handle_opengl(), InterpolatePixelsMain::handle_opengl(), HueEffect::handle_opengl(), HistogramMain::handle_opengl(), GradientMain::handle_opengl(), GammaMain::handle_opengl(), FreezeFrameMain::handle_opengl(), FlipMain::handle_opengl(), DiffKey::handle_opengl(), ColorBalanceMain::handle_opengl(), ChromaKeyHSV::handle_opengl(), ChromaKey::handle_opengl(), BrightnessMain::handle_opengl(), ScaleMain::handle_opengl(), and AffineUnit::process_package().
| void VFrame::init_screen | ( | ) |
Definition at line 386 of file vframe3d.C.
References get_h(), and get_w().
Referenced by Playback3D::draw_output(), RGB601Main::handle_opengl(), InvertVideoEffect::handle_opengl(), FrameField::handle_opengl(), DissolveMain::handle_opengl(), and Playback3D::overlay_sync().

| unsigned int VFrame::make_shader | ( | int | x, | |
| ... | ||||
| ) | [static] |
Definition at line 410 of file vframe3d.C.
References BCTEXTLEN, error(), BC_Synchronous::get_shader(), BC_WindowBase::get_synchronous(), memcpy, NULL, print_error(), BC_Synchronous::put_shader(), and SET_TRACE.
Referenced by Playback3D::do_fade_sync(), Playback3D::do_mask_sync(), Playback3D::draw_output(), ThresholdMain::handle_opengl(), RGB601Main::handle_opengl(), Overlay::handle_opengl(), InvertVideoEffect::handle_opengl(), InterpolatePixelsMain::handle_opengl(), HueEffect::handle_opengl(), HistogramMain::handle_opengl(), GradientMain::handle_opengl(), GammaMain::handle_opengl(), FrameField::handle_opengl(), DiffKey::handle_opengl(), ColorBalanceMain::handle_opengl(), ChromaKeyHSV::handle_opengl(), ChromaKey::handle_opengl(), BrightnessMain::handle_opengl(), Playback3D::overlay_sync(), and AffineUnit::process_package().

| void VFrame::dump_shader | ( | int | shader_id | ) | [static] |
Definition at line 538 of file vframe3d.C.
References BC_Synchronous::dump_shader(), and BC_WindowBase::get_synchronous().

| void VFrame::push_prev_effect | ( | char * | name | ) |
Definition at line 842 of file vframe.C.
References ArrayList< TYPE >::append(), MAX_STACK_ELEMENTS, prev_effects, ArrayList< TYPE >::remove_object(), and ArrayList< TYPE >::total.
Referenced by VirtualVNode::render_as_module().

| void VFrame::pop_prev_effect | ( | ) |
Definition at line 850 of file vframe.C.
References ArrayList< TYPE >::last(), prev_effects, ArrayList< TYPE >::remove_object(), and ArrayList< TYPE >::total.

| void VFrame::push_next_effect | ( | char * | name | ) |
Definition at line 856 of file vframe.C.
References ArrayList< TYPE >::append(), MAX_STACK_ELEMENTS, next_effects, ArrayList< TYPE >::remove_object(), and ArrayList< TYPE >::total.
Referenced by PluginServer::read_frame(), and VirtualVNode::render_as_module().

| void VFrame::pop_next_effect | ( | ) |
Definition at line 864 of file vframe.C.
References ArrayList< TYPE >::last(), next_effects, ArrayList< TYPE >::remove_object(), and ArrayList< TYPE >::total.
Referenced by PluginServer::read_frame(), and VirtualVNode::render_as_module().

| char * VFrame::get_next_effect | ( | int | number = 0 |
) |
Definition at line 870 of file vframe.C.
References next_effects, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
| char * VFrame::get_prev_effect | ( | int | number = 0 |
) |
Definition at line 879 of file vframe.C.
References prev_effects, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
| BC_Hash * VFrame::get_params | ( | ) |
Definition at line 888 of file vframe.C.
References params.
Referenced by FrameField::handle_opengl(), InterpolatePixelsEngine::init_packages(), RGB601Main::process_buffer(), InterpolatePixelsMain::process_buffer(), and FileCR2::read_frame().
| int VFrame::equal_stacks | ( | VFrame * | src | ) |
Definition at line 926 of file vframe.C.
References BC_Hash::equivalent(), next_effects, params, prev_effects, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by equivalent(), and FileThread::read_frame().

| void VFrame::copy_stacks | ( | VFrame * | src | ) |
Definition at line 906 of file vframe.C.
References ArrayList< TYPE >::append(), clear_stacks(), BC_Hash::copy_from(), next_effects, params, prev_effects, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by FrameCache::get_frame(), VModule::import_frame(), File::read_frame(), and VFrame().

| void VFrame::copy_params | ( | VFrame * | src | ) |
Definition at line 901 of file vframe.C.
References BC_Hash::copy_from(), and params.
Referenced by FileThread::read_frame().

| void VFrame::clear_stacks | ( | ) |
Definition at line 893 of file vframe.C.
References next_effects, params, prev_effects, and ArrayList< TYPE >::remove_all_objects().
Referenced by copy_stacks(), and VirtualVConsole::process_buffer().

| void VFrame::dump_stacks | ( | ) |
Definition at line 940 of file vframe.C.
References next_effects, prev_effects, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by ColorBalanceMain::process_buffer().
| void VFrame::dump_params | ( | ) |
Definition at line 951 of file vframe.C.
References BC_Hash::dump(), and params.

| void VFrame::create_pbuffer | ( | ) | [private] |
Definition at line 195 of file vframe3d.C.
References BC_Synchronous::current_window, get_h(), BC_WindowBase::get_id(), BC_WindowBase::get_synchronous(), get_w(), pbuffer, SET_TRACE, and BC_PBuffer::window_id.
Referenced by enable_opengl().

| int VFrame::clear_objects | ( | int | do_opengl | ) | [private] |
Definition at line 181 of file vframe.C.
References BC_COMPRESSED, BC_YUV420P, color_model, data, pbuffer, rows, shared, texture, and UNBUFFER.
Referenced by reallocate(), rotate270(), rotate90(), set_compressed_memory(), and ~VFrame().
| int VFrame::reset_parameters | ( | int | do_opengl | ) | [private] |
Definition at line 148 of file vframe.C.
References bytes_per_line, color_model, compressed_allocated, compressed_size, data, field2_offset, h, is_keyframe, next_effects, opengl_state, pbuffer, prev_effects, RAM, rows, sequence_number, ArrayList< TYPE >::set_array_delete(), shared, shm_offset, texture, u, u_offset, v, v_offset, w, y, and y_offset.
Referenced by reallocate(), and VFrame().

| void VFrame::create_row_pointers | ( | ) | [private] |
Definition at line 265 of file vframe.C.
References BC_YUV411P, BC_YUV420P, BC_YUV422P, bytes_per_line, color_model, data, h, rows, u, u_offset, v, v_offset, w, y, and y_offset.
Referenced by allocate_data(), and set_memory().
| int VFrame::allocate_data | ( | unsigned char * | data, | |
| long | y_offset, | |||
| long | u_offset, | |||
| long | v_offset, | |||
| int | w, | |||
| int | h, | |||
| int | color_model, | |||
| long | bytes_per_line | |||
| ) | [private] |
Definition at line 304 of file vframe.C.
References bytes_per_pixel, calculate_bytes_per_pixel(), calculate_data_size(), create_row_pointers(), and shared.
Referenced by reallocate(), and VFrame().

friend class PngReadFunction [friend] |
int VFrame::field2_offset [private] |
Definition at line 311 of file vframe.h.
Referenced by get_field2_offset(), reset_parameters(), and set_field2_offset().
int VFrame::shared [private] |
Definition at line 313 of file vframe.h.
Referenced by allocate_data(), clear_objects(), get_shared(), reset_parameters(), set_compressed_memory(), and set_memory().
long VFrame::shm_offset [private] |
Definition at line 314 of file vframe.h.
Referenced by get_shm_offset(), reset_parameters(), and set_shm_offset().
long VFrame::bytes_per_line [private] |
Definition at line 316 of file vframe.h.
Referenced by clear_frame(), create_row_pointers(), equivalent(), flip_vert(), get_bytes_per_line(), get_data_size(), reset_parameters(), rotate270(), rotate90(), and VFrame().
int VFrame::bytes_per_pixel [private] |
Definition at line 317 of file vframe.h.
Referenced by allocate_data(), get_bytes_per_pixel(), rotate270(), and rotate90().
unsigned char* VFrame::data [private] |
Definition at line 319 of file vframe.h.
Referenced by allocate_compressed_data(), clear_frame(), clear_objects(), copy_from(), create_row_pointers(), equals(), get_data(), reset_parameters(), rotate270(), rotate90(), and VFrame().
unsigned char** VFrame::rows [private] |
Definition at line 321 of file vframe.h.
Referenced by clear_objects(), create_row_pointers(), flip_vert(), get_rows(), FileGIF::read_raw(), reset_parameters(), rotate270(), and rotate90().
int VFrame::color_model [private] |
Definition at line 323 of file vframe.h.
Referenced by clear_frame(), clear_objects(), copy_from(), create_row_pointers(), get_color_model(), get_data_size(), reset_parameters(), rotate270(), rotate90(), to_texture(), and VFrame().
long VFrame::compressed_allocated [private] |
Definition at line 325 of file vframe.h.
Referenced by allocate_compressed_data(), get_compressed_allocated(), reset_parameters(), and set_compressed_memory().
long VFrame::compressed_size [private] |
Definition at line 327 of file vframe.h.
Referenced by allocate_compressed_data(), copy_from(), get_compressed_size(), reset_parameters(), set_compressed_memory(), and set_compressed_size().
unsigned char* VFrame::y [private] |
Definition at line 329 of file vframe.h.
Referenced by create_row_pointers(), get_y(), reset_parameters(), and set_memory().
unsigned char * VFrame::u [private] |
Definition at line 329 of file vframe.h.
Referenced by create_row_pointers(), get_u(), reset_parameters(), and set_memory().
unsigned char * VFrame::v [private] |
Definition at line 329 of file vframe.h.
Referenced by create_row_pointers(), get_v(), reset_parameters(), and set_memory().
long VFrame::y_offset [private] |
Definition at line 330 of file vframe.h.
Referenced by create_row_pointers(), and reset_parameters().
long VFrame::u_offset [private] |
Definition at line 331 of file vframe.h.
Referenced by create_row_pointers(), and reset_parameters().
long VFrame::v_offset [private] |
Definition at line 332 of file vframe.h.
Referenced by create_row_pointers(), and reset_parameters().
int VFrame::w [private] |
Definition at line 334 of file vframe.h.
Referenced by clear_frame(), copy_from(), create_row_pointers(), get_data_size(), get_w(), get_w_fixed(), read_png(), reset_parameters(), rotate270(), rotate90(), and VFrame().
int VFrame::h [private] |
Definition at line 334 of file vframe.h.
Referenced by clear_frame(), copy_from(), create_row_pointers(), flip_vert(), get_data_size(), get_h(), get_h_fixed(), read_png(), reset_parameters(), rotate270(), rotate90(), and VFrame().
unsigned char* VFrame::image [private] |
long VFrame::image_offset [private] |
Definition at line 337 of file vframe.h.
Referenced by PngReadFunction::png_read_function(), and read_png().
long VFrame::image_size [private] |
Definition at line 338 of file vframe.h.
Referenced by PngReadFunction::png_read_function(), and read_png().
long VFrame::sequence_number [private] |
Definition at line 340 of file vframe.h.
Referenced by get_number(), reset_parameters(), and set_number().
int VFrame::is_keyframe [private] |
Definition at line 343 of file vframe.h.
Referenced by get_keyframe(), reset_parameters(), and set_keyframe().
BC_Texture* VFrame::texture [private] |
Definition at line 345 of file vframe.h.
Referenced by bind_texture(), clear_objects(), get_texture_components(), get_texture_h(), get_texture_id(), get_texture_w(), get_window_id(), reset_parameters(), screen_to_texture(), and to_texture().
BC_PBuffer* VFrame::pbuffer [private] |
Definition at line 347 of file vframe.h.
Referenced by clear_objects(), create_pbuffer(), enable_opengl(), get_pbuffer(), reset_parameters(), screen_to_texture(), to_ram(), and to_texture().
int VFrame::opengl_state [private] |
Definition at line 350 of file vframe.h.
Referenced by get_opengl_state(), reset_parameters(), set_opengl_state(), to_ram(), and to_texture().
ArrayList<char*> VFrame::prev_effects [private] |
Definition at line 352 of file vframe.h.
Referenced by clear_stacks(), copy_stacks(), dump_stacks(), equal_stacks(), get_prev_effect(), pop_prev_effect(), push_prev_effect(), reset_parameters(), and ~VFrame().
ArrayList<char*> VFrame::next_effects [private] |
Definition at line 353 of file vframe.h.
Referenced by clear_stacks(), copy_stacks(), dump_stacks(), equal_stacks(), get_next_effect(), pop_next_effect(), push_next_effect(), reset_parameters(), and ~VFrame().
BC_Hash* VFrame::params [private] |
Definition at line 354 of file vframe.h.
Referenced by clear_stacks(), copy_params(), copy_stacks(), dump_params(), equal_stacks(), get_params(), VFrame(), and ~VFrame().
1.5.5