cr 582 libavcodec/4xm.c int cr = block[5][x + 8 * y]; cr 583 libavcodec/4xm.c int cg = (cb + cr) >> 1; cr 589 libavcodec/4xm.c dst[0] = ((y + cb) >> 3) + (((y - cg) & 0xFC) << 3) + (((y + cr) & 0xF8) << 8); cr 591 libavcodec/4xm.c dst[1] = ((y + cb) >> 3) + (((y - cg) & 0xFC) << 3) + (((y + cr) & 0xF8) << 8); cr 593 libavcodec/4xm.c dst[stride] = ((y + cb) >> 3) + (((y - cg) & 0xFC) << 3) + (((y + cr) & 0xF8) << 8); cr 595 libavcodec/4xm.c dst[1 + stride] = ((y + cb) >> 3) + (((y - cg) & 0xFC) << 3) + (((y + cr) & 0xF8) << 8); cr 62 libavcodec/cljrdec.c uint8_t *cr = &p->data[2][y * p->linesize[2]]; cr 70 libavcodec/cljrdec.c *(cr++) = get_bits(&gb, 6) << 2; cr 67 libavcodec/cljrenc.c uint8_t *cr = &p->data[2][y * p->linesize[2]]; cr 86 libavcodec/cljrenc.c put_bits(&pb, 6, (253*(*(cr++) + ((dither>>16)&3))) >> 10); cr 1055 libavcodec/dvbsubdec.c int y, cr, cb, alpha; cr 1106 libavcodec/dvbsubdec.c cr = *buf++; cr 1111 libavcodec/dvbsubdec.c cr = (((buf[0] & 3) << 2) | ((buf[1] >> 6) & 3)) << 4; cr 1121 libavcodec/dvbsubdec.c YUV_TO_RGB1_CCIR(cb, cr); cr 54 libavcodec/dvdsubdec.c int i, y, cb, cr; cr 59 libavcodec/dvdsubdec.c cr = *ycbcr++; cr 61 libavcodec/dvdsubdec.c YUV_TO_RGB1_CCIR(cb, cr); cr 634 libavcodec/dvdsubdec.c int i, y, cb, cr, r_add, g_add, b_add; cr 668 libavcodec/dvdsubdec.c cr = *++buf; cr 670 libavcodec/dvdsubdec.c YUV_TO_RGB1_CCIR(cb, cr); cr 208 libavcodec/escape130.c unsigned y[4] = { 0 }, cb = 0x10, cr = 0x10; cr 255 libavcodec/escape130.c cr = old_cr[0]; cr 279 libavcodec/escape130.c cr = get_bits(&gb, 5); cr 283 libavcodec/escape130.c cr = (cr + chroma_adjust[1][adjust_index]) & 31; cr 294 libavcodec/escape130.c *new_cr = cr; cr 145 libavcodec/fraps.c uint32_t *luma1,*luma2,*cb,*cr; cr 243 libavcodec/fraps.c cr = (uint32_t*)&f->data[1][ y * f->linesize[1] ]; cr 250 libavcodec/fraps.c *cr++ = *buf32++; cr 873 libavcodec/h264_slice.c int cr = sps->crop_right; cr 877 libavcodec/h264_slice.c int width = h->width - (cr + cl); cr 893 libavcodec/h264_slice.c cr = h->width - width; cr 904 libavcodec/h264_slice.c h->crop_right = cr; cr 87 libavcodec/m101.c uint16_t *cr = (uint16_t*)&frame->data[2][y*frame->linesize[2]]; cr 97 libavcodec/m101.c cr[xd>>1] = (4*buf_src[2*x + 3]) + (buf_src[32 + (x>>1)]>>6); cr 335 libavcodec/pgssubdec.c int y, cb, cr, alpha; cr 356 libavcodec/pgssubdec.c cr = bytestream_get_byte(&buf); cr 362 libavcodec/pgssubdec.c YUV_TO_RGB1_CCIR_BT709(cb, cr); cr 364 libavcodec/pgssubdec.c YUV_TO_RGB1_CCIR(cb, cr); cr 609 libavcodec/rasc.c int cr = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 0]; cr 616 libavcodec/rasc.c if (cr == s->cursor[0] && cg == s->cursor[1] && cb == s->cursor[2]) cr 625 libavcodec/rasc.c dist = FFABS(cr - pr) + FFABS(cg - pg) + FFABS(cb - pb); cr 637 libavcodec/rasc.c int cr = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 0]; cr 641 libavcodec/rasc.c if (cr == s->cursor[0] && cg == s->cursor[1] && cb == s->cursor[2]) cr 644 libavcodec/rasc.c cr >>= 3; cg >>=3; cb >>= 3; cr 646 libavcodec/rasc.c AV_WL16(dst, cr | cg << 5 | cb << 10); cr 652 libavcodec/rasc.c int cr = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 0]; cr 656 libavcodec/rasc.c if (cr == s->cursor[0] && cg == s->cursor[1] && cb == s->cursor[2]) cr 662 libavcodec/rasc.c dst[2] = cr; cr 462 libavcodec/snow.h static inline void set_blocks(SnowContext *s, int level, int x, int y, int l, int cb, int cr, int mx, int my, int ref, int type){ cr 473 libavcodec/snow.h block.color[2]= cr; cr 179 libavcodec/snowdec.c int cr= left->color[2]; cr 201 libavcodec/snowdec.c cr += crd; cr 214 libavcodec/snowdec.c set_blocks(s, level, x, y, l, cb, cr, mx, my, ref, type); cr 256 libavcodec/snowenc.c int l,cr,cb; cr 391 libavcodec/snowenc.c cr= (sum + block_s/2)/block_s; cr 394 libavcodec/snowenc.c cb = cr = 0; cr 406 libavcodec/snowenc.c put_symbol(&ic, &i_state[96], cr-pcr, 1); cr 443 libavcodec/snowenc.c set_blocks(s, level, x, y, l, cb, cr, pmx, pmy, 0, BLOCK_INTRA); cr 79 libavcodec/vcr1.c uint8_t *cr = &p->data[2][(y >> 2) * p->linesize[2]]; cr 95 libavcodec/vcr1.c *cr++ = bytestream[1]; cr 262 libavfilter/avf_showspatial.c float cr = av_clipf(cbrtf(l / sum), 0, 1) * 255.f; cr 273 libavfilter/avf_showspatial.c draw_dot(outpicref->data[2] + outpicref->linesize[2] * y + x, outpicref->linesize[2], cr); cr 135 libavfilter/colorspace.c if (!coeffs->cr) cr 147 libavfilter/colorspace.c if (coeffs->cr == 0.25 && coeffs->cg == 0.5 && coeffs->cb == 0.25) { cr 150 libavfilter/colorspace.c } else if (coeffs->cr == 1 && coeffs->cg == 1 && coeffs->cb == 1) { cr 155 libavfilter/colorspace.c rgb2yuv[0][0] = coeffs->cr; cr 159 libavfilter/colorspace.c rscale = 0.5 / (coeffs->cr - 1.0); cr 160 libavfilter/colorspace.c rgb2yuv[1][0] = bscale * coeffs->cr; cr 29 libavfilter/colorspace.h double cr, cg, cb; cr 274 libavfilter/vf_geq.c lum , cb , cr , alpha , cr 287 libavfilter/vf_geq.c lum , cb , cr , alpha , p[plane], cr 148 libavfilter/vf_tonemap.c float luma = s->coeffs->cr * *r_in + s->coeffs->cg * *g_in + s->coeffs->cb * *b_in; cr 229 libavfilter/vf_tonemap_opencl.c luma_src->cr, luma_src->cg, luma_src->cb); cr 231 libavfilter/vf_tonemap_opencl.c luma_dst->cr, luma_dst->cg, luma_dst->cb); cr 85 libavfilter/vf_vibrance.c const float cr = 1.f + rintensity * (1.f - srintensity * color_saturation); cr 89 libavfilter/vf_vibrance.c r = lerpf(luma, r, cr); cr 144 libavfilter/vf_vibrance.c const float cr = 1.f + rintensity * (1.f - srintensity * color_saturation); cr 148 libavfilter/vf_vibrance.c r = lerpf(luma, r, cr); cr 269 libavfilter/vsrc_mandelbrot.c const double cr=s->start_x+scale*(x-s->w/2); cr 270 libavfilter/vsrc_mandelbrot.c double zr=cr; cr 281 libavfilter/vsrc_mandelbrot.c s->next_cache[next_cidx ].p[0]= cr; cr 297 libavfilter/vsrc_mandelbrot.c outr= inr*inr - ini*ini + cr;\ cr 385 libavfilter/vsrc_mandelbrot.c s->next_cache[next_cidx ].p[0]= cr; cr 2257 libavformat/mov.c int y, cb, cr; cr 2260 libavformat/mov.c cr = (ycbcr >> 8) & 0xFF; cr 2264 libavformat/mov.c g = av_clip_uint8((1164 * (y - 16) - 813 * (cr - 128) - 391 * (cb - 128)) / 1000); cr 2265 libavformat/mov.c r = av_clip_uint8((1164 * (y - 16) + 1596 * (cr - 128) ) / 1000); cr 6185 libavformat/movenc.c int y, cb, cr; cr 6193 libavformat/movenc.c cr = av_clip_uint8((128000 + 439 * r - 368 * g - 71 * b)/1000); cr 6195 libavformat/movenc.c return (y << 16) | (cr << 8) | cb; cr 37 libavutil/colorspace.h cr = (cr1) - 128;\ cr 38 libavutil/colorspace.h r_add = FIX(1.40200*255.0/224.0) * cr + ONE_HALF;\ cr 39 libavutil/colorspace.h g_add = - FIX(0.34414*255.0/224.0) * cb - FIX(0.71414*255.0/224.0) * cr + \ cr 47 libavutil/colorspace.h cr = (cr1) - 128; \ cr 48 libavutil/colorspace.h r_add = ONE_HALF + FIX(1.5747 * 255.0 / 224.0) * cr; \ cr 50 libavutil/colorspace.h FIX(0.4682 * 255.0 / 224.0) * cr; \ cr 66 libavutil/colorspace.h cr = (cr1) - 128;\ cr 67 libavutil/colorspace.h r_add = FIX(1.40200) * cr + ONE_HALF;\ cr 68 libavutil/colorspace.h g_add = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF;\ cr 38 tests/utils.c unsigned char *cr, const unsigned char *src, cr 88 tests/utils.c cr[0] = ((FIX(0.50000) * r1 - FIX(0.41869) * g1 - cr 92 tests/utils.c cr++; cr 111 tests/utils.c unsigned char *cb, *cr; cr 131 tests/utils.c cr = cr_tab; cr 136 tests/utils.c err_if(fwrite(cr, 1, w2, f) != w2); cr 138 tests/utils.c cr += w2; cr 147 tests/utils.c err_if(fwrite(cr, 1, w2, f) != w2); cr 148 tests/utils.c cr += w2;