color 740 libavcodec/4xm.c unsigned int color[4] = { 0 }, bits; color 744 libavcodec/4xm.c color[0] = bytestream2_get_le16u(&g3); color 745 libavcodec/4xm.c color[1] = bytestream2_get_le16u(&g3); color 747 libavcodec/4xm.c if (color[0] & 0x8000) color 749 libavcodec/4xm.c if (color[1] & 0x8000) color 752 libavcodec/4xm.c color[2] = mix(color[0], color[1]); color 753 libavcodec/4xm.c color[3] = mix(color[1], color[0]); color 759 libavcodec/4xm.c dst[y2 * width + x2] = color[(bits >> index) & 3]; color 41 libavcodec/arbc.c static int fill_tile4(AVCodecContext *avctx, int color, AVFrame *frame) color 66 libavcodec/arbc.c AV_WB24(&frame->data[0][frame->linesize[0] * (h - j) + 3 * k], color); color 77 libavcodec/arbc.c int color, AVFrame *frame) color 107 libavcodec/arbc.c AV_WB24(&frame->data[0][frame->linesize[0] * (h - (j + m)) + 3 * (k + n)], color); color 85 libavcodec/ass.c int color, int back_color, color 91 libavcodec/ass.c font, font_size, color, color, color 95 libavcodec/ass.h int color, int back_color, color 516 libavcodec/ass_split.c unsigned int color = 0xFFFFFFFF; color 525 libavcodec/ass_split.c sscanf(buf, "\\c&H%X&%1[\\}]%n", &color, sep, &len) > 1 || color 527 libavcodec/ass_split.c sscanf(buf, "\\%1[1234]c&H%X&%1[\\}]%n", c_num, &color, sep, &len) > 2) { color 528 libavcodec/ass_split.c if (callbacks->color) color 529 libavcodec/ass_split.c callbacks->color(priv, color, c_num[0] - '0'); color 162 libavcodec/ass_split.h void (*color)(void *priv, unsigned int /* color */, unsigned int color_id); color 61 libavcodec/av1_parser.c AV1RawColorConfig *color; color 96 libavcodec/av1_parser.c color = &seq->color_config; color 154 libavcodec/av1_parser.c ctx->format = color->mono_chrome ? AV_PIX_FMT_GRAY8 color 155 libavcodec/av1_parser.c : pix_fmts_8bit [color->subsampling_x][color->subsampling_y]; color 158 libavcodec/av1_parser.c ctx->format = color->mono_chrome ? AV_PIX_FMT_GRAY10 color 159 libavcodec/av1_parser.c : pix_fmts_10bit[color->subsampling_x][color->subsampling_y]; color 162 libavcodec/av1_parser.c ctx->format = color->mono_chrome ? AV_PIX_FMT_GRAY12 color 163 libavcodec/av1_parser.c : pix_fmts_12bit[color->subsampling_x][color->subsampling_y]; color 168 libavcodec/av1_parser.c if (!color->subsampling_x && !color->subsampling_y && color 169 libavcodec/av1_parser.c color->matrix_coefficients == AVCOL_SPC_RGB && color 170 libavcodec/av1_parser.c color->color_primaries == AVCOL_PRI_BT709 && color 171 libavcodec/av1_parser.c color->transfer_characteristics == AVCOL_TRC_IEC61966_2_1) color 172 libavcodec/av1_parser.c ctx->format = pix_fmts_rgb[color->high_bitdepth + color->twelve_bit]; color 179 libavcodec/av1_parser.c avctx->colorspace = (enum AVColorSpace) color->matrix_coefficients; color 180 libavcodec/av1_parser.c avctx->color_primaries = (enum AVColorPrimaries) color->color_primaries; color 181 libavcodec/av1_parser.c avctx->color_trc = (enum AVColorTransferCharacteristic) color->transfer_characteristics; color 182 libavcodec/av1_parser.c avctx->color_range = color->color_range ? AVCOL_RANGE_JPEG : AVCOL_RANGE_MPEG; color 3760 libavcodec/avcodec.h int padtop, int padbottom, int padleft, int padright, int *color); color 93 libavcodec/cdgraphics.c int color = data[0] & 0x0F; color 97 libavcodec/cdgraphics.c memset(buf, color, CDG_BORDER_HEIGHT * lsize); color 99 libavcodec/cdgraphics.c color, CDG_BORDER_HEIGHT * lsize); color 103 libavcodec/cdgraphics.c memset(buf + y * lsize, color, CDG_BORDER_WIDTH); color 105 libavcodec/cdgraphics.c color, CDG_BORDER_WIDTH); color 113 libavcodec/cdgraphics.c uint16_t color; color 119 libavcodec/cdgraphics.c color = (data[2 * i] << 6) + (data[2 * i + 1] & 0x3F); color 120 libavcodec/cdgraphics.c r = ((color >> 8) & 0x000F) * 17; color 121 libavcodec/cdgraphics.c g = ((color >> 4) & 0x000F) * 17; color 122 libavcodec/cdgraphics.c b = ((color ) & 0x000F) * 17; color 133 libavcodec/cdgraphics.c int color; color 150 libavcodec/cdgraphics.c color = data[0] & 0x0F; color 152 libavcodec/cdgraphics.c color = data[1] & 0x0F; color 156 libavcodec/cdgraphics.c color ^= buf[ai]; color 157 libavcodec/cdgraphics.c buf[ai] = color; color 182 libavcodec/cdgraphics.c int color, int w, int h, int stride) color 187 libavcodec/cdgraphics.c memset(out + tl_x + y * stride, color, w); color 192 libavcodec/cdgraphics.c int color, int w, int h, int stride, int roll) color 198 libavcodec/cdgraphics.c cdg_fill_rect_preset(out_tl_x, out_tl_y, out, color, w, h, stride); color 205 libavcodec/cdgraphics.c int color; color 212 libavcodec/cdgraphics.c color = data[0] & 0x0F; color 246 libavcodec/cdgraphics.c 0, CDG_FULL_HEIGHT - vinc, in, color, color 250 libavcodec/cdgraphics.c 0, 0, in, color, color 255 libavcodec/cdgraphics.c CDG_FULL_WIDTH - hinc, 0, in, color, color 259 libavcodec/cdgraphics.c 0, 0, in, color, color 141 libavcodec/cdtoons.c uint8_t color = bytestream_get_byte(&data); color 143 libavcodec/cdtoons.c if (color) color 144 libavcodec/cdtoons.c memset(dest + x, color, size); color 47 libavcodec/dvbsub.c int x, y, len, x1, v, color; color 63 libavcodec/dvbsub.c color = bitmap[x1++]; color 64 libavcodec/dvbsub.c while (x1 < w && bitmap[x1] == color) color 67 libavcodec/dvbsub.c if (color == 0 && len == 2) { color 76 libavcodec/dvbsub.c PUTBITS2(color); color 84 libavcodec/dvbsub.c PUTBITS2(color); color 97 libavcodec/dvbsub.c PUTBITS2(color); color 99 libavcodec/dvbsub.c PUTBITS2(color); color 100 libavcodec/dvbsub.c if (color == 0) { color 142 libavcodec/dvbsub.c int x, y, len, x1, v, color; color 158 libavcodec/dvbsub.c color = bitmap[x1++]; color 159 libavcodec/dvbsub.c while (x1 < w && bitmap[x1] == color) color 162 libavcodec/dvbsub.c if (color == 0 && len == 2) { color 165 libavcodec/dvbsub.c } else if (color == 0 && (len >= 3 && len <= 9)) { color 171 libavcodec/dvbsub.c PUTBITS4(color); color 176 libavcodec/dvbsub.c PUTBITS4(color); color 185 libavcodec/dvbsub.c PUTBITS4(color); color 187 libavcodec/dvbsub.c PUTBITS4(color); color 188 libavcodec/dvbsub.c if (color == 0) { color 215 libavcodec/dvbsub.c int x, y, len, x1, color; color 229 libavcodec/dvbsub.c color = bitmap[x1++]; color 230 libavcodec/dvbsub.c while (x1 < w && bitmap[x1] == color) color 233 libavcodec/dvbsub.c if (len == 1 && color) { color 235 libavcodec/dvbsub.c *q++ = color; color 237 libavcodec/dvbsub.c if (color == 0x00) { color 247 libavcodec/dvbsub.c *q++ = color; color 250 libavcodec/dvbsub.c *q++ = color; color 251 libavcodec/dvbsub.c *q++ = color; color 253 libavcodec/dvbsub.c *q++ = color; color 67 libavcodec/dvdsubdec.c static int decode_run_2bit(GetBitContext *gb, int *color) color 74 libavcodec/dvdsubdec.c *color = v & 3; color 81 libavcodec/dvdsubdec.c static int decode_run_8bit(GetBitContext *gb, int *color) color 85 libavcodec/dvdsubdec.c *color = get_bits(gb, 2 + 6*get_bits1(gb)); color 105 libavcodec/dvdsubdec.c int x, y, len, color; color 124 libavcodec/dvdsubdec.c len = decode_run_8bit(&gb, &color); color 126 libavcodec/dvdsubdec.c len = decode_run_2bit(&gb, &color); color 130 libavcodec/dvdsubdec.c memset(d + x, color, len); color 131 libavcodec/dvdsubdec.c used_color[color] = 1; color 53 libavcodec/dvdsubenc.c int x, y, len, color; color 60 libavcodec/dvdsubenc.c color = bitmap[x]; color 62 libavcodec/dvdsubenc.c if (bitmap[x+len] != color) color 64 libavcodec/dvdsubenc.c color = cmap[color]; color 65 libavcodec/dvdsubenc.c av_assert0(color < 4); color 67 libavcodec/dvdsubenc.c PUTNIBBLE((len << 2)|color); color 70 libavcodec/dvdsubenc.c PUTNIBBLE((len << 2)|color); color 74 libavcodec/dvdsubenc.c PUTNIBBLE((len << 2)|color); color 79 libavcodec/dvdsubenc.c PUTNIBBLE(color); color 86 libavcodec/dvdsubenc.c PUTNIBBLE((len << 2)|color); color 123 libavcodec/dvdsubenc.c uint32_t color; color 135 libavcodec/dvdsubenc.c color = palette[i]; color 137 libavcodec/dvdsubenc.c match = color < 0x33000000 ? 0 : color < 0xCC000000 ? 1 : 17; color 141 libavcodec/dvdsubenc.c d = color_distance(0xFF000000 | color, color 159 libavcodec/dvdsubenc.c uint32_t color; color 171 libavcodec/dvdsubenc.c color = dvdc->global_palette[i]; color 173 libavcodec/dvdsubenc.c for (j = 0; j < 3; j++, color >>= 8) color 174 libavcodec/dvdsubenc.c bright += (color & 0xFF) < 0x40 || (color & 0xFF) >= 0xC0; color 151 libavcodec/error_resilience.c int color= 1024; color 158 libavcodec/error_resilience.c color= dc[b_x + b_y*stride]; color 161 libavcodec/error_resilience.c col [b_x + b_y*stride][1]= color; color 164 libavcodec/error_resilience.c color= 1024; color 171 libavcodec/error_resilience.c color= dc[b_x + b_y*stride]; color 174 libavcodec/error_resilience.c col [b_x + b_y*stride][0]= color; color 179 libavcodec/error_resilience.c int color= 1024; color 186 libavcodec/error_resilience.c color= dc[b_x + b_y*stride]; color 189 libavcodec/error_resilience.c col [b_x + b_y*stride][3]= color; color 192 libavcodec/error_resilience.c color= 1024; color 199 libavcodec/error_resilience.c color= dc[b_x + b_y*stride]; color 202 libavcodec/error_resilience.c col [b_x + b_y*stride][2]= color; color 430 libavcodec/flashsv2enc.c static int pixel_color7_slow(Palette * palette, unsigned color) color 436 libavcodec/flashsv2enc.c int diff = chroma_diff(c1, color); color 454 libavcodec/flashsv2enc.c unsigned color = pixel_bgr(src); color 455 libavcodec/flashsv2enc.c int d15 = chroma_diff(color, color & 0x00f8f8f8); color 457 libavcodec/flashsv2enc.c int d7 = chroma_diff(color, palette->colors[c7]); color 87 libavcodec/gifdec.c static void gif_fill(AVFrame *picture, uint32_t color) color 93 libavcodec/gifdec.c *p = color; color 96 libavcodec/gifdec.c static void gif_fill_rect(AVFrame *picture, uint32_t color, int l, int t, int w, int h) color 108 libavcodec/gifdec.c *px = color; color 93 libavcodec/htmlsubtitles.c uint32_t color; color 239 libavcodec/htmlsubtitles.c if (cur_tag->color & 0xff000000) { color 240 libavcodec/htmlsubtitles.c if (!(last_tag->color & 0xff000000)) color 242 libavcodec/htmlsubtitles.c else if (last_tag->color != cur_tag->color) color 243 libavcodec/htmlsubtitles.c av_bprintf(dst, "{\\c&H%"PRIX32"&}", last_tag->color & 0xffffff); color 263 libavcodec/htmlsubtitles.c int color; color 265 libavcodec/htmlsubtitles.c color = html_color_parse(log_ctx, param); color 266 libavcodec/htmlsubtitles.c if (color >= 0) { color 267 libavcodec/htmlsubtitles.c new_tag->color = 0xff000000 | color; color 268 libavcodec/htmlsubtitles.c av_bprintf(dst, "{\\c&H%"PRIX32"&}", new_tag->color & 0xffffff); color 140 libavcodec/imgconvert.c int *color) color 160 libavcodec/imgconvert.c memset(dst->data[0], color[0], color 169 libavcodec/imgconvert.c memset(optr, color[0], (padleft + padright) * max_step[0]); color 177 libavcodec/imgconvert.c memset(optr, color[0], dst->linesize[0] * padbottom + color 189 libavcodec/imgconvert.c memset(dst->data[i], color[i], color 198 libavcodec/imgconvert.c memset(optr, color[i], (padleft + padright) >> x_shift); color 213 libavcodec/imgconvert.c memset(optr, color[i], (padleft + padright) >> x_shift); color 224 libavcodec/imgconvert.c memset(optr, color[i],dst->linesize[i] * color 216 libavcodec/internal.h void ff_color_frame(AVFrame *frame, const int color[4]); color 327 libavcodec/microdvddec.c int color = ASS_DEFAULT_COLOR; color 353 libavcodec/microdvddec.c case 'c': color = tags[i].data1; break; color 365 libavcodec/microdvddec.c return ff_ass_subtitle_header(avctx, font_buf.str, font_size, color, color 98 libavcodec/mmvideo.c int run_length, color; color 103 libavcodec/mmvideo.c color = bytestream2_get_byte(&s->gb); color 104 libavcodec/mmvideo.c if (color & 0x80) { color 107 libavcodec/mmvideo.c run_length = (color & 0x7f) + 2; color 108 libavcodec/mmvideo.c color = bytestream2_get_byte(&s->gb); color 117 libavcodec/mmvideo.c if (color) { color 118 libavcodec/mmvideo.c memset(s->frame->data[0] + y*s->frame->linesize[0] + x, color, run_length); color 120 libavcodec/mmvideo.c memset(s->frame->data[0] + (y+1)*s->frame->linesize[0] + x, color, run_length); color 168 libavcodec/mmvideo.c int color = bytestream2_get_byte(&data_ptr); color 169 libavcodec/mmvideo.c s->frame->data[0][y*s->frame->linesize[0] + x] = color; color 171 libavcodec/mmvideo.c s->frame->data[0][y*s->frame->linesize[0] + x + 1] = color; color 173 libavcodec/mmvideo.c s->frame->data[0][(y+1)*s->frame->linesize[0] + x] = color; color 175 libavcodec/mmvideo.c s->frame->data[0][(y+1)*s->frame->linesize[0] + x + 1] = color; color 104 libavcodec/motionpixels.c int offset, w, h, color = 0, x, y, i; color 111 libavcodec/motionpixels.c color = get_bits(gb, 15); color 123 libavcodec/motionpixels.c pixels[i] = color; color 185 libavcodec/motionpixels.c int color; color 187 libavcodec/motionpixels.c color = *(uint16_t *)&mp->frame->data[0][y * mp->frame->linesize[0] + x * 2]; color 188 libavcodec/motionpixels.c return mp_rgb_yuv_table[color]; color 193 libavcodec/motionpixels.c int color; color 195 libavcodec/motionpixels.c color = mp_yuv_to_rgb(p->y, p->v, p->u, 1); color 196 libavcodec/motionpixels.c *(uint16_t *)&mp->frame->data[0][y * mp->frame->linesize[0] + x * 2] = color; color 58 libavcodec/movtextdec.c int color; color 80 libavcodec/movtextdec.c int color; color 215 libavcodec/movtextdec.c m->d.color = AV_RB24(tx3g_ptr); color 339 libavcodec/movtextdec.c m->s_temp->color = AV_RB24(tsmb); color 383 libavcodec/movtextdec.c int color = m->d.color; color 412 libavcodec/movtextdec.c if (m->d.color != m->s[entry]->color) { color 413 libavcodec/movtextdec.c color = m->s[entry]->color; color 414 libavcodec/movtextdec.c av_bprintf(buf, "{\\1c&H%X&}", RGB_TO_BGR(color)); color 423 libavcodec/movtextdec.c color = m->d.color; color 445 libavcodec/movtextdec.c av_bprintf(buf, "{\\2c&H%X&}", RGB_TO_BGR(m->d.color)); color 448 libavcodec/movtextdec.c RGB_TO_BGR(color), RGB_TO_BGR(m->d.color)); color 495 libavcodec/movtextdec.c (255U - m->d.alpha) << 24 | RGB_TO_BGR(m->d.color), color 496 libavcodec/movtextdec.c (255U - m->d.alpha) << 24 | RGB_TO_BGR(m->d.color), color 67 libavcodec/movtextenc.c uint32_t color; color 163 libavcodec/movtextenc.c uint32_t tsmb_size, color; color 167 libavcodec/movtextenc.c color = AV_RB32(&s->hclr.color); color 170 libavcodec/movtextenc.c av_bprint_append_any(&s->buffer, &color, 4); color 462 libavcodec/movtextenc.c static void mov_text_color_set(MovTextContext *s, uint32_t color) color 465 libavcodec/movtextenc.c (s->style_attributes_temp->style_color & 0xffffff00) == color) { color 470 libavcodec/movtextenc.c s->style_attributes_temp->style_color = (color & 0xffffff00) | color 474 libavcodec/movtextenc.c static void mov_text_color_cb(void *priv, unsigned int color, unsigned int color_id) color 478 libavcodec/movtextenc.c color = BGR_TO_RGB(color) << 8; color 480 libavcodec/movtextenc.c mov_text_color_set(s, color); color 484 libavcodec/movtextenc.c s->hclr.color = s->style_attributes_temp->style_color; color 489 libavcodec/movtextenc.c s->hclr.color = color | (s->hclr.color & 0xFF); color 523 libavcodec/movtextenc.c s->hclr.color = s->style_attributes_temp->style_color; color 528 libavcodec/movtextenc.c s->hclr.color = (s->hclr.color & 0xffffff00) | alpha; color 589 libavcodec/movtextenc.c uint32_t color; color 596 libavcodec/movtextenc.c color = BGR_TO_RGB(style->primary_color & 0xffffff) << 8; color 597 libavcodec/movtextenc.c mov_text_color_set(s, color); color 671 libavcodec/movtextenc.c .color = mov_text_color_cb, color 138 libavcodec/mvcdec.c uint32_t color[128], v[8]; color 158 libavcodec/mvcdec.c color[i] = 0xFF000000 | bytestream2_get_be24u(gb); color 193 libavcodec/mvcdec.c color[p0 & 0x7F]); color 197 libavcodec/mvcdec.c v[0] = v[2] = v[4] = v[6] = color[p0 & 0x7F]; color 198 libavcodec/mvcdec.c v[1] = v[3] = v[5] = v[7] = color[p1 & 0x7F]; color 205 libavcodec/mvcdec.c v[0] = color[p0 & 0x7F]; color 206 libavcodec/mvcdec.c v[1] = color[p1 & 0x7F]; color 208 libavcodec/mvcdec.c v[i] = color[bytestream2_get_byteu(gb) & 0x7F]; color 126 libavcodec/pafvideo.c static void copy_color_mask(uint8_t *dst, int width, uint8_t mask, uint8_t color) color 132 libavcodec/pafvideo.c dst[i] = color; color 134 libavcodec/pafvideo.c dst[width + i] = color; color 166 libavcodec/pafvideo.c uint8_t *dst, *dend, mask = 0, color = 0; color 250 libavcodec/pafvideo.c color = bytestream2_get_byte(&c->gb); color 253 libavcodec/pafvideo.c copy_color_mask(dst + offset, c->width, mask, color); color 178 libavcodec/pgssubdec.c uint8_t flags, color; color 181 libavcodec/pgssubdec.c color = bytestream_get_byte(&buf); color 184 libavcodec/pgssubdec.c if (color == 0x00) { color 189 libavcodec/pgssubdec.c color = flags & 0x80 ? bytestream_get_byte(&buf) : 0; color 193 libavcodec/pgssubdec.c memset(rect->data[0] + pixel_count, color, run); color 533 libavcodec/sanm.c int opcode, color, run_len, left = out_size; color 542 libavcodec/sanm.c color = bytestream2_get_byte(&ctx->gb); color 543 libavcodec/sanm.c memset(dst, color, run_len); color 1033 libavcodec/sanm.c static void fill_block(uint16_t *pdest, uint16_t color, int block_size, ptrdiff_t pitch) color 1040 libavcodec/sanm.c *pdest++ = color; color 1359 libavcodec/sanm.c static void fill_frame(uint16_t *pbuf, int buf_size, uint16_t color) color 1362 libavcodec/sanm.c *pbuf++ = color; color 330 libavcodec/snow.c const unsigned color = block->color[plane_index]; color 331 libavcodec/snow.c const unsigned color4 = color*0x01010101; color 362 libavcodec/snow.c dst[x + y*stride]= color; color 55 libavcodec/snow.h uint8_t color[3]; ///< Color for intra color 65 libavcodec/snow.h .color= {128,128,128}, color 272 libavcodec/snow.h return !((a->color[0] - b->color[0]) | (a->color[1] - b->color[1]) | (a->color[2] - b->color[2])); color 471 libavcodec/snow.h block.color[0]= l; color 472 libavcodec/snow.h block.color[1]= cb; color 473 libavcodec/snow.h block.color[2]= cr; color 171 libavcodec/snowdec.c set_blocks(s, level, x, y, null_block.color[0], null_block.color[1], null_block.color[2], null_block.mx, null_block.my, null_block.ref, BLOCK_INTRA); color 177 libavcodec/snowdec.c int l = left->color[0]; color 178 libavcodec/snowdec.c int cb= left->color[1]; color 179 libavcodec/snowdec.c int cr= left->color[2]; color 251 libavcodec/snowenc.c int pl = left->color[0]; color 252 libavcodec/snowenc.c int pcb= left->color[1]; color 253 libavcodec/snowenc.c int pcr= left->color[2]; color 467 libavcodec/snowenc.c int pl = left->color[0]; color 468 libavcodec/snowenc.c int pcb= left->color[1]; color 469 libavcodec/snowenc.c int pcr= left->color[2]; color 496 libavcodec/snowenc.c put_symbol(&s->c, &s->block_state[32], b->color[0]-pl , 1); color 498 libavcodec/snowenc.c put_symbol(&s->c, &s->block_state[64], b->color[1]-pcb, 1); color 499 libavcodec/snowenc.c put_symbol(&s->c, &s->block_state[96], b->color[2]-pcr, 1); color 501 libavcodec/snowenc.c set_blocks(s, level, x, y, b->color[0], b->color[1], b->color[2], pmx, pmy, 0, BLOCK_INTRA); color 536 libavcodec/snowenc.c b->color[plane_index]= 0; color 596 libavcodec/snowenc.c return 3+2*( av_log2(2*FFABS(left->color[0] - b->color[0])) color 597 libavcodec/snowenc.c + av_log2(2*FFABS(left->color[1] - b->color[1])) color 598 libavcodec/snowenc.c + av_log2(2*FFABS(left->color[2] - b->color[2]))); color 917 libavcodec/snowenc.c block->color[0] = p[0]; color 918 libavcodec/snowenc.c block->color[1] = p[1]; color 919 libavcodec/snowenc.c block->color[2] = p[2]; color 1003 libavcodec/snowenc.c int color[3]; color 1101 libavcodec/snowenc.c color[i]= get_dc(s, mb_x, mb_y, i); color 1105 libavcodec/snowenc.c int color0[3]= {block->color[0], block->color[1], block->color[2]}; color 1164 libavcodec/snowenc.c check_block(s, mb_x, mb_y, color, 1, obmc_edged, &best_rd); color 160 libavcodec/srtenc.c static void srt_color_cb(void *priv, unsigned int color, unsigned int color_id) color 164 libavcodec/srtenc.c srt_stack_push_pop(priv, 'f', color == 0xFFFFFFFF); color 165 libavcodec/srtenc.c if (color != 0xFFFFFFFF) color 167 libavcodec/srtenc.c (color & 0xFF0000) >> 16 | color & 0xFF00 | (color & 0xFF) << 16); color 215 libavcodec/srtenc.c .color = srt_color_cb, color 183 libavcodec/texturedspenc.c uint8_t color[16]; color 190 libavcodec/texturedspenc.c rgb5652rgb(color + 0, c0); color 191 libavcodec/texturedspenc.c rgb5652rgb(color + 4, c1); color 192 libavcodec/texturedspenc.c lerp13rgb(color + 8, color + 0, color + 4); color 193 libavcodec/texturedspenc.c lerp13rgb(color + 12, color + 4, color + 0); color 195 libavcodec/texturedspenc.c dirr = color[0 * 4 + 0] - color[1 * 4 + 0]; color 196 libavcodec/texturedspenc.c dirg = color[0 * 4 + 1] - color[1 * 4 + 1]; color 197 libavcodec/texturedspenc.c dirb = color[0 * 4 + 2] - color[1 * 4 + 2]; color 205 libavcodec/texturedspenc.c stops[y] = color[0 + y * 4] * dirr + color 206 libavcodec/texturedspenc.c color[1 + y * 4] * dirg + color 207 libavcodec/texturedspenc.c color[2 + y * 4] * dirb; color 1974 libavcodec/videotoolboxenc.c int *color, color 1988 libavcodec/videotoolboxenc.c status = get_cv_pixel_format(avctx, av_format, av_color_range, color, &range_guessed); color 2175 libavcodec/videotoolboxenc.c int color; color 2201 libavcodec/videotoolboxenc.c &color, color 192 libavcodec/vmnc.c int w, int h, int color, color 199 libavcodec/vmnc.c memset(dst, color, w); color 207 libavcodec/vmnc.c *dst2++ = color; color 215 libavcodec/vmnc.c dst2[i] = color; color 249 libavcodec/vmnc.c int bg = 0, fg = 0, rects, color, flags, xy, wh; color 281 libavcodec/vmnc.c color = !!(flags & HT_CLR); color 285 libavcodec/vmnc.c if (bytestream2_get_bytes_left(gb) < rects * (color * bpp + 2)) { color 291 libavcodec/vmnc.c if (color) color 231 libavcodec/vqavideo.c unsigned char color; color 269 libavcodec/vqavideo.c color = bytestream2_get_byte(&s->gb); color 270 libavcodec/vqavideo.c ff_tlog(s->avctx, "(2) set %X bytes to %02X\n", count, color); color 272 libavcodec/vqavideo.c memset(&dest[dest_index], color, count); color 988 libavcodec/webp.c uint8_t color) color 990 libavcodec/webp.c return (int)ff_u8_to_s8(color_pred) * ff_u8_to_s8(color) >> 5; color 148 libavcodec/webvttenc.c .color = NULL, color 160 libavcodec/xsubdec.c int color = get_bits(&gb, 2); color 164 libavcodec/xsubdec.c memset(bitmap, color, run); color 42 libavcodec/xsubenc.c static void put_xsub_rle(PutBitContext *pb, int len, int color) color 48 libavcodec/xsubenc.c put_bits(pb, 2, color); color 59 libavcodec/xsubenc.c int x0, x1, y, len, color = PADDING_COLOR; color 69 libavcodec/xsubenc.c color = bitmap[x1++] & 3; color 70 libavcodec/xsubenc.c while (x1 < w && (bitmap[x1] & 3) == color) color 74 libavcodec/xsubenc.c if (color == PADDING_COLOR) { color 82 libavcodec/xsubenc.c if (x1 == w && color == PADDING_COLOR) { color 86 libavcodec/xsubenc.c put_xsub_rle(pb, len, color); color 90 libavcodec/xsubenc.c if (color != PADDING_COLOR && (PADDING + (w&1))) color 37 libavdevice/caca.c char *charset, *color; color 86 libavdevice/caca.c DEFINE_LIST_DITHER(color, "colors"); color 165 libavdevice/caca.c CHECK_DITHER_OPT(color); color 212 libavdevice/caca.c { "color", "set color used to render output", OFFSET(color), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC }, color 236 libavfilter/af_afir.c static void drawtext(AVFrame *pic, int x, int y, const char *txt, uint32_t color) color 251 libavfilter/af_afir.c AV_WL32(p, color); color 259 libavfilter/af_afir.c static void draw_line(AVFrame *out, int x0, int y0, int x1, int y1, uint32_t color) color 266 libavfilter/af_afir.c AV_WL32(out->data[0] + y0 * out->linesize[0] + x0 * 4, color); color 765 libavfilter/af_aiir.c static void drawtext(AVFrame *pic, int x, int y, const char *txt, uint32_t color) color 780 libavfilter/af_aiir.c AV_WL32(p, color); color 788 libavfilter/af_aiir.c static void draw_line(AVFrame *out, int x0, int y0, int x1, int y1, uint32_t color) color 795 libavfilter/af_aiir.c AV_WL32(out->data[0] + y0 * out->linesize[0] + x0 * 4, color); color 97 libavfilter/af_anequalizer.c char *colors, *color, *saveptr = NULL; color 111 libavfilter/af_anequalizer.c color = av_strtok(ch == 0 ? colors : NULL, " |", &saveptr); color 112 libavfilter/af_anequalizer.c if (color) color 113 libavfilter/af_anequalizer.c av_parse_color(fg, color, -1, ctx); color 34 libavfilter/asrc_anoisesrc.c int color; color 65 libavfilter/asrc_anoisesrc.c { "color", "set noise color", OFFSET(color), AV_OPT_TYPE_INT, {.i64 = 0}, 0, NM_NB - 1, FLAGS, "color" }, color 66 libavfilter/asrc_anoisesrc.c { "colour", "set noise color", OFFSET(color), AV_OPT_TYPE_INT, {.i64 = 0}, 0, NM_NB - 1, FLAGS, "color" }, color 67 libavfilter/asrc_anoisesrc.c { "c", "set noise color", OFFSET(color), AV_OPT_TYPE_INT, {.i64 = 0}, 0, NM_NB - 1, FLAGS, "color" }, color 190 libavfilter/asrc_anoisesrc.c switch (s->color) { color 113 libavfilter/avf_abitscope.c char *color; color 115 libavfilter/avf_abitscope.c color = av_strtok(ch == 0 ? colors : NULL, " |", &saveptr); color 116 libavfilter/avf_abitscope.c if (color) color 117 libavfilter/avf_abitscope.c av_parse_color(fg, color, -1, ctx); color 176 libavfilter/avf_abitscope.c uint32_t color = AV_RN32(&s->fg[4 * ch]); color 188 libavfilter/avf_abitscope.c AV_WN32(&dst[i * 4], color); color 199 libavfilter/avf_abitscope.c uint32_t color = AV_RN32(&s->fg[4 * ch]); color 211 libavfilter/avf_abitscope.c AV_WN32(&dst[i * 4], color); color 488 libavfilter/avf_showcqt.c int color = (int) av_expr_eval(expr, vars, NULL); color 489 libavfilter/avf_showcqt.c uint8_t r = (color >> 16) & 0xFF, g = (color >> 8) & 0xFF, b = color & 0xFF; color 239 libavfilter/avf_showfreqs.c uint32_t color = AV_RL32(out->data[0] + y * out->linesize[0] + x * 4); color 241 libavfilter/avf_showfreqs.c if ((color & 0xffffff) != 0) color 242 libavfilter/avf_showfreqs.c AV_WL32(out->data[0] + y * out->linesize[0] + x * 4, AV_RL32(fg) | color); color 366 libavfilter/avf_showfreqs.c char *colors, *color, *saveptr = NULL; color 412 libavfilter/avf_showfreqs.c color = av_strtok(ch == 0 ? colors : NULL, " |", &saveptr); color 413 libavfilter/avf_showfreqs.c if (color) color 414 libavfilter/avf_showfreqs.c av_parse_color(fg, color, -1, ctx); color 45 libavfilter/avf_showvolume.c char *color; color 81 libavfilter/avf_showvolume.c { "c", "set volume color expression", OFFSET(color), AV_OPT_TYPE_STRING, {.str="PEAK*255+floor((1-PEAK)*255)*256+0xff000000"}, 0, 0, FLAGS }, color 107 libavfilter/avf_showvolume.c if (s->color) { color 108 libavfilter/avf_showvolume.c ret = av_expr_parse(&s->c_expr, s->color, var_names, color 84 libavfilter/avf_showwaves.c int16_t *prev_y, const uint8_t color[4], int h); color 218 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 221 libavfilter/avf_showwaves.c buf[h * linesize + 0] += color[0]; color 222 libavfilter/avf_showwaves.c buf[h * linesize + 1] += color[1]; color 223 libavfilter/avf_showwaves.c buf[h * linesize + 2] += color[2]; color 224 libavfilter/avf_showwaves.c buf[h * linesize + 3] += color[3]; color 230 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 233 libavfilter/avf_showwaves.c buf[h * linesize + 0] = color[0]; color 234 libavfilter/avf_showwaves.c buf[h * linesize + 1] = color[1]; color 235 libavfilter/avf_showwaves.c buf[h * linesize + 2] = color[2]; color 236 libavfilter/avf_showwaves.c buf[h * linesize + 3] = color[3]; color 242 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 250 libavfilter/avf_showwaves.c buf[k * linesize + 0] += color[0]; color 251 libavfilter/avf_showwaves.c buf[k * linesize + 1] += color[1]; color 252 libavfilter/avf_showwaves.c buf[k * linesize + 2] += color[2]; color 253 libavfilter/avf_showwaves.c buf[k * linesize + 3] += color[3]; color 259 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 267 libavfilter/avf_showwaves.c buf[k * linesize + 0] = color[0]; color 268 libavfilter/avf_showwaves.c buf[k * linesize + 1] = color[1]; color 269 libavfilter/avf_showwaves.c buf[k * linesize + 2] = color[2]; color 270 libavfilter/avf_showwaves.c buf[k * linesize + 3] = color[3]; color 276 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 280 libavfilter/avf_showwaves.c buf[h * linesize + 0] += color[0]; color 281 libavfilter/avf_showwaves.c buf[h * linesize + 1] += color[1]; color 282 libavfilter/avf_showwaves.c buf[h * linesize + 2] += color[2]; color 283 libavfilter/avf_showwaves.c buf[h * linesize + 3] += color[3]; color 290 libavfilter/avf_showwaves.c buf[k * linesize + 0] += color[0]; color 291 libavfilter/avf_showwaves.c buf[k * linesize + 1] += color[1]; color 292 libavfilter/avf_showwaves.c buf[k * linesize + 2] += color[2]; color 293 libavfilter/avf_showwaves.c buf[k * linesize + 3] += color[3]; color 302 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 306 libavfilter/avf_showwaves.c buf[h * linesize + 0] = color[0]; color 307 libavfilter/avf_showwaves.c buf[h * linesize + 1] = color[1]; color 308 libavfilter/avf_showwaves.c buf[h * linesize + 2] = color[2]; color 309 libavfilter/avf_showwaves.c buf[h * linesize + 3] = color[3]; color 316 libavfilter/avf_showwaves.c buf[k * linesize + 0] = color[0]; color 317 libavfilter/avf_showwaves.c buf[k * linesize + 1] = color[1]; color 318 libavfilter/avf_showwaves.c buf[k * linesize + 2] = color[2]; color 319 libavfilter/avf_showwaves.c buf[k * linesize + 3] = color[3]; color 328 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 334 libavfilter/avf_showwaves.c buf[k * linesize + 0] += color[0]; color 335 libavfilter/avf_showwaves.c buf[k * linesize + 1] += color[1]; color 336 libavfilter/avf_showwaves.c buf[k * linesize + 2] += color[2]; color 337 libavfilter/avf_showwaves.c buf[k * linesize + 3] += color[3]; color 342 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 348 libavfilter/avf_showwaves.c buf[k * linesize + 0] = color[0]; color 349 libavfilter/avf_showwaves.c buf[k * linesize + 1] = color[1]; color 350 libavfilter/avf_showwaves.c buf[k * linesize + 2] = color[2]; color 351 libavfilter/avf_showwaves.c buf[k * linesize + 3] = color[3]; color 357 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 360 libavfilter/avf_showwaves.c buf[h * linesize] += color[0]; color 365 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 373 libavfilter/avf_showwaves.c buf[k * linesize] += color[0]; color 378 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 382 libavfilter/avf_showwaves.c buf[h * linesize] += color[0]; color 389 libavfilter/avf_showwaves.c buf[k * linesize] += color[0]; color 397 libavfilter/avf_showwaves.c const uint8_t color[4], int h) color 403 libavfilter/avf_showwaves.c buf[k * linesize] += color[0]; color 523 libavfilter/avf_showwaves.c char *color; color 525 libavfilter/avf_showwaves.c color = av_strtok(ch == 0 ? colors : NULL, " |", &saveptr); color 526 libavfilter/avf_showwaves.c if (color) color 527 libavfilter/avf_showwaves.c av_parse_color(fg, color, -1, ctx); color 231 libavfilter/drawutils.c void ff_draw_color(FFDrawContext *draw, FFDrawColor *color, const uint8_t rgba[4]) color 236 libavfilter/drawutils.c if (rgba != color->rgba) color 237 libavfilter/drawutils.c memcpy(color->rgba, rgba, sizeof(color->rgba)); color 242 libavfilter/drawutils.c color->comp[0].u8[rgba_map[i]] = rgba[i]; color 244 libavfilter/drawutils.c color->comp[0].u16[rgba_map[i]] = color->comp[0].u8[rgba_map[i]] << 8; color 249 libavfilter/drawutils.c color->comp[rgba_map[i]].u8[0] = rgba[i]; color 251 libavfilter/drawutils.c color->comp[rgba_map[i]].u16[0] = color->comp[rgba_map[i]].u8[0] << (draw->desc->comp[rgba_map[i]].depth - 8); color 257 libavfilter/drawutils.c color->comp[desc->comp[0].plane].u8[desc->comp[0].offset] = draw->full_range ? RGB_TO_Y_JPEG(rgba[0], rgba[1], rgba[2]) : RGB_TO_Y_CCIR(rgba[0], rgba[1], rgba[2]); color 258 libavfilter/drawutils.c color->comp[desc->comp[1].plane].u8[desc->comp[1].offset] = draw->full_range ? RGB_TO_U_JPEG(rgba[0], rgba[1], rgba[2]) : RGB_TO_U_CCIR(rgba[0], rgba[1], rgba[2], 0); color 259 libavfilter/drawutils.c color->comp[desc->comp[2].plane].u8[desc->comp[2].offset] = draw->full_range ? RGB_TO_V_JPEG(rgba[0], rgba[1], rgba[2]) : RGB_TO_V_CCIR(rgba[0], rgba[1], rgba[2], 0); color 260 libavfilter/drawutils.c color->comp[3].u8[0] = rgba[3]; color 263 libavfilter/drawutils.c color->comp[desc->comp[compn].plane].u16[desc->comp[compn].offset] = \ color 264 libavfilter/drawutils.c color->comp[desc->comp[compn].plane].u8[desc->comp[compn].offset] << \ color 277 libavfilter/drawutils.c color->comp[0].u8[0] = RGB_TO_Y_CCIR(rgba[0], rgba[1], rgba[2]); color 279 libavfilter/drawutils.c color->comp[1].u8[0] = rgba[3]; color 284 libavfilter/drawutils.c memset(color, 128, sizeof(*color)); color 318 libavfilter/drawutils.c void ff_fill_rectangle(FFDrawContext *draw, FFDrawColor *color, color 324 libavfilter/drawutils.c FFDrawColor color_tmp = *color; color 445 libavfilter/drawutils.c void ff_blend_rectangle(FFDrawContext *draw, FFDrawColor *color, color 457 libavfilter/drawutils.c if (w <= 0 || h <= 0 || !color->rgba[3]) color 461 libavfilter/drawutils.c alpha = 0x10203 * color->rgba[3] + 0x2; color 464 libavfilter/drawutils.c alpha = 0x101 * color->rgba[3] + 0x2; color 485 libavfilter/drawutils.c blend_line(p, color->comp[plane].u8[comp], alpha >> 1, color 489 libavfilter/drawutils.c blend_line16(p, color->comp[plane].u16[comp], alpha >> 1, color 497 libavfilter/drawutils.c blend_line(p, color->comp[plane].u8[comp], alpha, color 504 libavfilter/drawutils.c blend_line16(p, color->comp[plane].u16[comp], alpha, color 512 libavfilter/drawutils.c blend_line(p, color->comp[plane].u8[comp], alpha >> 1, color 516 libavfilter/drawutils.c blend_line16(p, color->comp[plane].u16[comp], alpha >> 1, color 622 libavfilter/drawutils.c void ff_blend_mask(FFDrawContext *draw, FFDrawColor *color, color 635 libavfilter/drawutils.c if (mask_w <= 0 || mask_h <= 0 || !color->rgba[3]) color 640 libavfilter/drawutils.c alpha = (0x10307 * color->rgba[3] + 0x3) >> 8; color 642 libavfilter/drawutils.c alpha = (0x101 * color->rgba[3] + 0x2) >> 8; color 665 libavfilter/drawutils.c color->comp[plane].u8[comp], alpha, color 671 libavfilter/drawutils.c color->comp[plane].u16[comp], alpha, color 682 libavfilter/drawutils.c color->comp[plane].u8[comp], alpha, color 692 libavfilter/drawutils.c color->comp[plane].u16[comp], alpha, color 703 libavfilter/drawutils.c color->comp[plane].u8[comp], alpha, color 709 libavfilter/drawutils.c color->comp[plane].u16[comp], alpha, color 89 libavfilter/drawutils.h void ff_draw_color(FFDrawContext *draw, FFDrawColor *color, const uint8_t rgba[4]); color 108 libavfilter/drawutils.h void ff_fill_rectangle(FFDrawContext *draw, FFDrawColor *color, color 115 libavfilter/drawutils.h void ff_blend_rectangle(FFDrawContext *draw, FFDrawColor *color, color 138 libavfilter/drawutils.h void ff_blend_mask(FFDrawContext *draw, FFDrawColor *color, color 247 libavfilter/f_ebur128.c static void drawtext(AVFrame *pic, int x, int y, int ftid, const uint8_t *color, const char *fmt, ...) color 270 libavfilter/f_ebur128.c memcpy(p, color, 3); color 118 libavfilter/f_graphmonitor.c static void drawtext(AVFrame *pic, int x, int y, const char *txt, uint8_t *color) color 137 libavfilter/f_graphmonitor.c p[0] = color[0]; color 138 libavfilter/f_graphmonitor.c p[1] = color[1]; color 139 libavfilter/f_graphmonitor.c p[2] = color[2]; color 25 libavfilter/opencl/pad.cl float4 color, color 34 libavfilter/opencl/pad.cl loc.y < xy.y ? color : read_imagef(src, sampler, src_pos); color 29 libavfilter/tests/drawutils.c FFDrawColor color; color 45 libavfilter/tests/drawutils.c ff_draw_color(&draw, &color, (uint8_t[]) { 1, 0, 0, 1 }); color 46 libavfilter/tests/drawutils.c for (i = 0; i < sizeof(color); i++) color 47 libavfilter/tests/drawutils.c if (((uint8_t *)&color)[i] != 128) color 49 libavfilter/tests/drawutils.c if (i == sizeof(color)) { color 77 libavfilter/tinterlace.h FFDrawColor color; color 120 libavfilter/vf_codecview.c int w, int h, int stride, int color) color 134 libavfilter/vf_codecview.c buf[sy * stride + sx] += color; color 147 libavfilter/vf_codecview.c buf[ y * stride + x] += (color * (0x10000 - fr)) >> 16; color 148 libavfilter/vf_codecview.c if(fr) buf[(y + 1) * stride + x] += (color * fr ) >> 16; color 164 libavfilter/vf_codecview.c buf[y * stride + x ] += (color * (0x10000 - fr)) >> 16; color 165 libavfilter/vf_codecview.c if(fr) buf[y * stride + x + 1] += (color * fr ) >> 16; color 178 libavfilter/vf_codecview.c int ey, int w, int h, int stride, int color, int tail, int direction) color 209 libavfilter/vf_codecview.c draw_line(buf, sx, sy, sx + rx, sy + ry, w, h, stride, color); color 210 libavfilter/vf_codecview.c draw_line(buf, sx, sy, sx - ry, sy + rx, w, h, stride, color); color 212 libavfilter/vf_codecview.c draw_line(buf, sx, sy, ex, ey, w, h, stride, color); color 145 libavfilter/vf_colormatrix.c ColorMatrixContext *color = ctx->priv; color 171 libavfilter/vf_colormatrix.c color->yuv_convert[v][k][0] = NS(yuv_convertd[v][k][0]); color 172 libavfilter/vf_colormatrix.c color->yuv_convert[v][k][1] = NS(yuv_convertd[v][k][1]); color 173 libavfilter/vf_colormatrix.c color->yuv_convert[v][k][2] = NS(yuv_convertd[v][k][2]); color 175 libavfilter/vf_colormatrix.c if (color->yuv_convert[v][0][0] != 65536 || color->yuv_convert[v][1][0] != 0 || color 176 libavfilter/vf_colormatrix.c color->yuv_convert[v][2][0] != 0) { color 188 libavfilter/vf_colormatrix.c ColorMatrixContext *color = ctx->priv; color 190 libavfilter/vf_colormatrix.c if (color->dest == COLOR_MODE_NONE) { color 195 libavfilter/vf_colormatrix.c if (color->source == color->dest) { color 395 libavfilter/vf_colormatrix.c ColorMatrixContext *color = ctx->priv; color 398 libavfilter/vf_colormatrix.c color->hsub = pix_desc->log2_chroma_w; color 399 libavfilter/vf_colormatrix.c color->vsub = pix_desc->log2_chroma_h; color 402 libavfilter/vf_colormatrix.c color_modes[color->source], color_modes[color->dest]); color 425 libavfilter/vf_colormatrix.c ColorMatrixContext *color = ctx->priv; color 437 libavfilter/vf_colormatrix.c if (color->source == COLOR_MODE_NONE) { color 454 libavfilter/vf_colormatrix.c color->mode = source * 5 + color->dest; color 456 libavfilter/vf_colormatrix.c color->mode = color->source * 5 + color->dest; color 458 libavfilter/vf_colormatrix.c switch(color->dest) { color 468 libavfilter/vf_colormatrix.c td.c2 = color->yuv_convert[color->mode][0][1]; color 469 libavfilter/vf_colormatrix.c td.c3 = color->yuv_convert[color->mode][0][2]; color 470 libavfilter/vf_colormatrix.c td.c4 = color->yuv_convert[color->mode][1][1]; color 471 libavfilter/vf_colormatrix.c td.c5 = color->yuv_convert[color->mode][1][2]; color 472 libavfilter/vf_colormatrix.c td.c6 = color->yuv_convert[color->mode][2][1]; color 473 libavfilter/vf_colormatrix.c td.c7 = color->yuv_convert[color->mode][2][2]; color 51 libavfilter/vf_datascope.c void (*pick_color)(FFDrawContext *draw, FFDrawColor *color, AVFrame *in, int x, int y, int *value); color 52 libavfilter/vf_datascope.c void (*reverse_color)(FFDrawContext *draw, FFDrawColor *color, FFDrawColor *reverse); color 84 libavfilter/vf_datascope.c static void draw_text(FFDrawContext *draw, AVFrame *frame, FFDrawColor *color, color 95 libavfilter/vf_datascope.c ff_blend_mask(draw, color, frame->data, frame->linesize, color 107 libavfilter/vf_datascope.c static void pick_color8(FFDrawContext *draw, FFDrawColor *color, AVFrame *in, int x, int y, int *value) color 111 libavfilter/vf_datascope.c color->rgba[3] = 255; color 116 libavfilter/vf_datascope.c color->comp[0].u8[i] = value[i]; color 120 libavfilter/vf_datascope.c color->comp[p].u8[0] = value[p]; color 125 libavfilter/vf_datascope.c static void pick_color16(FFDrawContext *draw, FFDrawColor *color, AVFrame *in, int x, int y, int *value) color 129 libavfilter/vf_datascope.c color->rgba[3] = 255; color 134 libavfilter/vf_datascope.c color->comp[0].u16[i] = value[i]; color 138 libavfilter/vf_datascope.c color->comp[p].u16[0] = value[p]; color 143 libavfilter/vf_datascope.c static void reverse_color8(FFDrawContext *draw, FFDrawColor *color, FFDrawColor *reverse) color 149 libavfilter/vf_datascope.c reverse->comp[p].u8[0] = color->comp[p].u8[0] > 127 ? 0 : 255; color 150 libavfilter/vf_datascope.c reverse->comp[p].u8[1] = color->comp[p].u8[1] > 127 ? 0 : 255; color 151 libavfilter/vf_datascope.c reverse->comp[p].u8[2] = color->comp[p].u8[2] > 127 ? 0 : 255; color 155 libavfilter/vf_datascope.c static void reverse_color16(FFDrawContext *draw, FFDrawColor *color, FFDrawColor *reverse) color 164 libavfilter/vf_datascope.c reverse->comp[p].u16[0] = color->comp[p].u16[0] > mid ? 0 : max; color 165 libavfilter/vf_datascope.c reverse->comp[p].u16[1] = color->comp[p].u16[1] > mid ? 0 : max; color 166 libavfilter/vf_datascope.c reverse->comp[p].u16[2] = color->comp[p].u16[2] > mid ? 0 : max; color 197 libavfilter/vf_datascope.c FFDrawColor color = { { 0 } }; color 201 libavfilter/vf_datascope.c s->pick_color(&s->draw, &color, in, x + s->x, y + s->y, value); color 202 libavfilter/vf_datascope.c s->reverse_color(&s->draw, &color, &reverse); color 203 libavfilter/vf_datascope.c ff_fill_rectangle(&s->draw, &color, out->data, out->linesize, color 240 libavfilter/vf_datascope.c FFDrawColor color = { { 0 } }; color 243 libavfilter/vf_datascope.c s->pick_color(&s->draw, &color, in, x + s->x, y + s->y, value); color 249 libavfilter/vf_datascope.c draw_text(&s->draw, out, &color, xoff + x * C * 10 + 2, yoff + y * P * 12 + p * 10 + 2, text, 0); color 279 libavfilter/vf_datascope.c FFDrawColor color = { { 0 } }; color 282 libavfilter/vf_datascope.c s->pick_color(&s->draw, &color, in, x + s->x, y + s->y, value); color 457 libavfilter/vf_datascope.c void (*pick_color)(FFDrawContext *draw, FFDrawColor *color, AVFrame *in, int x, int y, int *value); color 591 libavfilter/vf_datascope.c FFDrawColor color = { { 0 } }; color 594 libavfilter/vf_datascope.c s->pick_color(&s->draw, &color, in, x + s->x, y + s->y, value); color 595 libavfilter/vf_datascope.c ff_fill_rectangle(&s->draw, &color, out->data, out->linesize, color 749 libavfilter/vf_datascope.c void (*pick_color)(FFDrawContext *draw, FFDrawColor *color, AVFrame *in, int x, int y, int *value); color 782 libavfilter/vf_datascope.c AVFrame *out, FFDrawColor *color) color 795 libavfilter/vf_datascope.c out->data[0][y0 * out->linesize[0] + x0 * draw->pixelstep[0] + i] = color->comp[0].u8[i]; color 798 libavfilter/vf_datascope.c out->data[p][out->linesize[p] * (y0 >> draw->vsub[p]) + (x0 >> draw->hsub[p])] = color->comp[p].u8[0]; color 803 libavfilter/vf_datascope.c AV_WN16(out->data[0] + y0 * out->linesize[0] + 2 * (x0 * draw->pixelstep[0] + i), color->comp[0].u16[i]); color 806 libavfilter/vf_datascope.c AV_WN16(out->data[p] + out->linesize[p] * (y0 >> draw->vsub[p]) + (x0 >> draw->hsub[p]) * 2, color->comp[p].u16[0]); color 953 libavfilter/vf_datascope.c FFDrawColor color = { { 0 } }; color 956 libavfilter/vf_datascope.c s->pick_color(&s->draw, &color, out, x0, y0, value); color 1218 libavfilter/vf_drawtext.c FFDrawColor *color, color 1250 libavfilter/vf_drawtext.c ff_blend_mask(&s->dc, color, color 1262 libavfilter/vf_drawtext.c static void update_color_with_alpha(DrawTextContext *s, FFDrawColor *color, const FFDrawColor incolor) color 1264 libavfilter/vf_drawtext.c *color = incolor; color 1265 libavfilter/vf_drawtext.c color->rgba[3] = (color->rgba[3] * s->alpha) / 255; color 1266 libavfilter/vf_drawtext.c ff_draw_color(&s->dc, color, color->rgba); color 221 libavfilter/vf_lut.c int val, color, ret; color 298 libavfilter/vf_lut.c for (color = 0; color < desc->nb_components; color++) { color 300 libavfilter/vf_lut.c int comp = s->is_rgb ? rgba_map[color] : color; color 303 libavfilter/vf_lut.c av_expr_free(s->comp_expr[color]); color 304 libavfilter/vf_lut.c s->comp_expr[color] = NULL; color 305 libavfilter/vf_lut.c ret = av_expr_parse(&s->comp_expr[color], s->comp_expr_str[color], color 310 libavfilter/vf_lut.c s->comp_expr_str[comp], comp, color); color 315 libavfilter/vf_lut.c s->var_values[VAR_MAXVAL] = max[color]; color 316 libavfilter/vf_lut.c s->var_values[VAR_MINVAL] = min[color]; color 320 libavfilter/vf_lut.c s->var_values[VAR_CLIPVAL] = av_clip(val, min[color], max[color]); color 322 libavfilter/vf_lut.c av_clip(min[color] + max[color] - s->var_values[VAR_VAL], color 323 libavfilter/vf_lut.c min[color], max[color]); color 325 libavfilter/vf_lut.c res = av_expr_eval(s->comp_expr[color], s->var_values, s); color 329 libavfilter/vf_lut.c s->comp_expr_str[color], val, comp); color 100 libavfilter/vf_pad.c FFDrawColor color; color 115 libavfilter/vf_pad.c ff_draw_color(&s->draw, &s->color, s->rgba_color); color 381 libavfilter/vf_pad.c ff_fill_rectangle(&s->draw, &s->color, color 388 libavfilter/vf_pad.c ff_fill_rectangle(&s->draw, &s->color, color 394 libavfilter/vf_pad.c ff_fill_rectangle(&s->draw, &s->color, out->data, out->linesize, color 404 libavfilter/vf_pad.c ff_fill_rectangle(&s->draw, &s->color, out->data, out->linesize, color 36 libavfilter/vf_palettegen.c uint32_t color; color 42 libavfilter/vf_palettegen.c uint32_t color; // average color color 116 libavfilter/vf_palettegen.c return ((*a)->color >> (8 * (2 - (pos))) & 0xff) \ color 117 libavfilter/vf_palettegen.c - ((*b)->color >> (8 * (2 - (pos))) & 0xff); \ color 133 libavfilter/vf_palettegen.c return FFDIFFSIGN(box1->color , box2->color); color 167 libavfilter/vf_palettegen.c variance += diff(ref->color, box->color) * ref->count; color 195 libavfilter/vf_palettegen.c r += (ref->color >> 16 & 0xff) * ref->count; color 196 libavfilter/vf_palettegen.c g += (ref->color >> 8 & 0xff) * ref->count; color 197 libavfilter/vf_palettegen.c b += (ref->color & 0xff) * ref->count; color 223 libavfilter/vf_palettegen.c box->color = get_avg_color(s->refs, box); color 224 libavfilter/vf_palettegen.c new_box->color = get_avg_color(s->refs, new_box); color 243 libavfilter/vf_palettegen.c pal[x] = s->boxes[box_id++].color; color 322 libavfilter/vf_palettegen.c box->color = get_avg_color(s->refs, box); color 336 libavfilter/vf_palettegen.c const uint32_t rgb = ref->color; color 397 libavfilter/vf_palettegen.c static inline unsigned color_hash(uint32_t color) color 399 libavfilter/vf_palettegen.c const uint8_t r = color >> 16 & ((1<<NBITS)-1); color 400 libavfilter/vf_palettegen.c const uint8_t g = color >> 8 & ((1<<NBITS)-1); color 401 libavfilter/vf_palettegen.c const uint8_t b = color & ((1<<NBITS)-1); color 408 libavfilter/vf_palettegen.c static int color_inc(struct hist_node *hist, uint32_t color) color 411 libavfilter/vf_palettegen.c const unsigned hash = color_hash(color); color 417 libavfilter/vf_palettegen.c if (e->color == color) { color 427 libavfilter/vf_palettegen.c e->color = color; color 69 libavfilter/vf_paletteuse.c uint32_t color; color 341 libavfilter/vf_paletteuse.c static av_always_inline int color_get(PaletteUseContext *s, uint32_t color, color 361 libavfilter/vf_paletteuse.c if (e->color == color) color 369 libavfilter/vf_paletteuse.c e->color = color; color 421 libavfilter/vf_paletteuse.c const int color = color_get(s, src[x], a8, r, g, b, search_method); color 423 libavfilter/vf_paletteuse.c if (color < 0) color 424 libavfilter/vf_paletteuse.c return color; color 425 libavfilter/vf_paletteuse.c dst[x] = color; color 429 libavfilter/vf_paletteuse.c const int color = get_dst_color_err(s, src[x], &er, &eg, &eb, search_method); color 431 libavfilter/vf_paletteuse.c if (color < 0) color 432 libavfilter/vf_paletteuse.c return color; color 433 libavfilter/vf_paletteuse.c dst[x] = color; color 441 libavfilter/vf_paletteuse.c const int color = get_dst_color_err(s, src[x], &er, &eg, &eb, search_method); color 443 libavfilter/vf_paletteuse.c if (color < 0) color 444 libavfilter/vf_paletteuse.c return color; color 445 libavfilter/vf_paletteuse.c dst[x] = color; color 455 libavfilter/vf_paletteuse.c const int color = get_dst_color_err(s, src[x], &er, &eg, &eb, search_method); color 457 libavfilter/vf_paletteuse.c if (color < 0) color 458 libavfilter/vf_paletteuse.c return color; color 459 libavfilter/vf_paletteuse.c dst[x] = color; color 474 libavfilter/vf_paletteuse.c const int color = get_dst_color_err(s, src[x], &er, &eg, &eb, search_method); color 476 libavfilter/vf_paletteuse.c if (color < 0) color 477 libavfilter/vf_paletteuse.c return color; color 478 libavfilter/vf_paletteuse.c dst[x] = color; color 489 libavfilter/vf_paletteuse.c const int color = color_get(s, src[x], a, r, g, b, search_method); color 491 libavfilter/vf_paletteuse.c if (color < 0) color 492 libavfilter/vf_paletteuse.c return color; color 493 libavfilter/vf_paletteuse.c dst[x] = color; color 603 libavfilter/vf_paletteuse.c const struct color *a = pa; \ color 604 libavfilter/vf_paletteuse.c const struct color *b = pb; \ color 624 libavfilter/vf_paletteuse.c struct color tmp_pal[256]; color 674 libavfilter/vf_paletteuse.c AV_QSORT(tmp_pal, nb_color, struct color, cmpf); color 67 libavfilter/vf_pseudocolor.c int color; color 427 libavfilter/vf_pseudocolor.c int depth, ret, hsub, vsub, color; color 460 libavfilter/vf_pseudocolor.c for (color = 0; color < s->nb_planes; color++) { color 465 libavfilter/vf_pseudocolor.c av_expr_free(s->comp_expr[color]); color 466 libavfilter/vf_pseudocolor.c s->comp_expr[color] = NULL; color 467 libavfilter/vf_pseudocolor.c ret = av_expr_parse(&s->comp_expr[color], s->comp_expr_str[color], color 472 libavfilter/vf_pseudocolor.c s->comp_expr_str[color], color, color); color 477 libavfilter/vf_pseudocolor.c for (val = 0; val < FF_ARRAY_ELEMS(s->lut[color]); val++) { color 480 libavfilter/vf_pseudocolor.c res = av_expr_eval(s->comp_expr[color], s->var_values, s); color 484 libavfilter/vf_pseudocolor.c s->comp_expr_str[color], val, color); color 487 libavfilter/vf_pseudocolor.c s->lut[color][val] = res; color 167 libavfilter/vf_remap.c const int color = s->fill_color[plane]; \ color 174 libavfilter/vf_remap.c dst[x] = color; \ color 79 libavfilter/vf_rotate.c FFDrawColor color; color 300 libavfilter/vf_rotate.c ff_draw_color(&rot->draw, &rot->color, rot->fillcolor); color 539 libavfilter/vf_rotate.c ff_fill_rectangle(&rot->draw, &rot->color, out->data, out->linesize, color 54 libavfilter/vf_stack.c FFDrawColor color; color 182 libavfilter/vf_stack.c ff_fill_rectangle(&s->draw, &s->color, out->data, out->linesize, color 262 libavfilter/vf_stack.c ff_draw_color(&s->draw, &s->color, s->fillcolor); color 167 libavfilter/vf_subtitles.c uint8_t rgba_color[] = {AR(image->color), AG(image->color), AB(image->color), AA(image->color)}; color 168 libavfilter/vf_subtitles.c FFDrawColor color; color 169 libavfilter/vf_subtitles.c ff_draw_color(&ass->draw, &color, rgba_color); color 170 libavfilter/vf_subtitles.c ff_blend_mask(&ass->draw, &color, color 63 libavfilter/vf_super2xsai.c uint32_t color[4][4]; color 89 libavfilter/vf_super2xsai.c READ_COLOR4(color[0][0], src_line[0], 0); color[0][1] = color[0][0]; READ_COLOR4(color[0][2], src_line[0], 1); READ_COLOR4(color[0][3], src_line[0], 2); color 90 libavfilter/vf_super2xsai.c READ_COLOR4(color[1][0], src_line[1], 0); color[1][1] = color[1][0]; READ_COLOR4(color[1][2], src_line[1], 1); READ_COLOR4(color[1][3], src_line[1], 2); color 91 libavfilter/vf_super2xsai.c READ_COLOR4(color[2][0], src_line[2], 0); color[2][1] = color[2][0]; READ_COLOR4(color[2][2], src_line[2], 1); READ_COLOR4(color[2][3], src_line[2], 2); color 92 libavfilter/vf_super2xsai.c READ_COLOR4(color[3][0], src_line[3], 0); color[3][1] = color[3][0]; READ_COLOR4(color[3][2], src_line[3], 1); READ_COLOR4(color[3][3], src_line[3], 2); color 95 libavfilter/vf_super2xsai.c READ_COLOR3(color[0][0], src_line[0], 0); color[0][1] = color[0][0]; READ_COLOR3(color[0][2], src_line[0], 1); READ_COLOR3(color[0][3], src_line[0], 2); color 96 libavfilter/vf_super2xsai.c READ_COLOR3(color[1][0], src_line[1], 0); color[1][1] = color[1][0]; READ_COLOR3(color[1][2], src_line[1], 1); READ_COLOR3(color[1][3], src_line[1], 2); color 97 libavfilter/vf_super2xsai.c READ_COLOR3(color[2][0], src_line[2], 0); color[2][1] = color[2][0]; READ_COLOR3(color[2][2], src_line[2], 1); READ_COLOR3(color[2][3], src_line[2], 2); color 98 libavfilter/vf_super2xsai.c READ_COLOR3(color[3][0], src_line[3], 0); color[3][1] = color[3][0]; READ_COLOR3(color[3][2], src_line[3], 1); READ_COLOR3(color[3][3], src_line[3], 2); color 101 libavfilter/vf_super2xsai.c READ_COLOR2(color[0][0], src_line[0], 0); color[0][1] = color[0][0]; READ_COLOR2(color[0][2], src_line[0], 1); READ_COLOR2(color[0][3], src_line[0], 2); color 102 libavfilter/vf_super2xsai.c READ_COLOR2(color[1][0], src_line[1], 0); color[1][1] = color[1][0]; READ_COLOR2(color[1][2], src_line[1], 1); READ_COLOR2(color[1][3], src_line[1], 2); color 103 libavfilter/vf_super2xsai.c READ_COLOR2(color[2][0], src_line[2], 0); color[2][1] = color[2][0]; READ_COLOR2(color[2][2], src_line[2], 1); READ_COLOR2(color[2][3], src_line[2], 2); color 104 libavfilter/vf_super2xsai.c READ_COLOR2(color[3][0], src_line[3], 0); color[3][1] = color[3][0]; READ_COLOR2(color[3][2], src_line[3], 1); READ_COLOR2(color[3][3], src_line[3], 2); color 115 libavfilter/vf_super2xsai.c if (color[2][1] == color[1][2] && color[1][1] != color[2][2]) { color 116 libavfilter/vf_super2xsai.c product2b = color[2][1]; color 118 libavfilter/vf_super2xsai.c } else if (color[1][1] == color[2][2] && color[2][1] != color[1][2]) { color 119 libavfilter/vf_super2xsai.c product2b = color[1][1]; color 121 libavfilter/vf_super2xsai.c } else if (color[1][1] == color[2][2] && color[2][1] == color[1][2]) { color 124 libavfilter/vf_super2xsai.c r += GET_RESULT(color[1][2], color[1][1], color[1][0], color[3][1]); color 125 libavfilter/vf_super2xsai.c r += GET_RESULT(color[1][2], color[1][1], color[2][0], color[0][1]); color 126 libavfilter/vf_super2xsai.c r += GET_RESULT(color[1][2], color[1][1], color[3][2], color[2][3]); color 127 libavfilter/vf_super2xsai.c r += GET_RESULT(color[1][2], color[1][1], color[0][2], color[1][3]); color 130 libavfilter/vf_super2xsai.c product1b = color[1][2]; color 132 libavfilter/vf_super2xsai.c product1b = color[1][1]; color 134 libavfilter/vf_super2xsai.c product1b = INTERPOLATE(color[1][1], color[1][2]); color 138 libavfilter/vf_super2xsai.c if (color[1][2] == color[2][2] && color[2][2] == color[3][1] && color[2][1] != color[3][2] && color[2][2] != color[3][0]) color 139 libavfilter/vf_super2xsai.c product2b = Q_INTERPOLATE(color[2][2], color[2][2], color[2][2], color[2][1]); color 140 libavfilter/vf_super2xsai.c else if (color[1][1] == color[2][1] && color[2][1] == color[3][2] && color[3][1] != color[2][2] && color[2][1] != color[3][3]) color 141 libavfilter/vf_super2xsai.c product2b = Q_INTERPOLATE(color[2][1], color[2][1], color[2][1], color[2][2]); color 143 libavfilter/vf_super2xsai.c product2b = INTERPOLATE(color[2][1], color[2][2]); color 145 libavfilter/vf_super2xsai.c if (color[1][2] == color[2][2] && color[1][2] == color[0][1] && color[1][1] != color[0][2] && color[1][2] != color[0][0]) color 146 libavfilter/vf_super2xsai.c product1b = Q_INTERPOLATE(color[1][2], color[1][2], color[1][2], color[1][1]); color 147 libavfilter/vf_super2xsai.c else if (color[1][1] == color[2][1] && color[1][1] == color[0][2] && color[0][1] != color[1][2] && color[1][1] != color[0][3]) color 148 libavfilter/vf_super2xsai.c product1b = Q_INTERPOLATE(color[1][2], color[1][1], color[1][1], color[1][1]); color 150 libavfilter/vf_super2xsai.c product1b = INTERPOLATE(color[1][1], color[1][2]); color 153 libavfilter/vf_super2xsai.c if (color[1][1] == color[2][2] && color[2][1] != color[1][2] && color[1][0] == color[1][1] && color[1][1] != color[3][2]) color 154 libavfilter/vf_super2xsai.c product2a = INTERPOLATE(color[2][1], color[1][1]); color 155 libavfilter/vf_super2xsai.c else if (color[1][1] == color[2][0] && color[1][2] == color[1][1] && color[1][0] != color[2][1] && color[1][1] != color[3][0]) color 156 libavfilter/vf_super2xsai.c product2a = INTERPOLATE(color[2][1], color[1][1]); color 158 libavfilter/vf_super2xsai.c product2a = color[2][1]; color 160 libavfilter/vf_super2xsai.c if (color[2][1] == color[1][2] && color[1][1] != color[2][2] && color[2][0] == color[2][1] && color[2][1] != color[0][2]) color 161 libavfilter/vf_super2xsai.c product1a = INTERPOLATE(color[2][1], color[1][1]); color 162 libavfilter/vf_super2xsai.c else if (color[1][0] == color[2][1] && color[2][2] == color[2][1] && color[2][0] != color[1][1] && color[2][1] != color[0][0]) color 163 libavfilter/vf_super2xsai.c product1a = INTERPOLATE(color[2][1], color[1][1]); color 165 libavfilter/vf_super2xsai.c product1a = color[1][1]; color 192 libavfilter/vf_super2xsai.c color[0][0] = color[0][1]; color[0][1] = color[0][2]; color[0][2] = color[0][3]; color 193 libavfilter/vf_super2xsai.c color[1][0] = color[1][1]; color[1][1] = color[1][2]; color[1][2] = color[1][3]; color 194 libavfilter/vf_super2xsai.c color[2][0] = color[2][1]; color[2][1] = color[2][2]; color[2][2] = color[2][3]; color 195 libavfilter/vf_super2xsai.c color[3][0] = color[3][1]; color[3][1] = color[3][2]; color[3][2] = color[3][3]; color 201 libavfilter/vf_super2xsai.c READ_COLOR4(color[0][3], src_line[0], x); color 202 libavfilter/vf_super2xsai.c READ_COLOR4(color[1][3], src_line[1], x); color 203 libavfilter/vf_super2xsai.c READ_COLOR4(color[2][3], src_line[2], x); color 204 libavfilter/vf_super2xsai.c READ_COLOR4(color[3][3], src_line[3], x); color 207 libavfilter/vf_super2xsai.c READ_COLOR3(color[0][3], src_line[0], x); color 208 libavfilter/vf_super2xsai.c READ_COLOR3(color[1][3], src_line[1], x); color 209 libavfilter/vf_super2xsai.c READ_COLOR3(color[2][3], src_line[2], x); color 210 libavfilter/vf_super2xsai.c READ_COLOR3(color[3][3], src_line[3], x); color 213 libavfilter/vf_super2xsai.c READ_COLOR2(color[0][3], src_line[0], x); color 214 libavfilter/vf_super2xsai.c READ_COLOR2(color[1][3], src_line[1], x); color 215 libavfilter/vf_super2xsai.c READ_COLOR2(color[2][3], src_line[2], x); color 216 libavfilter/vf_super2xsai.c READ_COLOR2(color[3][3], src_line[3], x); color 235 libavfilter/vf_tinterlace.c ff_draw_color(&tinterlace->draw, &tinterlace->color, black); color 237 libavfilter/vf_tinterlace.c tinterlace->color.comp[0].u8[0] = 0; color 243 libavfilter/vf_tinterlace.c ff_fill_rectangle(&tinterlace->draw, &tinterlace->color, tinterlace->black_data, color 42 libavfilter/vf_tpad.c FFDrawColor color; color 87 libavfilter/vf_tpad.c ff_fill_rectangle(&s->draw, &s->color, color 147 libavfilter/vf_tpad.c ff_fill_rectangle(&s->draw, &s->color, color 174 libavfilter/vf_tpad.c ff_draw_color(&s->draw, &s->color, s->rgba_color); color 965 libavfilter/vf_vectorscope.c static void draw_ihtext(AVFrame *out, int x, int y, float o1, float o2, const char *txt, const uint8_t color[4]) color 990 libavfilter/vf_vectorscope.c static void draw_ihtext16(AVFrame *out, int x, int y, float o1, float o2, const char *txt, const uint16_t color[4]) color 1001 libavfilter/vf_vectorscope.c int v = color[plane]; color 1016 libavfilter/vf_vectorscope.c static void draw_htext(AVFrame *out, int x, int y, float o1, float o2, const char *txt, const uint8_t color[4]) color 1027 libavfilter/vf_vectorscope.c int v = color[plane]; color 1042 libavfilter/vf_vectorscope.c static void draw_htext16(AVFrame *out, int x, int y, float o1, float o2, const char *txt, const uint16_t color[4]) color 1053 libavfilter/vf_vectorscope.c int v = color[plane]; color 1111 libavfilter/vf_vectorscope.c uint16_t color[4] = { 0, 0, 0, 0 }; color 1116 libavfilter/vf_vectorscope.c color[D] = d; color 1117 libavfilter/vf_vectorscope.c color[X] = x; color 1118 libavfilter/vf_vectorscope.c color[Y] = y; color 1119 libavfilter/vf_vectorscope.c color[3] = max; color 1132 libavfilter/vf_vectorscope.c draw_htext16(out, x, y, o, 1. - o, positions_name[i], color); color 1178 libavfilter/vf_vectorscope.c uint8_t color[4] = { 0, 0, 0, 255 }; color 1183 libavfilter/vf_vectorscope.c color[D] = d; color 1184 libavfilter/vf_vectorscope.c color[X] = x; color 1185 libavfilter/vf_vectorscope.c color[Y] = y; color 1198 libavfilter/vf_vectorscope.c draw_htext(out, x, y, o, 1. - o, positions_name[i], color); color 1243 libavfilter/vf_vectorscope.c const uint16_t color[4] = { 128 * m, 0, 0, max }; color 1258 libavfilter/vf_vectorscope.c draw_htext16(out, x, y, o, 1. - o, positions_name[i], color); color 1301 libavfilter/vf_vectorscope.c const uint8_t color[4] = { 128, 0, 0, 255 }; color 1316 libavfilter/vf_vectorscope.c draw_htext(out, x, y, o, 1. - o, positions_name[i], color); color 1360 libavfilter/vf_vectorscope.c uint16_t color[4] = { max, max, max, max }; color 1375 libavfilter/vf_vectorscope.c draw_ihtext16(out, x, y, o, 1. - o, positions_name[i], color); color 1418 libavfilter/vf_vectorscope.c uint8_t color[4] = { 255, 255, 255, 255 }; color 1433 libavfilter/vf_vectorscope.c draw_ihtext(out, x, y, o, 1. - o, positions_name[i], color); color 125 libavfilter/vf_waveform.c const uint8_t color[4]); color 1868 libavfilter/vf_waveform.c static av_always_inline void color(WaveformContext *s, color 1988 libavfilter/vf_waveform.c color(s, in, out, component, s->intensity, \ color 2624 libavfilter/vf_waveform.c static void draw_htext(AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) color 2635 libavfilter/vf_waveform.c int v = color[plane]; color 2650 libavfilter/vf_waveform.c static void draw_htext16(AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) color 2661 libavfilter/vf_waveform.c int v = color[plane] * mult; color 2676 libavfilter/vf_waveform.c static void draw_vtext(AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) color 2687 libavfilter/vf_waveform.c int v = color[plane]; color 2701 libavfilter/vf_waveform.c static void draw_vtext16(AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) color 2712 libavfilter/vf_waveform.c int v = color[plane] * mult; color 2768 libavfilter/vf_waveform.c static void idraw_htext(AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) color 2779 libavfilter/vf_waveform.c int v = color[plane]; color 2794 libavfilter/vf_waveform.c static void idraw_htext16(AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) color 2805 libavfilter/vf_waveform.c int v = color[plane] * mult; color 2820 libavfilter/vf_waveform.c static void idraw_vtext(AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) color 2831 libavfilter/vf_waveform.c int v = color[plane]; color 2845 libavfilter/vf_waveform.c static void idraw_vtext16(AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) color 2856 libavfilter/vf_waveform.c int v = color[plane] * mult; color 177 libavfilter/vsrc_mandelbrot.c static void fill_from_cache(AVFilterContext *ctx, uint32_t *color, int *in_cidx, int *out_cidx, double py, double scale){ color 189 libavfilter/vsrc_mandelbrot.c if(color) color[x] = p->val; color 195 libavfilter/vsrc_mandelbrot.c static int interpol(MBContext *s, uint32_t *color, int x, int y, int linesize) color 209 libavfilter/vsrc_mandelbrot.c a=color[(x+1) + (y+0)*linesize]; color 210 libavfilter/vsrc_mandelbrot.c b=color[(x-1) + (y+1)*linesize]; color 211 libavfilter/vsrc_mandelbrot.c c=color[(x+0) + (y+1)*linesize]; color 212 libavfilter/vsrc_mandelbrot.c d=color[(x+1) + (y+1)*linesize]; color 215 libavfilter/vsrc_mandelbrot.c b= color[(x-1) + (y+0)*linesize]; color 216 libavfilter/vsrc_mandelbrot.c d= color[(x+0) + (y-1)*linesize]; color 218 libavfilter/vsrc_mandelbrot.c a= color[(x+1) + (y-1)*linesize]; color 219 libavfilter/vsrc_mandelbrot.c c= color[(x-1) + (y-1)*linesize]; color 221 libavfilter/vsrc_mandelbrot.c d= color[(x+0) + (y-1)*linesize]; color 222 libavfilter/vsrc_mandelbrot.c a= color[(x-1) + (y+0)*linesize]; color 223 libavfilter/vsrc_mandelbrot.c b= color[(x+1) + (y-1)*linesize]; color 225 libavfilter/vsrc_mandelbrot.c c= color[(x-1) + (y-1)*linesize]; color 226 libavfilter/vsrc_mandelbrot.c a= color[(x-1) + (y+0)*linesize]; color 227 libavfilter/vsrc_mandelbrot.c b= color[(x+1) + (y-1)*linesize]; color 245 libavfilter/vsrc_mandelbrot.c color[x + y*linesize]= ipol; color 249 libavfilter/vsrc_mandelbrot.c static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize, int64_t pts) color 257 libavfilter/vsrc_mandelbrot.c memset(color, 0, sizeof(*color)*s->w); color 263 libavfilter/vsrc_mandelbrot.c memset(color+linesize*y1, 0, sizeof(*color)*s->w); color 264 libavfilter/vsrc_mandelbrot.c fill_from_cache(ctx, color+linesize*y1, &tmp_cidx, NULL, ci + 3*scale/2, scale); color 276 libavfilter/vsrc_mandelbrot.c if(color[x + y*linesize] & 0xFF000000) color 279 libavfilter/vsrc_mandelbrot.c if(interpol(s, color, x, y, linesize)){ color 283 libavfilter/vsrc_mandelbrot.c s->next_cache[next_cidx++].val = color[x + y*linesize]; color 292 libavfilter/vsrc_mandelbrot.c use_zyklus= (x==0 || s->inner!=BLACK ||color[x-1 + y*linesize] == 0xFF000000); color 383 libavfilter/vsrc_mandelbrot.c color[x + y*linesize]= c; color 134 libavfilter/vsrc_mptestsrc.c static void draw_dc(uint8_t *dst, int dst_linesize, int color, int w, int h) color 140 libavfilter/vsrc_mptestsrc.c dst[x + y*dst_linesize] = color; color 167 libavfilter/vsrc_mptestsrc.c int x, y, color = off; color 171 libavfilter/vsrc_mptestsrc.c draw_dc(dst + x + y*dst_linesize, dst_linesize, color, 8, 8); color 172 libavfilter/vsrc_mptestsrc.c color += step; color 232 libavfilter/vsrc_mptestsrc.c int x, y, color = 0; color 236 libavfilter/vsrc_mptestsrc.c draw_dc(dst + x + y*dst_linesize, dst_linesize, ((x+y)&16) ? color : -color, 16, 16); color 237 libavfilter/vsrc_mptestsrc.c color++; color 74 libavfilter/vsrc_testsrc.c FFDrawColor color; color 191 libavfilter/vsrc_testsrc.c AVFILTER_DEFINE_CLASS(color); color 196 libavfilter/vsrc_testsrc.c ff_fill_rectangle(&test->draw, &test->color, color 221 libavfilter/vsrc_testsrc.c ff_draw_color(&test->draw, &test->color, test->color_rgba); color 244 libavfilter/vsrc_testsrc.c ff_draw_color(&test->draw, &test->color, test->color_rgba); color 532 libavfilter/vsrc_testsrc.c int color, color_rest; color 552 libavfilter/vsrc_testsrc.c color = 0; color 557 libavfilter/vsrc_testsrc.c icolor = color; color 568 libavfilter/vsrc_testsrc.c color++; color 691 libavfilter/vsrc_testsrc.c static void set_color(TestSourceContext *s, FFDrawColor *color, uint32_t argb) color 697 libavfilter/vsrc_testsrc.c ff_draw_color(&s->draw, color, rgba); color 714 libavfilter/vsrc_testsrc.c static void draw_text(TestSourceContext *s, AVFrame *frame, FFDrawColor *color, color 725 libavfilter/vsrc_testsrc.c ff_blend_mask(&s->draw, color, frame->data, frame->linesize, color 735 libavfilter/vsrc_testsrc.c FFDrawColor color; color 746 libavfilter/vsrc_testsrc.c set_color(s, &color, ((i & 1) ? 0xFF0000 : 0) | color 750 libavfilter/vsrc_testsrc.c ff_fill_rectangle(&s->draw, &color, frame->data, frame->linesize, color 766 libavfilter/vsrc_testsrc.c set_color(s, &color, color_gradient(g) | alpha); color 772 libavfilter/vsrc_testsrc.c ff_fill_rectangle(&s->draw, &color, frame->data, frame->linesize, color 788 libavfilter/vsrc_testsrc.c set_color(s, &color, (0xBBBBBB ^ (0xFF << (c << 3))) | alpha); color 804 libavfilter/vsrc_testsrc.c ff_fill_rectangle(&s->draw, &color, frame->data, frame->linesize, color 828 libavfilter/vsrc_testsrc.c set_color(s, &color, 0xFF808080); color 834 libavfilter/vsrc_testsrc.c ff_fill_rectangle(&s->draw, &color, frame->data, frame->linesize, color 837 libavfilter/vsrc_testsrc.c ff_fill_rectangle(&s->draw, &color, frame->data, frame->linesize, color 840 libavfilter/vsrc_testsrc.c ff_fill_rectangle(&s->draw, &color, frame->data, frame->linesize, color 862 libavfilter/vsrc_testsrc.c set_color(s, &color, 0xFF00FF80); color 863 libavfilter/vsrc_testsrc.c ff_blend_mask(&s->draw, &color, frame->data, frame->linesize, color 882 libavfilter/vsrc_testsrc.c set_color(s, &color, 0xFF8000FF); color 883 libavfilter/vsrc_testsrc.c ff_fill_rectangle(&s->draw, &color, frame->data, frame->linesize, color 893 libavfilter/vsrc_testsrc.c set_color(s, &color, 0xC0000000); color 894 libavfilter/vsrc_testsrc.c ff_blend_rectangle(&s->draw, &color, frame->data, frame->linesize, color 897 libavfilter/vsrc_testsrc.c set_color(s, &color, 0xFFFF8000); color 901 libavfilter/vsrc_testsrc.c draw_text(s, frame, &color, 4, 4, buf); color 1312 libavfilter/vsrc_testsrc.c static void draw_bar(TestSourceContext *test, const uint8_t color[4], color 1329 libavfilter/vsrc_testsrc.c const int c = color[plane]; color 42 libavformat/gxfenc.c int color; color 235 libavformat/gxfenc.c uint32_t timecode = GXF_TIMECODE(gxf->tc.color, gxf->tc.drop, color 445 libavformat/gxfenc.c timecode_in = GXF_TIMECODE(gxf->tc.color, gxf->tc.drop, color 455 libavformat/gxfenc.c timecode_out = GXF_TIMECODE(gxf->tc.color, gxf->tc.drop, color 691 libavformat/gxfenc.c tc->color = 0; color 308 libavformat/libmodplug.c double color; color 311 libavformat/libmodplug.c color = av_expr_eval(modplug->expr, var_values, NULL); color 312 libavformat/libmodplug.c pkt->data[y*modplug->linesize + x*3 + 2] |= av_clip((int)color, 0, 0xf)<<4; color 199 libavformat/matroskadec.c EbmlList color; color 483 libavformat/matroskadec.c { MATROSKA_ID_VIDEOCOLOR, EBML_NEST, sizeof(MatroskaTrackVideoColor), offsetof(MatroskaTrackVideo, color), { .n = matroska_track_video_color } }, color 2081 libavformat/matroskadec.c const MatroskaTrackVideoColor *color = track->video.color.elem; color 2085 libavformat/matroskadec.c if (!track->video.color.nb_elem) color 2088 libavformat/matroskadec.c mastering_meta = &color->mastering_meta; color 2097 libavformat/matroskadec.c if (color->matrix_coefficients != AVCOL_SPC_RESERVED) color 2098 libavformat/matroskadec.c st->codecpar->color_space = color->matrix_coefficients; color 2099 libavformat/matroskadec.c if (color->primaries != AVCOL_PRI_RESERVED && color 2100 libavformat/matroskadec.c color->primaries != AVCOL_PRI_RESERVED0) color 2101 libavformat/matroskadec.c st->codecpar->color_primaries = color->primaries; color 2102 libavformat/matroskadec.c if (color->transfer_characteristics != AVCOL_TRC_RESERVED && color 2103 libavformat/matroskadec.c color->transfer_characteristics != AVCOL_TRC_RESERVED0) color 2104 libavformat/matroskadec.c st->codecpar->color_trc = color->transfer_characteristics; color 2105 libavformat/matroskadec.c if (color->range != AVCOL_RANGE_UNSPECIFIED && color 2106 libavformat/matroskadec.c color->range <= AVCOL_RANGE_JPEG) color 2107 libavformat/matroskadec.c st->codecpar->color_range = color->range; color 2108 libavformat/matroskadec.c if (color->chroma_siting_horz != MATROSKA_COLOUR_CHROMASITINGHORZ_UNDETERMINED && color 2109 libavformat/matroskadec.c color->chroma_siting_vert != MATROSKA_COLOUR_CHROMASITINGVERT_UNDETERMINED && color 2110 libavformat/matroskadec.c color->chroma_siting_horz < MATROSKA_COLOUR_CHROMASITINGHORZ_NB && color 2111 libavformat/matroskadec.c color->chroma_siting_vert < MATROSKA_COLOUR_CHROMASITINGVERT_NB) { color 2113 libavformat/matroskadec.c avcodec_chroma_pos_to_enum((color->chroma_siting_horz - 1) << 7, color 2114 libavformat/matroskadec.c (color->chroma_siting_vert - 1) << 7); color 2116 libavformat/matroskadec.c if (color->max_cll && color->max_fall) { color 2128 libavformat/matroskadec.c metadata->MaxCLL = color->max_cll; color 2129 libavformat/matroskadec.c metadata->MaxFALL = color->max_fall; color 1188 libavformat/mxfenc.c color = (1<<sc->component_depth) - 1; color 1192 libavformat/mxfenc.c color = (14 << (sc->component_depth - 4)) + 1; color 1199 libavformat/mxfenc.c avio_wb32(pb, color); color 60 libavutil/log.c static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = { color 92 libavutil/log.c static const uint32_t color[16 + AV_CLASS_CATEGORY_NB] = { color 188 libavutil/log.c (color[level] >> 4) & 15, color 189 libavutil/log.c color[level] & 15, color 194 libavutil/log.c (color[level] >> 16) & 0xff, color 200 libavutil/log.c (color[level] >> 16) & 0xff, color 201 libavutil/log.c (color[level] >> 8) & 0xff, color 222 libavutil/log.c SetConsoleTextAttribute(con, background | color[level]); color 2034 libavutil/opt.c uint8_t color[4] = {0, 0, 0, 0}; color 2036 libavutil/opt.c if ((ret = av_parse_color(color, o->default_val.str, -1, NULL)) < 0) color 2039 libavutil/opt.c return !memcmp(color, dst, sizeof(color)); color 436 libavutil/parseutils.c const ColorEntry *color; color 441 libavutil/parseutils.c color = &color_table[color_idx]; color 443 libavutil/parseutils.c *rgbp = color->rgb_color; color 445 libavutil/parseutils.c return color->name; color 43 libavutil/tests/opt.c uint8_t color[4]; color 83 libavutil/tests/opt.c {"color", "set color", OFFSET(color), AV_OPT_TYPE_COLOR, { .str = "pink" }, 0, 0, 1 }, color 139 libavutil/tests/opt.c printf("color=%d %d %d %d\n", test_ctx.color[0], test_ctx.color[1], test_ctx.color[2], test_ctx.color[3]); color 224 libavutil/tests/parseutils.c const char *color; color 227 libavutil/tests/parseutils.c color = av_get_known_color_name(i, &rgba); color 228 libavutil/tests/parseutils.c if (color) color 230 libavutil/tests/parseutils.c color, rgba[0], rgba[1], rgba[2], rgba[3]); color 250 tests/checkasm/checkasm.c uint8_t color; /* 0 = red, 1 = black */ color 374 tests/checkasm/checkasm.c static void color_printf(int color, const char *fmt, ...) color 393 tests/checkasm/checkasm.c SetConsoleTextAttribute(con, (org_attributes & 0xfff0) | (color & 0x0f)); color 400 tests/checkasm/checkasm.c fprintf(stderr, "\x1b[%d;3%dm", (color & 0x08) >> 3, color & 0x07); color 526 tests/checkasm/checkasm.c r->color = f->color; color 527 tests/checkasm/checkasm.c f->color = 0; color 531 tests/checkasm/checkasm.c #define is_red(f) ((f) && !(f)->color) color 539 tests/checkasm/checkasm.c f->color ^= 1; color 540 tests/checkasm/checkasm.c f->child[0]->color = f->child[1]->color = 1; color 742 tests/checkasm/checkasm.c state.funcs->color = 1;