/third_party/backends/backend/ |
H A D | ricoh2_buffer.c | 57 SANE_Bool is_rgb; member 70 SANE_Bool is_rgb) in ricoh2_buffer_create() 91 self->is_rgb = is_rgb; in ricoh2_buffer_create() 102 self->is_rgb, in ricoh2_buffer_create() 165 bytes_per_pixel = self->is_rgb ? 3 : 1; in ricoh2_buffer_get_data() 209 if (self->is_rgb) in ricoh2_buffer_get_data() 67 ricoh2_buffer_create(SANE_Int size, SANE_Int pixels_per_line, SANE_Int info_size, SANE_Bool is_rgb) ricoh2_buffer_create() argument
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_entropy.c | 39 int is_rgb; member 88 s->is_rgb = ff_fill_rgba_map(s->rgba_map, inlink->format) >= 0; in config_input() 90 s->planenames[0] = s->is_rgb ? 'R' : 'Y'; in config_input() 91 s->planenames[1] = s->is_rgb ? 'G' : 'U'; in config_input() 92 s->planenames[2] = s->is_rgb ? 'B' : 'V'; in config_input() 110 int cidx = s->is_rgb ? s->rgba_map[plane] : plane; in filter_frame()
|
H A D | vf_psnr.c | 50 int is_rgb; member 216 int c = s->is_rgb ? s->rgba_map[j] : j; in do_psnr() 245 int c = s->is_rgb ? s->rgba_map[j] : j; in do_psnr() 250 int c = s->is_rgb ? s->rgba_map[j] : j; in do_psnr() 257 int c = s->is_rgb ? s->rgba_map[j] : j; in do_psnr() 336 s->is_rgb = ff_fill_rgba_map(s->rgba_map, inlink->format) >= 0; in config_input_ref() 337 s->comps[0] = s->is_rgb ? 'r' : 'y' ; in config_input_ref() 338 s->comps[1] = s->is_rgb ? 'g' : 'u' ; in config_input_ref() 339 s->comps[2] = s->is_rgb ? 'b' : 'v' ; in config_input_ref() 419 int c = s->is_rgb in uninit() [all...] |
H A D | vf_lut.c | 70 int is_rgb, is_yuv; member 151 const enum AVPixelFormat *pix_fmts = s->is_rgb ? rgb_pix_fmts : in query_formats() 283 s->is_yuv = s->is_rgb = 0; in config_props() 286 else if (ff_fmt_is_in(inlink->format, rgb_pix_fmts)) s->is_rgb = 1; in config_props() 288 if (s->is_rgb) { in config_props() 298 int comp = s->is_rgb ? rgba_map[color] : color; in config_props() 539 if (s->is_rgb && s->is_16bit && !s->is_planar) { in filter_frame() 544 } else if (s->is_rgb && !s->is_planar) { in filter_frame() 638 s->is_rgb = 1; in lutrgb_init()
|
H A D | vf_identity.c | 44 int is_rgb; member 229 int c = s->is_rgb ? s->rgba_map[j] : j; in do_identity() 275 s->is_rgb = ff_fill_rgba_map(s->rgba_map, inlink->format) >= 0; in config_input_ref() 276 s->comps[0] = s->is_rgb ? 'R' : 'Y' ; in config_input_ref() 277 s->comps[1] = s->is_rgb ? 'G' : 'U' ; in config_input_ref() 278 s->comps[2] = s->is_rgb ? 'B' : 'V' ; in config_input_ref() 359 int c = s->is_rgb ? s->rgba_map[j] : j; in uninit()
|
H A D | vf_fade.c | 59 uint8_t is_rgb; member 261 for (int k = 0; k < 1 + 2 * (s->is_planar && s->is_rgb); k++) { in filter_slice_luma() 286 for (int k = 0; k < 1 + 2 * (s->is_planar && s->is_rgb); k++) { in filter_slice_luma16() 421 s->is_rgb = pixdesc->flags & AV_PIX_FMT_FLAG_RGB; in config_input() 422 s->is_packed_rgb = !s->is_planar && s->is_rgb; in config_input() 498 } else if (s->is_rgb && !s->black_fade) { in filter_frame() 506 if (frame->data[1] && frame->data[2] && !s->is_rgb) { in filter_frame()
|
H A D | vf_ssim.c | 64 int is_rgb; member 377 int cidx = s->is_rgb ? s->rgba_map[i] : i; in do_ssim() 389 int cidx = s->is_rgb ? s->rgba_map[i] : i; in do_ssim() 452 s->is_rgb = ff_fill_rgba_map(s->rgba_map, inlink->format) >= 0; in config_input_ref() 453 s->comps[0] = s->is_rgb ? 'R' : 'Y'; in config_input_ref() 454 s->comps[1] = s->is_rgb ? 'G' : 'U'; in config_input_ref() 455 s->comps[2] = s->is_rgb ? 'B' : 'V'; in config_input_ref() 543 int c = s->is_rgb ? s->rgba_map[i] : i; in uninit()
|
H A D | vf_geq.c | 60 int is_rgb; member 258 geq->is_rgb = !geq->expr_str[Y]; in geq_init() 288 if (geq->is_rgb ? in geq_init() 309 const char *const *func2_names = geq->is_rgb ? func2_rgb_names : func2_yuv_names; in geq_init() 317 ret = av_expr_parse(&geq->e[plane][i], geq->expr_str[plane < 3 && geq->is_rgb ? plane+4 : plane], var_names, in geq_init() 364 const enum AVPixelFormat *pix_fmts = geq->is_rgb ? rgb_pix_fmts : yuv_pix_fmts; in geq_query_formats()
|
H A D | vf_pad_opencl.c | 60 int is_rgb; member 91 ctx->is_rgb = !!(desc->flags & AV_PIX_FMT_FLAG_RGB); in pad_opencl_init() 107 if (ctx->is_rgb) { in pad_opencl_init()
|
H A D | vf_datascope.c | 476 int is_rgb; member 520 s->is_rgb = s->draw.desc->flags & AV_PIX_FMT_FLAG_RGB; in pixscope_config_input() 522 if (s->is_rgb) { in pixscope_config_input() 694 snprintf(text, sizeof(text), "%c %07.1f %05d %05d %07.1f\n", s->is_rgb ? rgba[i] : yuva[i], average[c], min[c], max[c], rms[c]); in pixscope_filter_frame() 702 snprintf(text, sizeof(text), "%c %07.2f\n", s->is_rgb ? rgba[i] : yuva[i], std[c]); in pixscope_filter_frame() 775 int is_rgb; member 948 s->is_rgb = s->draw.desc->flags & AV_PIX_FMT_FLAG_RGB; in oscilloscope_config_input() 950 if (s->is_rgb) { in oscilloscope_config_input() 1102 snprintf(text, sizeof(text), "%c avg:%.1f min:%d max:%d\n", s->is_rgb ? rgba[c] : yuva[c], average[c], min[c], max[c]); in oscilloscope_filter_frame()
|
H A D | vf_remap.c | 235 int is_rgb = !!(desc->flags & AV_PIX_FMT_FLAG_RGB); in config_input() local 243 if (is_rgb) { in config_input()
|
H A D | vf_remap_opencl.c | 81 int is_rgb = !!(desc->flags & AV_PIX_FMT_FLAG_RGB); in remap_opencl_load() local 87 if (is_rgb) { in remap_opencl_load()
|
H A D | vf_lenscorrection.c | 245 int is_rgb = !!(pixdesc->flags & AV_PIX_FMT_FLAG_RGB); in config_output() local 261 if (is_rgb) { in config_output()
|
H A D | vf_xfade.c | 92 int is_rgb; member 1369 const int is_rgb = s->is_rgb; \ 1376 if (is_rgb) { \ 1825 s->is_rgb = !!(pix_desc->flags & AV_PIX_FMT_FLAG_RGB); in config_output() 1829 s->black[1] = s->black[2] = s->is_rgb ? 0 : s->max_value / 2; in config_output() 1832 s->white[1] = s->white[2] = s->is_rgb ? s->max_value : s->max_value / 2; in config_output()
|
/third_party/ffmpeg/libavformat/ |
H A D | vapoursynth.c | 113 int is_rgb, is_yuv, i; in match_pixfmt() local 127 is_rgb = vsf->colorFamily == cmRGB; in match_pixfmt() 128 if (is_rgb != !!(pd->flags & AV_PIX_FMT_FLAG_RGB)) in match_pixfmt() 134 if (!is_rgb && !is_yuv) in match_pixfmt()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
H A D | io_dec.c | 566 const int is_rgb = WebPIsRGBMode(colorspace); in CustomSetup() local 581 const int ok = is_rgb ? InitRGBRescaler(io, p) : InitYUVRescaler(io, p); in CustomSetup() 589 if (is_rgb) { in CustomSetup() 613 : is_rgb ? EmitAlphaRGB in CustomSetup() 615 if (is_rgb) { in CustomSetup()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_pair_schedule.c | 503 unsigned int srcp_src, srcp_regs, is_rgb, is_alpha; in merge_presub_sources() local 511 is_rgb = 1; in merge_presub_sources() 516 is_rgb = 0; in merge_presub_sources() 539 free_source = rc_pair_alloc_source(dst_full, is_rgb, is_alpha, in merge_presub_sources() 554 free_source = rc_pair_alloc_source(dst_full, is_rgb, in merge_presub_sources()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | picture_csp_enc.c | 855 const int is_rgb = (r_ptr < b_ptr); // otherwise it's bgr in ImportYUVAFromRGBA() local 912 if (is_rgb) { in ImportYUVAFromRGBA()
|
/third_party/astc-encoder/Source/ |
H A D | stb_image.h | 3865 int n, decode_n, is_rgb; in load_jpeg_image() local 3877 is_rgb = z->s->img_n == 3 && (z->rgb == 3 || (z->app14_color_transform == 0 && !z->jfif)); in load_jpeg_image() 3879 if (z->s->img_n == 3 && n < 3 && !is_rgb) in load_jpeg_image() 3943 if (is_rgb) { in load_jpeg_image() 3983 if (is_rgb) { in load_jpeg_image()
|