![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <cstdint>#include "types.h"

Go to the source code of this file.
Classes | |
| struct | testcard_pixmap |
| struct | testcard_rect |
Macros | |
| #define | COL_NUM 6 |
Functions | |
| void | testcard_convert_buffer (codec_t in_c, codec_t out_c, unsigned char *out, const unsigned char *in, int width, int height) |
| void | testcard_fillRect (struct testcard_pixmap *s, struct testcard_rect *r, uint32_t color) |
| bool | testcard_has_conversion (codec_t c) |
| void | testcard_show_codec_help (const char *name, bool src_8b_only) |
Variables | |
| const uint32_t | rect_colors [COL_NUM] |
Definition in file testcard_common.h.
| #define COL_NUM 6 |
Definition at line 50 of file testcard_common.h.
Referenced by image_pattern_strips::image_pattern_strips(), image_pattern_bars::fill(), and vidcap_testcard2_init().
| void testcard_convert_buffer | ( | codec_t | in_c, |
| codec_t | out_c, | ||
| unsigned char * | out, | ||
| const unsigned char * | in, | ||
| int | width, | ||
| int | height ) |
Definition at line 115 of file testcard_common.c.
References DEFAULT_B_SHIFT, DEFAULT_G_SHIFT, DEFAULT_R_SHIFT, get_decoder_from_to(), I420, RGBA, toI420(), UYVY, v210, vc_get_linesize(), vc_get_size(), and YUYV.
Referenced by interlaced_video_pattern_generator::interlaced_video_pattern_generator(), still_image_video_pattern_generator::still_image_video_pattern_generator(), codec_conversion_test_testcard_uyvy_to_i420(), vidcap_testcard2_init(), and vidcap_testcard2_thread().

| void testcard_fillRect | ( | struct testcard_pixmap * | s, |
| struct testcard_rect * | r, | ||
| uint32_t | color ) |
Definition at line 58 of file testcard_common.c.
References testcard_pixmap::data, testcard_rect::h, testcard_pixmap::w, testcard_rect::w, testcard_rect::x, and testcard_rect::y.
Referenced by image_pattern_bars::fill(), image_pattern_ebu_smpte_bars< f, columns >::fill(), image_pattern_smpte_bars::fill(), and vidcap_testcard2_init().
| bool testcard_has_conversion | ( | codec_t | c | ) |
Definition at line 179 of file testcard_common.c.
References get_decoder_from_to(), RG48, RGBA, and testcard_conv_handled_internally().
Referenced by parse_format().

| void testcard_show_codec_help | ( | const char * | name, |
| bool | src_8b_only ) |
Definition at line 149 of file testcard_common.c.
References color_printf(), get_bits_per_component(), get_codec_name(), get_codec_name_long(), get_decoder_from_to(), I420, is_codec_opaque(), name, RG48, RGBA, TERM_BOLD, TERM_FG_RED, TERM_RESET, testcard_conv_handled_internally(), v210, VIDEO_CODEC_COUNT, VIDEO_CODEC_FIRST, and VIDEO_CODEC_NONE.
Referenced by show_help(), and vidcap_testcard2_init().

|
extern |
Definition at line 49 of file testcard_common.c.
Referenced by image_pattern_strips::image_pattern_strips(), image_pattern_bars::fill(), and vidcap_testcard2_init().