![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include "debug.h"#include "host.h"#include "video_decompress.h"#include "dxt_compress/dxt_decoder.h"#include "dxt_compress/dxt_util.h"#include "video.h"#include <pthread.h>#include <stdlib.h>#include "lib_common.h"#include "gl_context.h"
Go to the source code of this file.
Classes | |
| struct | state_decompress_rtdxt |
Functions | |
| static int | configure_with (struct state_decompress_rtdxt *decompressor, struct video_desc desc) |
| static decompress_status | dxt_glsl_decompress (void *state, unsigned char *dst, unsigned char *buffer, unsigned int src_len, int frame_seq, struct video_frame_callbacks *callbacks, struct pixfmt_desc *internal_prop) |
| static void | dxt_glsl_decompress_done (void *state) |
| static int | dxt_glsl_decompress_get_priority (codec_t compression, struct pixfmt_desc internal, codec_t ugc) |
| static int | dxt_glsl_decompress_get_property (void *state, int property, void *val, size_t *len) |
| static void * | dxt_glsl_decompress_init (void) |
| static int | dxt_glsl_decompress_reconfigure (void *state, struct video_desc desc, int rshift, int gshift, int bshift, int pitch, codec_t out_codec) |
| REGISTER_MODULE (dxt_glsl, &dxt_glsl_info, LIBRARY_CLASS_VIDEO_DECOMPRESS, VIDEO_DECOMPRESS_ABI_VERSION) | |
Variables | |
| static const struct video_decompress_info | dxt_glsl_info |
Definition in file dxt_glsl.c.
|
static |
Definition at line 70 of file dxt_glsl.c.
References video_desc::color_spec, state_decompress_rtdxt::compressed_len, state_decompress_rtdxt::configured, state_decompress_rtdxt::context, state_decompress_rtdxt::decoder, desc, state_decompress_rtdxt::desc, DXT1, DXT1_YUV, DXT5, dxt_decoder_create(), DXT_FORMAT_RGBA, DXT_FORMAT_YUV422, dxt_get_size(), DXT_TYPE_DXT1, DXT_TYPE_DXT1_YUV, DXT_TYPE_DXT5_YCOCG, exit_uv(), FALSE, GL_CONTEXT_ANY, video_desc::height, init_gl_context(), gl_context::legacy, state_decompress_rtdxt::out_codec, RGBA, TRUE, type, and video_desc::width.
Referenced by dxt_glsl_decompress_reconfigure().

|
static |
Definition at line 145 of file dxt_glsl.c.
References state_decompress_rtdxt::bshift, state_decompress_rtdxt::configured, state_decompress_rtdxt::context, state_decompress_rtdxt::decoder, DECODER_GOT_FRAME, DECODER_NO_FRAME, state_decompress_rtdxt::desc, dxt_decoder_decompress(), gl_context_make_current(), state_decompress_rtdxt::gshift, video_desc::height, state_decompress_rtdxt::out_codec, state_decompress_rtdxt::pitch, RGBA, state_decompress_rtdxt::rshift, state, UNUSED, UYVY, vc_copylineRGBA, vc_get_linesize(), and video_desc::width.

|
static |
Definition at line 218 of file dxt_glsl.c.
References state_decompress_rtdxt::configured, state_decompress_rtdxt::context, state_decompress_rtdxt::decoder, destroy_gl_context(), dxt_decoder_destroy(), gl_context_make_current(), and state.

|
static |
Definition at line 231 of file dxt_glsl.c.
|
static |
Definition at line 197 of file dxt_glsl.c.
References DECOMPRESS_PROPERTY_ACCEPTS_CORRUPTED_FRAME, FALSE, len, property, state, TRUE, UNUSED, and val.
|
static |
Definition at line 110 of file dxt_glsl.c.
References state_decompress_rtdxt::configured, and FALSE.
|
static |
Definition at line 120 of file dxt_glsl.c.
References state_decompress_rtdxt::bshift, configure_with(), state_decompress_rtdxt::configured, state_decompress_rtdxt::context, state_decompress_rtdxt::decoder, desc, destroy_gl_context(), dxt_decoder_destroy(), gl_context_make_current(), state_decompress_rtdxt::gshift, state_decompress_rtdxt::out_codec, state_decompress_rtdxt::pitch, state_decompress_rtdxt::rshift, state, and TRUE.

| REGISTER_MODULE | ( | dxt_glsl | , |
| & | dxt_glsl_info, | ||
| LIBRARY_CLASS_VIDEO_DECOMPRESS | , | ||
| VIDEO_DECOMPRESS_ABI_VERSION | ) |
|
static |
Definition at line 242 of file dxt_glsl.c.