Home
last modified time | relevance | path

Searched refs:rgb_stride (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_csp_enc.c448 int step, int rgb_stride, in PreprocessARGB() argument
495 ImportOneRow(r_ptr + rgb_stride, g_ptr + rgb_stride, b_ptr + rgb_stride, in PreprocessARGB()
511 r_ptr += 2 * rgb_stride; in PreprocessARGB()
512 g_ptr += 2 * rgb_stride; in PreprocessARGB()
513 b_ptr += 2 * rgb_stride; in PreprocessARGB()
577 GammaToLinear((ptr)[rgb_stride]) + \
578 GammaToLinear((ptr)[rgb_stride + (step)]), 0) \
581 LinearToGamma(GammaToLinear((ptr)[0]) + GammaToLinear((ptr)[rgb_stride]), 1)
583 #define SUM2ALPHA(ptr) ((ptr)[0] + (ptr)[rgb_stride])
741 int rgb_stride) { in LinearToGammaWeighted() argument
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_csp_enc.c444 int step, int rgb_stride, in PreprocessARGB() argument
491 ImportOneRow(r_ptr + rgb_stride, g_ptr + rgb_stride, b_ptr + rgb_stride, in PreprocessARGB()
507 r_ptr += 2 * rgb_stride; in PreprocessARGB()
508 g_ptr += 2 * rgb_stride; in PreprocessARGB()
509 b_ptr += 2 * rgb_stride; in PreprocessARGB()
573 GammaToLinear((ptr)[rgb_stride]) + \
574 GammaToLinear((ptr)[rgb_stride + (step)]), 0) \
577 LinearToGamma(GammaToLinear((ptr)[0]) + GammaToLinear((ptr)[rgb_stride]), 1)
579 #define SUM2ALPHA(ptr) ((ptr)[0] + (ptr)[rgb_stride])
737 int rgb_stride) { in LinearToGammaWeighted() argument
[all …]
/third_party/ffmpeg/libavcodec/
Dmss12.c296 ptrdiff_t rgb_stride, PixContext *pctx, in decode_region() argument
301 rgb_stride = rgb_dst ? rgb_stride : 0; in decode_region()
302 rgb_dst = rgb_dst ? rgb_dst + x * 3 + y * rgb_stride : NULL; in decode_region()
320 rgb_dst = FF_PTR_ADD(rgb_dst, rgb_stride); in decode_region()
333 memcpy(c->rgb_pic + j * c->rgb_stride + x * 3, in copy_rectangles()
334 c->last_rgb_pic + j * c->rgb_stride + x * 3, in copy_rectangles()
351 uint8_t *rgb_dst = c->rgb_pic + x * 3 + y * c->rgb_stride; in motion_compensation()
359 rgb_src = c->last_rgb_pic + x * 3 + y * c->rgb_stride; in motion_compensation()
362 rgb_src = c->rgb_pic + x * 3 + y * c->rgb_stride; in motion_compensation()
369 rgb_dst += c->rgb_stride; in motion_compensation()
[all …]
Dmss2.c242 uint8_t *rgb_dst, ptrdiff_t rgb_stride, uint32_t *pal, in decode_rle() argument
267 rgb_dst += rgb_stride * y + x * 3; in decode_rle()
275 rgb_dst += rgb_stride * kf_slipt; in decode_rle()
365 memcpy(rp, rp - rgb_stride, 3); in decode_rle()
370 rgb_dst += rgb_stride; in decode_rle()
447 ctx->dsp.mss2_blit_wmv9_masked(c->rgb_pic + y * c->rgb_stride + x * 3, in decode_wmv9()
448 c->rgb_stride, wmv9_mask, in decode_wmv9()
455 ctx->dsp.mss2_blit_wmv9(c->rgb_pic + y * c->rgb_stride + x * 3, in decode_wmv9()
456 c->rgb_stride, in decode_wmv9()
628 c->rgb_stride = -frame->linesize[0]; in mss2_decode_frame()
[all …]
Dmss12.h87 ptrdiff_t rgb_stride; member
/third_party/ffmpeg/libavfilter/
Dcolorspacedsp.h27 typedef void (*yuv2rgb_fn)(int16_t *rgb[3], ptrdiff_t rgb_stride,
32 int16_t *rgb[3], ptrdiff_t rgb_stride,
36 int16_t *rgb[3], ptrdiff_t rgb_stride,
Dcolorspacedsp_template.c54 static void fn(yuv2rgb)(int16_t *rgb[3], ptrdiff_t rgb_stride, in fn()
93 rgb0[2 * x + rgb_stride] = av_clip_int16((y10 * cy + crv * v + rnd) >> sh); in fn()
94 rgb0[2 * x + rgb_stride + 1] = av_clip_int16((y11 * cy + crv * v + rnd) >> sh); in fn()
104 rgb1[2 * x + rgb_stride] = av_clip_int16((y10 * cy + cgu * u + in fn()
106 rgb1[2 * x + rgb_stride + 1] = av_clip_int16((y11 * cy + cgu * u + in fn()
115 rgb2[2 * x + rgb_stride] = av_clip_int16((y10 * cy + cbu * u + rnd) >> sh); in fn()
116 rgb2[2 * x + rgb_stride + 1] = av_clip_int16((y11 * cy + cbu * u + rnd) >> sh); in fn()
124 rgb0 += rgb_stride * (1 << SS_H); in fn()
125 rgb1 += rgb_stride * (1 << SS_H); in fn()
126 rgb2 += rgb_stride * (1 << SS_H); in fn()
Dvf_colorspace.c138 ptrdiff_t rgb_stride; member
358 rgb[0] = s->rgb[0] + s->rgb_stride * h1; in convert()
359 rgb[1] = s->rgb[1] + s->rgb_stride * h1; in convert()
360 rgb[2] = s->rgb[2] + s->rgb_stride * h1; in convert()
392 s->yuv2rgb(rgb, s->rgb_stride, in_data, td->in_linesize, w, h, in convert()
395 apply_lut(rgb, s->rgb_stride, w, h, s->lin_lut); in convert()
397 s->dsp.multiply3x3(rgb, s->rgb_stride, w, h, s->lrgb2lrgb_coeffs); in convert()
398 apply_lut(rgb, s->rgb_stride, w, h, s->delin_lut); in convert()
401 s->rgb2yuv_fsb(out_data, td->out_linesize, rgb, s->rgb_stride, w, h, in convert()
404 s->rgb2yuv(out_data, td->out_linesize, rgb, s->rgb_stride, w, h, in convert()
[all …]
/third_party/ffmpeg/libavfilter/x86/
Dcolorspacedsp_init.c47 void ff_yuv2rgb_##t##_sse2(int16_t *rgb_out[3], ptrdiff_t rgb_stride, \
63 int16_t *rgb_in[3], ptrdiff_t rgb_stride, \
/third_party/ffmpeg/libswscale/tests/
Dswscale.c367 int rgb_stride[4] = { 4 * W, 0, 0, 0 }; in main() local
425 res = sws_scale(sws, rgb_src, rgb_stride, 0, H / 12, (uint8_t * const *) src, stride); in main()
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/
Dencode.h462 WebPPicture* picture, const uint8_t* rgb, int rgb_stride);
/third_party/skia/third_party/externals/libwebp/src/webp/
Dencode.h465 WebPPicture* picture, const uint8_t* rgb, int rgb_stride);