color 780 ffplay.c int x, int y, int w, int h, int color, int update) color 787 ffplay.c SDL_FillRect(screen, &rect, color); color 793 ffplay.c static void fill_border(int xleft, int ytop, int width, int height, int x, int y, int w, int h, int color, int update) color 813 ffplay.c color, update); color 817 ffplay.c color, update); color 821 ffplay.c color, update); color 825 ffplay.c color, update); color 733 libavcodec/4xm.c unsigned int color[4] = { 0 }, bits; color 737 libavcodec/4xm.c color[0] = bytestream2_get_le16u(&g3); color 738 libavcodec/4xm.c color[1] = bytestream2_get_le16u(&g3); color 740 libavcodec/4xm.c if (color[0] & 0x8000) color 742 libavcodec/4xm.c if (color[1] & 0x8000) color 745 libavcodec/4xm.c color[2] = mix(color[0], color[1]); color 746 libavcodec/4xm.c color[3] = mix(color[1], color[0]); color 752 libavcodec/4xm.c dst[y2 * width + x2] = color[(bits >> index) & 3]; color 31 libavcodec/ass.c int color, int back_color, color 70 libavcodec/ass.c font, font_size, color, color, back_color, back_color, color 59 libavcodec/ass.h int color, int back_color, color 445 libavcodec/ass_split.c unsigned int color = 0xFFFFFFFF; color 454 libavcodec/ass_split.c sscanf(buf, "\\c&H%X&%1[\\}]%n", &color, sep, &len) > 1 || color 456 libavcodec/ass_split.c sscanf(buf, "\\%1[1234]c&H%X&%1[\\}]%n", c_num, &color, sep, &len) > 2) { color 457 libavcodec/ass_split.c if (callbacks->color) color 458 libavcodec/ass_split.c callbacks->color(priv, color, c_num[0] - '0'); color 147 libavcodec/ass_split.h void (*color)(void *priv, unsigned int /* color */, unsigned int color_id); color 4853 libavcodec/avcodec.h int padtop, int padbottom, int padleft, int padright, int *color); color 92 libavcodec/cdgraphics.c int color = data[0] & 0x0F; color 96 libavcodec/cdgraphics.c memset(buf, color, CDG_BORDER_HEIGHT * lsize); color 98 libavcodec/cdgraphics.c color, CDG_BORDER_HEIGHT * lsize); color 102 libavcodec/cdgraphics.c memset(buf + y * lsize, color, CDG_BORDER_WIDTH); color 104 libavcodec/cdgraphics.c color, CDG_BORDER_WIDTH); color 112 libavcodec/cdgraphics.c uint16_t color; color 118 libavcodec/cdgraphics.c color = (data[2 * i] << 6) + (data[2 * i + 1] & 0x3F); color 119 libavcodec/cdgraphics.c r = ((color >> 8) & 0x000F) * 17; color 120 libavcodec/cdgraphics.c g = ((color >> 4) & 0x000F) * 17; color 121 libavcodec/cdgraphics.c b = ((color ) & 0x000F) * 17; color 130 libavcodec/cdgraphics.c int color; color 147 libavcodec/cdgraphics.c color = data[0] & 0x0F; color 149 libavcodec/cdgraphics.c color = data[1] & 0x0F; color 153 libavcodec/cdgraphics.c color ^= buf[ai]; color 154 libavcodec/cdgraphics.c buf[ai] = color; color 179 libavcodec/cdgraphics.c int color, int w, int h, int stride) color 184 libavcodec/cdgraphics.c memset(out + tl_x + y * stride, color, w); color 189 libavcodec/cdgraphics.c int color, int w, int h, int stride, int roll) color 195 libavcodec/cdgraphics.c cdg_fill_rect_preset(out_tl_x, out_tl_y, out, color, w, h, stride); color 202 libavcodec/cdgraphics.c int color; color 209 libavcodec/cdgraphics.c color = data[0] & 0x0F; color 243 libavcodec/cdgraphics.c 0, CDG_FULL_HEIGHT - vinc, in, color, color 247 libavcodec/cdgraphics.c 0, 0, in, color, color 252 libavcodec/cdgraphics.c CDG_FULL_WIDTH - hinc, 0, in, color, color 256 libavcodec/cdgraphics.c 0, 0, in, color, color 47 libavcodec/dvbsub.c int x, y, len, x1, v, color; color 59 libavcodec/dvbsub.c color = bitmap[x1++]; color 60 libavcodec/dvbsub.c while (x1 < w && bitmap[x1] == color) color 63 libavcodec/dvbsub.c if (color == 0 && len == 2) { color 72 libavcodec/dvbsub.c PUTBITS2(color); color 80 libavcodec/dvbsub.c PUTBITS2(color); color 93 libavcodec/dvbsub.c PUTBITS2(color); color 95 libavcodec/dvbsub.c PUTBITS2(color); color 96 libavcodec/dvbsub.c if (color == 0) { color 135 libavcodec/dvbsub.c int x, y, len, x1, v, color; color 147 libavcodec/dvbsub.c color = bitmap[x1++]; color 148 libavcodec/dvbsub.c while (x1 < w && bitmap[x1] == color) color 151 libavcodec/dvbsub.c if (color == 0 && len == 2) { color 154 libavcodec/dvbsub.c } else if (color == 0 && (len >= 3 && len <= 9)) { color 160 libavcodec/dvbsub.c PUTBITS4(color); color 165 libavcodec/dvbsub.c PUTBITS4(color); color 174 libavcodec/dvbsub.c PUTBITS4(color); color 176 libavcodec/dvbsub.c PUTBITS4(color); color 177 libavcodec/dvbsub.c if (color == 0) { color 201 libavcodec/dvbsub.c int x, y, len, x1, color; color 211 libavcodec/dvbsub.c color = bitmap[x1++]; color 212 libavcodec/dvbsub.c while (x1 < w && bitmap[x1] == color) color 215 libavcodec/dvbsub.c if (len == 1 && color) { color 217 libavcodec/dvbsub.c *q++ = color; color 219 libavcodec/dvbsub.c if (color == 0x00) { color 229 libavcodec/dvbsub.c *q++ = color; color 232 libavcodec/dvbsub.c *q++ = color; color 233 libavcodec/dvbsub.c *q++ = color; color 235 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 86 libavcodec/dvdsubdec.c *color = get_bits(gb, 8); color 88 libavcodec/dvdsubdec.c *color = get_bits(gb, 2); color 108 libavcodec/dvdsubdec.c int x, y, len, color; color 127 libavcodec/dvdsubdec.c len = decode_run_8bit(&gb, &color); color 129 libavcodec/dvdsubdec.c len = decode_run_2bit(&gb, &color); color 131 libavcodec/dvdsubdec.c memset(d + x, color, len); color 52 libavcodec/dvdsubenc.c int x, y, len, color; color 59 libavcodec/dvdsubenc.c color = bitmap[x]; color 61 libavcodec/dvdsubenc.c if (bitmap[x+len] != color) color 63 libavcodec/dvdsubenc.c color = cmap[color]; color 64 libavcodec/dvdsubenc.c av_assert0(color < 4); color 66 libavcodec/dvdsubenc.c PUTNIBBLE((len << 2)|color); color 69 libavcodec/dvdsubenc.c PUTNIBBLE((len << 2)|color); color 73 libavcodec/dvdsubenc.c PUTNIBBLE((len << 2)|color); color 78 libavcodec/dvdsubenc.c PUTNIBBLE(color); color 85 libavcodec/dvdsubenc.c PUTNIBBLE((len << 2)|color); color 122 libavcodec/dvdsubenc.c uint32_t color; color 134 libavcodec/dvdsubenc.c color = palette[i]; color 136 libavcodec/dvdsubenc.c match = color < 0x33000000 ? 0 : color < 0xCC000000 ? 1 : 17; color 140 libavcodec/dvdsubenc.c d = color_distance(0xFF000000 | color, color 158 libavcodec/dvdsubenc.c uint32_t color; color 170 libavcodec/dvdsubenc.c color = dvdc->global_palette[i]; color 172 libavcodec/dvdsubenc.c for (j = 0; j < 3; j++, color >>= 8) color 173 libavcodec/dvdsubenc.c bright += (color & 0xFF) < 0x40 || (color & 0xFF) >= 0xC0; color 149 libavcodec/error_resilience.c int color= 1024; color 156 libavcodec/error_resilience.c color= dc[b_x + b_y*stride]; color 159 libavcodec/error_resilience.c col [b_x + b_y*stride][1]= color; color 162 libavcodec/error_resilience.c color= 1024; color 169 libavcodec/error_resilience.c color= dc[b_x + b_y*stride]; color 172 libavcodec/error_resilience.c col [b_x + b_y*stride][0]= color; color 177 libavcodec/error_resilience.c int color= 1024; color 184 libavcodec/error_resilience.c color= dc[b_x + b_y*stride]; color 187 libavcodec/error_resilience.c col [b_x + b_y*stride][3]= color; color 190 libavcodec/error_resilience.c color= 1024; color 197 libavcodec/error_resilience.c color= dc[b_x + b_y*stride]; color 200 libavcodec/error_resilience.c col [b_x + b_y*stride][2]= color; color 428 libavcodec/flashsv2enc.c static int pixel_color7_slow(Palette * palette, unsigned color) color 434 libavcodec/flashsv2enc.c int diff = chroma_diff(c1, color); color 452 libavcodec/flashsv2enc.c unsigned color = pixel_bgr(src); color 453 libavcodec/flashsv2enc.c int d15 = chroma_diff(color, color & 0x00f8f8f8); color 455 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 231 libavcodec/imgconvert.c int *color) color 248 libavcodec/imgconvert.c memset(dst->data[i], color[i], color 257 libavcodec/imgconvert.c memset(optr, color[i], (padleft + padright) >> x_shift); color 272 libavcodec/imgconvert.c memset(optr, color[i], (padleft + padright) >> x_shift); color 283 libavcodec/imgconvert.c memset(optr, color[i],dst->linesize[i] * color 157 libavcodec/internal.h void avpriv_color_frame(AVFrame *frame, const int color[4]); color 331 libavcodec/microdvddec.c int color = ASS_DEFAULT_COLOR; color 357 libavcodec/microdvddec.c case 'c': color = tags[i].data1; break; color 369 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 2036 libavcodec/mpegvideo.c int w, int h, int stride, int color) color 2050 libavcodec/mpegvideo.c buf[sy * stride + sx] += color; color 2063 libavcodec/mpegvideo.c buf[y * stride + x] += (color * (0x10000 - fr)) >> 16; color 2064 libavcodec/mpegvideo.c if(fr) buf[(y + 1) * stride + x] += (color * fr ) >> 16; color 2080 libavcodec/mpegvideo.c buf[y * stride + x] += (color * (0x10000 - fr)) >> 16; color 2081 libavcodec/mpegvideo.c if(fr) buf[y * stride + x + 1] += (color * fr ) >> 16; color 2094 libavcodec/mpegvideo.c int ey, int w, int h, int stride, int color, int tail, int direction) color 2125 libavcodec/mpegvideo.c draw_line(buf, sx, sy, sx + rx, sy + ry, w, h, stride, color); color 2126 libavcodec/mpegvideo.c draw_line(buf, sx, sy, sx - ry, sy + rx, w, h, stride, color); color 2128 libavcodec/mpegvideo.c draw_line(buf, sx, sy, ex, ey, w, h, stride, color); color 143 libavcodec/mvcdec.c uint32_t color[128], v[8]; color 163 libavcodec/mvcdec.c color[i] = 0xFF000000 | bytestream2_get_be24u(gb); color 198 libavcodec/mvcdec.c color[p0 & 0x7F]); color 202 libavcodec/mvcdec.c v[0] = v[2] = v[4] = v[6] = color[p0 & 0x7F]; color 203 libavcodec/mvcdec.c v[1] = v[3] = v[5] = v[7] = color[p1 & 0x7F]; color 210 libavcodec/mvcdec.c v[0] = color[p0 & 0x7F]; color 211 libavcodec/mvcdec.c v[1] = color[p1 & 0x7F]; color 213 libavcodec/mvcdec.c v[i] = color[bytestream2_get_byteu(gb) & 0x7F]; color 121 libavcodec/pafvideo.c static void copy_color_mask(uint8_t *dst, int width, uint8_t mask, uint8_t color) color 127 libavcodec/pafvideo.c dst[i] = color; color 129 libavcodec/pafvideo.c dst[width + i] = color; color 161 libavcodec/pafvideo.c uint8_t *dst, *dend, mask = 0, color = 0; color 241 libavcodec/pafvideo.c color = bytestream2_get_byte(&c->gb); color 244 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->pict.data[0] + pixel_count, color, run); color 532 libavcodec/sanm.c int opcode, color, run_len, left = out_size; color 541 libavcodec/sanm.c color = bytestream2_get_byte(&ctx->gb); color 542 libavcodec/sanm.c memset(dst, color, run_len); color 1035 libavcodec/sanm.c static void fill_block(uint16_t *pdest, uint16_t color, int block_size, int pitch) color 1042 libavcodec/sanm.c *pdest++ = color; color 1361 libavcodec/sanm.c static void fill_frame(uint16_t *pbuf, int buf_size, uint16_t color) color 1364 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 54 libavcodec/snow.h uint8_t color[3]; color 64 libavcodec/snow.h .color= {128,128,128}, color 255 libavcodec/snow.h block.color[0]= l; color 256 libavcodec/snow.h block.color[1]= cb; color 257 libavcodec/snow.h block.color[2]= cr; color 289 libavcodec/snow.h return !((a->color[0] - b->color[0]) | (a->color[1] - b->color[1]) | (a->color[2] - b->color[2])); color 488 libavcodec/snow.h block.color[0]= l; color 489 libavcodec/snow.h block.color[1]= cb; color 490 libavcodec/snow.h block.color[2]= cr; color 168 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 174 libavcodec/snowdec.c int l = left->color[0]; color 175 libavcodec/snowdec.c int cb= left->color[1]; color 176 libavcodec/snowdec.c int cr= left->color[2]; color 234 libavcodec/snowenc.c int pl = left->color[0]; color 235 libavcodec/snowenc.c int pcb= left->color[1]; color 236 libavcodec/snowenc.c int pcr= left->color[2]; color 450 libavcodec/snowenc.c int pl = left->color[0]; color 451 libavcodec/snowenc.c int pcb= left->color[1]; color 452 libavcodec/snowenc.c int pcr= left->color[2]; color 479 libavcodec/snowenc.c put_symbol(&s->c, &s->block_state[32], b->color[0]-pl , 1); color 481 libavcodec/snowenc.c put_symbol(&s->c, &s->block_state[64], b->color[1]-pcb, 1); color 482 libavcodec/snowenc.c put_symbol(&s->c, &s->block_state[96], b->color[2]-pcr, 1); color 484 libavcodec/snowenc.c set_blocks(s, level, x, y, b->color[0], b->color[1], b->color[2], pmx, pmy, 0, BLOCK_INTRA); color 519 libavcodec/snowenc.c b->color[plane_index]= 0; color 579 libavcodec/snowenc.c return 3+2*( av_log2(2*FFABS(left->color[0] - b->color[0])) color 580 libavcodec/snowenc.c + av_log2(2*FFABS(left->color[1] - b->color[1])) color 581 libavcodec/snowenc.c + av_log2(2*FFABS(left->color[2] - b->color[2]))); color 900 libavcodec/snowenc.c block->color[0] = p[0]; color 901 libavcodec/snowenc.c block->color[1] = p[1]; color 902 libavcodec/snowenc.c block->color[2] = p[2]; color 986 libavcodec/snowenc.c int color[3]; color 1084 libavcodec/snowenc.c color[i]= get_dc(s, mb_x, mb_y, i); color 1088 libavcodec/snowenc.c int color0[3]= {block->color[0], block->color[1], block->color[2]}; color 1144 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 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 290 libavcodec/vmnc.c if (color) color 231 libavcodec/vqavideo.c unsigned char color; color 263 libavcodec/vqavideo.c color = bytestream2_get_byte(&s->gb); color 264 libavcodec/vqavideo.c av_dlog(s->avctx, "(2) set %X bytes to %02X\n", count, color); color 266 libavcodec/vqavideo.c memset(&dest[dest_index], color, count); color 987 libavcodec/webp.c uint8_t color) color 989 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 141 libavcodec/xsubdec.c int color = get_bits(&gb, 2); color 145 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 163 libavdevice/caca.c CHECK_DITHER_OPT(color); color 210 libavdevice/caca.c { "color", "set color used to render output", OFFSET(color), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC }, color 267 libavdevice/x11grab.c XColor color[256]; color 364 libavdevice/x11grab.c color[i].pixel = i; color 365 libavdevice/x11grab.c XQueryColors(dpy, color_map, color, 256); color 367 libavdevice/x11grab.c x11grab->palette[i] = (color[i].red & 0xFF00) << 8 | color 368 libavdevice/x11grab.c (color[i].green & 0xFF00) | color 369 libavdevice/x11grab.c (color[i].blue & 0xFF00) >> 8; color 233 libavfilter/allfilters.c REGISTER_FILTER(COLOR, color, vsrc); color 198 libavfilter/drawutils.c void ff_draw_color(FFDrawContext *draw, FFDrawColor *color, const uint8_t rgba[4]) color 203 libavfilter/drawutils.c if (rgba != color->rgba) color 204 libavfilter/drawutils.c memcpy(color->rgba, rgba, sizeof(color->rgba)); color 209 libavfilter/drawutils.c color->comp[0].u8[rgba_map[i]] = rgba[i]; color 212 libavfilter/drawutils.c color->comp[rgba_map[i]].u8[0] = rgba[i]; color 216 libavfilter/drawutils.c color->comp[0].u8[0] = RGB_TO_Y_CCIR(rgba[0], rgba[1], rgba[2]); color 217 libavfilter/drawutils.c color->comp[1].u8[0] = RGB_TO_U_CCIR(rgba[0], rgba[1], rgba[2], 0); color 218 libavfilter/drawutils.c color->comp[2].u8[0] = RGB_TO_V_CCIR(rgba[0], rgba[1], rgba[2], 0); color 219 libavfilter/drawutils.c color->comp[3].u8[0] = rgba[3]; color 221 libavfilter/drawutils.c color->comp[0].u8[0] = RGB_TO_Y_CCIR(rgba[0], rgba[1], rgba[2]); color 222 libavfilter/drawutils.c color->comp[1].u8[0] = rgba[3]; color 226 libavfilter/drawutils.c memset(color, 128, sizeof(*color)); color 260 libavfilter/drawutils.c void ff_fill_rectangle(FFDrawContext *draw, FFDrawColor *color, color 276 libavfilter/drawutils.c memcpy(p, color->comp[plane].u8, draw->pixelstep[plane]); color 355 libavfilter/drawutils.c void ff_blend_rectangle(FFDrawContext *draw, FFDrawColor *color, color 367 libavfilter/drawutils.c if (w <= 0 || h <= 0 || !color->rgba[3]) color 370 libavfilter/drawutils.c alpha = 0x10203 * color->rgba[3] + 0x2; color 386 libavfilter/drawutils.c blend_line(p, color->comp[plane].u8[comp], alpha >> 1, color 392 libavfilter/drawutils.c blend_line(p, color->comp[plane].u8[comp], alpha, color 398 libavfilter/drawutils.c blend_line(p, color->comp[plane].u8[comp], alpha >> 1, color 453 libavfilter/drawutils.c void ff_blend_mask(FFDrawContext *draw, FFDrawColor *color, color 465 libavfilter/drawutils.c if (mask_w <= 0 || mask_h <= 0 || !color->rgba[3]) color 469 libavfilter/drawutils.c alpha = (0x10307 * color->rgba[3] + 0x3) >> 8; color 487 libavfilter/drawutils.c color->comp[plane].u8[comp], alpha, color 496 libavfilter/drawutils.c color->comp[plane].u8[comp], alpha, color 505 libavfilter/drawutils.c color->comp[plane].u8[comp], alpha, color 546 libavfilter/drawutils.c FFDrawColor color; color 562 libavfilter/drawutils.c ff_draw_color(&draw, &color, (uint8_t[]) { 1, 0, 0, 1 }); color 563 libavfilter/drawutils.c for (i = 0; i < sizeof(color); i++) color 564 libavfilter/drawutils.c if (((uint8_t *)&color)[i] != 128) color 566 libavfilter/drawutils.c if (i == sizeof(color)) { color 82 libavfilter/drawutils.h void ff_draw_color(FFDrawContext *draw, FFDrawColor *color, const uint8_t rgba[4]); color 101 libavfilter/drawutils.h void ff_fill_rectangle(FFDrawContext *draw, FFDrawColor *color, color 108 libavfilter/drawutils.h void ff_blend_rectangle(FFDrawContext *draw, FFDrawColor *color, color 131 libavfilter/drawutils.h void ff_blend_mask(FFDrawContext *draw, FFDrawColor *color, color 207 libavfilter/f_ebur128.c static void drawtext(AVFrame *pic, int x, int y, int ftid, const uint8_t *color, const char *fmt, ...) color 230 libavfilter/f_ebur128.c memcpy(p, color, 3); color 98 libavfilter/vf_codecview.c int w, int h, int stride, int color) color 112 libavfilter/vf_codecview.c buf[sy * stride + sx] += color; color 125 libavfilter/vf_codecview.c buf[ y * stride + x] += (color * (0x10000 - fr)) >> 16; color 126 libavfilter/vf_codecview.c if(fr) buf[(y + 1) * stride + x] += (color * fr ) >> 16; color 142 libavfilter/vf_codecview.c buf[y * stride + x ] += (color * (0x10000 - fr)) >> 16; color 143 libavfilter/vf_codecview.c if(fr) buf[y * stride + x + 1] += (color * fr ) >> 16; color 156 libavfilter/vf_codecview.c int ey, int w, int h, int stride, int color, int tail, int direction) color 187 libavfilter/vf_codecview.c draw_line(buf, sx, sy, sx + rx, sy + ry, w, h, stride, color); color 188 libavfilter/vf_codecview.c draw_line(buf, sx, sy, sx - ry, sy + rx, w, h, stride, color); color 190 libavfilter/vf_codecview.c draw_line(buf, sx, sy, ex, ey, w, h, stride, color); color 138 libavfilter/vf_colormatrix.c ColorMatrixContext *color = ctx->priv; color 150 libavfilter/vf_colormatrix.c color->yuv_convert[v][k][0] = NS(yuv_convertd[v][k][0]); color 151 libavfilter/vf_colormatrix.c color->yuv_convert[v][k][1] = NS(yuv_convertd[v][k][1]); color 152 libavfilter/vf_colormatrix.c color->yuv_convert[v][k][2] = NS(yuv_convertd[v][k][2]); color 154 libavfilter/vf_colormatrix.c if (color->yuv_convert[v][0][0] != 65536 || color->yuv_convert[v][1][0] != 0 || color 155 libavfilter/vf_colormatrix.c color->yuv_convert[v][2][0] != 0) { color 167 libavfilter/vf_colormatrix.c ColorMatrixContext *color = ctx->priv; color 169 libavfilter/vf_colormatrix.c if (color->dest == COLOR_MODE_NONE) { color 174 libavfilter/vf_colormatrix.c if (color->source == color->dest) { color 182 libavfilter/vf_colormatrix.c static void process_frame_uyvy422(ColorMatrixContext *color, color 191 libavfilter/vf_colormatrix.c const int c2 = color->yuv_convert[color->mode][0][1]; color 192 libavfilter/vf_colormatrix.c const int c3 = color->yuv_convert[color->mode][0][2]; color 193 libavfilter/vf_colormatrix.c const int c4 = color->yuv_convert[color->mode][1][1]; color 194 libavfilter/vf_colormatrix.c const int c5 = color->yuv_convert[color->mode][1][2]; color 195 libavfilter/vf_colormatrix.c const int c6 = color->yuv_convert[color->mode][2][1]; color 196 libavfilter/vf_colormatrix.c const int c7 = color->yuv_convert[color->mode][2][2]; color 214 libavfilter/vf_colormatrix.c static void process_frame_yuv422p(ColorMatrixContext *color, color 229 libavfilter/vf_colormatrix.c const int c2 = color->yuv_convert[color->mode][0][1]; color 230 libavfilter/vf_colormatrix.c const int c3 = color->yuv_convert[color->mode][0][2]; color 231 libavfilter/vf_colormatrix.c const int c4 = color->yuv_convert[color->mode][1][1]; color 232 libavfilter/vf_colormatrix.c const int c5 = color->yuv_convert[color->mode][1][2]; color 233 libavfilter/vf_colormatrix.c const int c6 = color->yuv_convert[color->mode][2][1]; color 234 libavfilter/vf_colormatrix.c const int c7 = color->yuv_convert[color->mode][2][2]; color 256 libavfilter/vf_colormatrix.c static void process_frame_yuv420p(ColorMatrixContext *color, color 273 libavfilter/vf_colormatrix.c const int c2 = color->yuv_convert[color->mode][0][1]; color 274 libavfilter/vf_colormatrix.c const int c3 = color->yuv_convert[color->mode][0][2]; color 275 libavfilter/vf_colormatrix.c const int c4 = color->yuv_convert[color->mode][1][1]; color 276 libavfilter/vf_colormatrix.c const int c5 = color->yuv_convert[color->mode][1][2]; color 277 libavfilter/vf_colormatrix.c const int c6 = color->yuv_convert[color->mode][2][1]; color 278 libavfilter/vf_colormatrix.c const int c7 = color->yuv_convert[color->mode][2][2]; color 307 libavfilter/vf_colormatrix.c ColorMatrixContext *color = ctx->priv; color 310 libavfilter/vf_colormatrix.c color->hsub = pix_desc->log2_chroma_w; color 311 libavfilter/vf_colormatrix.c color->vsub = pix_desc->log2_chroma_h; color 314 libavfilter/vf_colormatrix.c color_modes[color->source], color_modes[color->dest]); color 336 libavfilter/vf_colormatrix.c ColorMatrixContext *color = ctx->priv; color 347 libavfilter/vf_colormatrix.c if (color->source == COLOR_MODE_NONE) { color 362 libavfilter/vf_colormatrix.c color->mode = source * 4 + color->dest; color 364 libavfilter/vf_colormatrix.c color->mode = color->source * 4 + color->dest; color 366 libavfilter/vf_colormatrix.c switch(color->dest) { color 376 libavfilter/vf_colormatrix.c process_frame_yuv422p(color, out, in); color 378 libavfilter/vf_colormatrix.c process_frame_yuv420p(color, out, in); color 380 libavfilter/vf_colormatrix.c process_frame_uyvy422(color, out, in); color 1054 libavfilter/vf_drawtext.c FFDrawColor *color, int x, int y, int borderw) color 1083 libavfilter/vf_drawtext.c ff_blend_mask(&s->dc, color, color 200 libavfilter/vf_lut.c int val, color, ret; color 237 libavfilter/vf_lut.c for (color = 0; color < desc->nb_components; color++) { color 239 libavfilter/vf_lut.c int comp = s->is_rgb ? rgba_map[color] : color; color 242 libavfilter/vf_lut.c av_expr_free(s->comp_expr[color]); color 243 libavfilter/vf_lut.c s->comp_expr[color] = NULL; color 244 libavfilter/vf_lut.c ret = av_expr_parse(&s->comp_expr[color], s->comp_expr_str[color], color 249 libavfilter/vf_lut.c s->comp_expr_str[comp], comp, color); color 254 libavfilter/vf_lut.c s->var_values[VAR_MAXVAL] = max[color]; color 255 libavfilter/vf_lut.c s->var_values[VAR_MINVAL] = min[color]; color 259 libavfilter/vf_lut.c s->var_values[VAR_CLIPVAL] = av_clip(val, min[color], max[color]); color 261 libavfilter/vf_lut.c av_clip(min[color] + max[color] - s->var_values[VAR_VAL], color 262 libavfilter/vf_lut.c min[color], max[color]); color 264 libavfilter/vf_lut.c res = av_expr_eval(s->comp_expr[color], s->var_values, s); color 268 libavfilter/vf_lut.c s->comp_expr_str[color], val, comp); color 271 libavfilter/vf_lut.c s->lut[comp][val] = av_clip((int)res, min[color], max[color]); color 92 libavfilter/vf_pad.c FFDrawColor color; color 104 libavfilter/vf_pad.c ff_draw_color(&s->draw, &s->color, s->rgba_color); color 323 libavfilter/vf_pad.c ff_fill_rectangle(&s->draw, &s->color, color 330 libavfilter/vf_pad.c ff_fill_rectangle(&s->draw, &s->color, color 336 libavfilter/vf_pad.c ff_fill_rectangle(&s->draw, &s->color, out->data, out->linesize, color 346 libavfilter/vf_pad.c ff_fill_rectangle(&s->draw, &s->color, out->data, out->linesize, color 34 libavfilter/vf_palettegen.c uint32_t color; color 40 libavfilter/vf_palettegen.c uint32_t color; // average color color 113 libavfilter/vf_palettegen.c return ((*a)->color >> (8 * (2 - (pos))) & 0xff) \ color 114 libavfilter/vf_palettegen.c - ((*b)->color >> (8 * (2 - (pos))) & 0xff); \ color 130 libavfilter/vf_palettegen.c return box1->color - box2->color; color 164 libavfilter/vf_palettegen.c variance += diff(ref->color, box->color) * ref->count; color 192 libavfilter/vf_palettegen.c r += (ref->color >> 16 & 0xff) * ref->count; color 193 libavfilter/vf_palettegen.c g += (ref->color >> 8 & 0xff) * ref->count; color 194 libavfilter/vf_palettegen.c b += (ref->color & 0xff) * ref->count; color 220 libavfilter/vf_palettegen.c box->color = get_avg_color(s->refs, box); color 221 libavfilter/vf_palettegen.c new_box->color = get_avg_color(s->refs, new_box); color 240 libavfilter/vf_palettegen.c pal[x] = s->boxes[box_id++].color; color 319 libavfilter/vf_palettegen.c box->color = get_avg_color(s->refs, box); color 333 libavfilter/vf_palettegen.c const uint32_t rgb = ref->color; color 394 libavfilter/vf_palettegen.c static inline unsigned color_hash(uint32_t color) color 396 libavfilter/vf_palettegen.c const uint8_t r = color >> 16 & ((1<<NBITS)-1); color 397 libavfilter/vf_palettegen.c const uint8_t g = color >> 8 & ((1<<NBITS)-1); color 398 libavfilter/vf_palettegen.c const uint8_t b = color & ((1<<NBITS)-1); color 405 libavfilter/vf_palettegen.c static int color_inc(struct hist_node *hist, uint32_t color) color 408 libavfilter/vf_palettegen.c const unsigned hash = color_hash(color); color 414 libavfilter/vf_palettegen.c if (e->color == color) { color 424 libavfilter/vf_palettegen.c e->color = color; color 66 libavfilter/vf_paletteuse.c uint32_t color; color 319 libavfilter/vf_paletteuse.c static av_always_inline int color_get(struct cache_node *cache, uint32_t color, color 336 libavfilter/vf_paletteuse.c if (e->color == color) color 344 libavfilter/vf_paletteuse.c e->color = color; color 396 libavfilter/vf_paletteuse.c const int color = color_get(cache, c, r, g, b, map, palette, search_method); color 398 libavfilter/vf_paletteuse.c if (color < 0) color 399 libavfilter/vf_paletteuse.c return color; color 400 libavfilter/vf_paletteuse.c dst[x] = color; color 404 libavfilter/vf_paletteuse.c const int color = get_dst_color_err(cache, src[x], map, palette, &er, &eg, &eb, search_method); color 406 libavfilter/vf_paletteuse.c if (color < 0) color 407 libavfilter/vf_paletteuse.c return color; color 408 libavfilter/vf_paletteuse.c dst[x] = color; color 416 libavfilter/vf_paletteuse.c const int color = get_dst_color_err(cache, src[x], map, palette, &er, &eg, &eb, search_method); color 418 libavfilter/vf_paletteuse.c if (color < 0) color 419 libavfilter/vf_paletteuse.c return color; color 420 libavfilter/vf_paletteuse.c dst[x] = color; color 430 libavfilter/vf_paletteuse.c const int color = get_dst_color_err(cache, src[x], map, palette, &er, &eg, &eb, search_method); color 432 libavfilter/vf_paletteuse.c if (color < 0) color 433 libavfilter/vf_paletteuse.c return color; color 434 libavfilter/vf_paletteuse.c dst[x] = color; color 449 libavfilter/vf_paletteuse.c const int color = get_dst_color_err(cache, src[x], map, palette, &er, &eg, &eb, search_method); color 451 libavfilter/vf_paletteuse.c if (color < 0) color 452 libavfilter/vf_paletteuse.c return color; color 453 libavfilter/vf_paletteuse.c dst[x] = color; color 463 libavfilter/vf_paletteuse.c const int color = color_get(cache, src[x] & 0xffffff, r, g, b, map, palette, search_method); color 465 libavfilter/vf_paletteuse.c if (color < 0) color 466 libavfilter/vf_paletteuse.c return color; color 467 libavfilter/vf_paletteuse.c dst[x] = color; color 576 libavfilter/vf_paletteuse.c const struct color *a = pa; \ color 577 libavfilter/vf_paletteuse.c const struct color *b = pb; \ color 595 libavfilter/vf_paletteuse.c struct color tmp_pal[256]; color 640 libavfilter/vf_paletteuse.c AV_QSORT(tmp_pal, nb_color, struct color, cmpf); color 79 libavfilter/vf_rotate.c FFDrawColor color; color 199 libavfilter/vf_rotate.c ff_draw_color(&rot->draw, &rot->color, rot->fillcolor); color 489 libavfilter/vf_rotate.c ff_fill_rectangle(&rot->draw, &rot->color, out->data, out->linesize, color 162 libavfilter/vf_subtitles.c uint8_t rgba_color[] = {AR(image->color), AG(image->color), AB(image->color), AA(image->color)}; color 163 libavfilter/vf_subtitles.c FFDrawColor color; color 164 libavfilter/vf_subtitles.c ff_draw_color(&ass->draw, &color, rgba_color); color 165 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 175 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 187 libavfilter/vsrc_mandelbrot.c if(color) color[x] = p->val; color 193 libavfilter/vsrc_mandelbrot.c static int interpol(MBContext *mb, uint32_t *color, int x, int y, int linesize) color 207 libavfilter/vsrc_mandelbrot.c a=color[(x+1) + (y+0)*linesize]; color 208 libavfilter/vsrc_mandelbrot.c b=color[(x-1) + (y+1)*linesize]; color 209 libavfilter/vsrc_mandelbrot.c c=color[(x+0) + (y+1)*linesize]; color 210 libavfilter/vsrc_mandelbrot.c d=color[(x+1) + (y+1)*linesize]; color 213 libavfilter/vsrc_mandelbrot.c b= color[(x-1) + (y+0)*linesize]; color 214 libavfilter/vsrc_mandelbrot.c d= color[(x+0) + (y-1)*linesize]; color 216 libavfilter/vsrc_mandelbrot.c a= color[(x+1) + (y-1)*linesize]; color 217 libavfilter/vsrc_mandelbrot.c c= color[(x-1) + (y-1)*linesize]; color 219 libavfilter/vsrc_mandelbrot.c d= color[(x+0) + (y-1)*linesize]; color 220 libavfilter/vsrc_mandelbrot.c a= color[(x-1) + (y+0)*linesize]; color 221 libavfilter/vsrc_mandelbrot.c b= color[(x+1) + (y-1)*linesize]; color 223 libavfilter/vsrc_mandelbrot.c c= color[(x-1) + (y-1)*linesize]; color 224 libavfilter/vsrc_mandelbrot.c a= color[(x-1) + (y+0)*linesize]; color 225 libavfilter/vsrc_mandelbrot.c b= color[(x+1) + (y-1)*linesize]; color 243 libavfilter/vsrc_mandelbrot.c color[x + y*linesize]= ipol; color 247 libavfilter/vsrc_mandelbrot.c static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize, int64_t pts) color 255 libavfilter/vsrc_mandelbrot.c memset(color, 0, sizeof(*color)*mb->w); color 261 libavfilter/vsrc_mandelbrot.c memset(color+linesize*y1, 0, sizeof(*color)*mb->w); color 262 libavfilter/vsrc_mandelbrot.c fill_from_cache(ctx, color+linesize*y1, &tmp_cidx, NULL, ci + 3*scale/2, scale); color 274 libavfilter/vsrc_mandelbrot.c if(color[x + y*linesize] & 0xFF000000) color 277 libavfilter/vsrc_mandelbrot.c if(interpol(mb, color, x, y, linesize)){ color 281 libavfilter/vsrc_mandelbrot.c mb->next_cache[next_cidx++].val = color[x + y*linesize]; color 290 libavfilter/vsrc_mandelbrot.c use_zyklus= (x==0 || mb->inner!=BLACK ||color[x-1 + y*linesize] == 0xFF000000); color 381 libavfilter/vsrc_mandelbrot.c color[x + y*linesize]= c; color 129 libavfilter/vsrc_mptestsrc.c static void draw_dc(uint8_t *dst, int dst_linesize, int color, int w, int h) color 135 libavfilter/vsrc_mptestsrc.c dst[x + y*dst_linesize] = color; color 162 libavfilter/vsrc_mptestsrc.c int x, y, color = off; color 166 libavfilter/vsrc_mptestsrc.c draw_dc(dst + x + y*dst_linesize, dst_linesize, color, 8, 8); color 167 libavfilter/vsrc_mptestsrc.c color += step; color 227 libavfilter/vsrc_mptestsrc.c int x, y, color = 0; color 231 libavfilter/vsrc_mptestsrc.c draw_dc(dst + x + y*dst_linesize, dst_linesize, ((x+y)&16) ? color : -color, 16, 16); color 232 libavfilter/vsrc_mptestsrc.c color++; color 69 libavfilter/vsrc_testsrc.c FFDrawColor color; color 185 libavfilter/vsrc_testsrc.c AVFILTER_DEFINE_CLASS(color); color 190 libavfilter/vsrc_testsrc.c ff_fill_rectangle(&test->draw, &test->color, color 216 libavfilter/vsrc_testsrc.c ff_draw_color(&test->draw, &test->color, test->color_rgba); color 243 libavfilter/vsrc_testsrc.c ff_draw_color(&test->draw, &test->color, test->color_rgba); color 531 libavfilter/vsrc_testsrc.c int color, color_rest; color 551 libavfilter/vsrc_testsrc.c color = 0; color 556 libavfilter/vsrc_testsrc.c icolor = color; color 567 libavfilter/vsrc_testsrc.c color++; color 837 libavfilter/vsrc_testsrc.c static void draw_bar(TestSourceContext *test, const uint8_t color[4], color 854 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 447 libavformat/gxfenc.c timecode_in = GXF_TIMECODE(gxf->tc.color, gxf->tc.drop, color 457 libavformat/gxfenc.c timecode_out = GXF_TIMECODE(gxf->tc.color, gxf->tc.drop, color 695 libavformat/gxfenc.c tc->color = 0; color 306 libavformat/libmodplug.c double color; color 309 libavformat/libmodplug.c color = av_expr_eval(modplug->expr, var_values, NULL); color 310 libavformat/libmodplug.c pkt->data[y*modplug->linesize + x*3 + 2] |= av_clip((int)color, 0, 0xf)<<4; color 55 libavutil/log.c static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = { color 86 libavutil/log.c static const uint32_t color[16 + AV_CLASS_CATEGORY_NB] = { color 155 libavutil/log.c SetConsoleTextAttribute(con, background | color[level]); color 163 libavutil/log.c (color[level] >> 4) & 15, color 164 libavutil/log.c color[level] & 15, color 169 libavutil/log.c (color[level] >> 16) & 0xff, color 175 libavutil/log.c (color[level] >> 16) & 0xff, color 176 libavutil/log.c (color[level] >> 8) & 0xff, color 1822 libavutil/opt.c uint8_t color[4] = {0, 0, 0, 0}; color 1824 libavutil/opt.c if ((ret = av_parse_color(color, o->default_val.str, -1, NULL)) < 0) color 1827 libavutil/opt.c return !memcmp(color, dst, sizeof(color)); color 1910 libavutil/opt.c uint8_t color[4]; color 1945 libavutil/opt.c {"color", "set color", OFFSET(color), AV_OPT_TYPE_COLOR, {.str = "pink"}, 0, 0, 1}, color 1996 libavutil/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 426 libavutil/parseutils.c const ColorEntry *color; color 431 libavutil/parseutils.c color = &color_table[color_idx]; color 433 libavutil/parseutils.c *rgbp = color->rgb_color; color 435 libavutil/parseutils.c return color->name;