Searched refs:color_string (Results 1 - 6 of 6) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavutil/
H A Dparseutils.h56 * Put the RGBA values that correspond to color_string in rgba_color.
58 * @param color_string a string specifying a color. It can be the name of
68 * @param slen length of the initial part of color_string containing the
69 * color. It can be set to -1 if color_string is a null terminated string
72 * failure (for example if color_string cannot be parsed).
74 int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen,
H A Dparseutils.c301 int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen, argument
308 if (color_string[0] == '#') {
310 } else if (!strncmp(color_string, "0x", 2))
314 slen = strlen(color_string);
315 av_strlcpy(color_string2, color_string + hex_offset,
368 alpha_string, color_string);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavutil/
H A Dparseutils.h80 * Put the RGBA values that correspond to color_string in rgba_color.
82 * @param color_string a string specifying a color. It can be the name of
92 * @param slen length of the initial part of color_string containing the
93 * color. It can be set to -1 if color_string is a null terminated string
96 * failure (for example if color_string cannot be parsed).
98 int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen,
H A Dparseutils.c343 int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen, argument
350 if (color_string[0] == '#') {
352 } else if (!strncmp(color_string, "0x", 2))
356 slen = strlen(color_string);
357 av_strlcpy(color_string2, color_string + hex_offset,
414 alpha_string, color_string);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavfilter/
H A Dvsrc_color.c47 char color_string[128] = "black"; local
54 sscanf(args, "%127[^:]:%127[^:]:%127s", color_string, frame_size, frame_rate);
69 if ((ret = av_parse_color(color->color, color_string, -1, ctx)) < 0)
H A Dvf_pad.c111 char color_string[128] = "black"; local
120 pad->w_expr, pad->h_expr, pad->x_expr, pad->y_expr, color_string);
122 if (av_parse_color(pad->color, color_string, -1, ctx) < 0)

Completed in 170 milliseconds