Home
last modified time | relevance | path

Searched refs:is_rgb (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_entropy.c39 int is_rgb; member
96 s->is_rgb = ff_fill_rgba_map(s->rgba_map, inlink->format) >= 0; in config_input()
98 s->planenames[0] = s->is_rgb ? 'R' : 'Y'; in config_input()
99 s->planenames[1] = s->is_rgb ? 'G' : 'U'; in config_input()
100 s->planenames[2] = s->is_rgb ? 'B' : 'V'; in config_input()
118 int cidx = s->is_rgb ? s->rgba_map[plane] : plane; in filter_frame()
Dvf_psnr.c50 int is_rgb; member
215 int c = s->is_rgb ? s->rgba_map[j] : j; in do_psnr()
244 int c = s->is_rgb ? s->rgba_map[j] : j; in do_psnr()
249 int c = s->is_rgb ? s->rgba_map[j] : j; in do_psnr()
256 int c = s->is_rgb ? s->rgba_map[j] : j; in do_psnr()
347 s->is_rgb = ff_fill_rgba_map(s->rgba_map, inlink->format) >= 0; in config_input_ref()
348 s->comps[0] = s->is_rgb ? 'r' : 'y' ; in config_input_ref()
349 s->comps[1] = s->is_rgb ? 'g' : 'u' ; in config_input_ref()
350 s->comps[2] = s->is_rgb ? 'b' : 'v' ; in config_input_ref()
429 int c = s->is_rgb ? s->rgba_map[j] : j; in uninit()
Dvf_lut.c68 int is_rgb, is_yuv; member
150 const enum AVPixelFormat *pix_fmts = s->is_rgb ? rgb_pix_fmts : in query_formats()
285 s->is_yuv = s->is_rgb = 0; in config_props()
288 else if (ff_fmt_is_in(inlink->format, rgb_pix_fmts)) s->is_rgb = 1; in config_props()
290 if (s->is_rgb) { in config_props()
300 int comp = s->is_rgb ? rgba_map[color] : color; in config_props()
541 if (s->is_rgb && s->is_16bit && !s->is_planar) { in filter_frame()
546 } else if (s->is_rgb && !s->is_planar) { in filter_frame()
650 s->is_rgb = 1; in lutrgb_init()
Dvf_identity.c42 int is_rgb; member
226 int c = s->is_rgb ? s->rgba_map[j] : j; in do_identity()
284 s->is_rgb = ff_fill_rgba_map(s->rgba_map, inlink->format) >= 0; in config_input_ref()
285 s->comps[0] = s->is_rgb ? 'R' : 'Y' ; in config_input_ref()
286 s->comps[1] = s->is_rgb ? 'G' : 'U' ; in config_input_ref()
287 s->comps[2] = s->is_rgb ? 'B' : 'V' ; in config_input_ref()
368 int c = s->is_rgb ? s->rgba_map[j] : j; in uninit()
Dvf_ssim.c64 int is_rgb; member
376 int cidx = s->is_rgb ? s->rgba_map[i] : i; in do_ssim()
388 int cidx = s->is_rgb ? s->rgba_map[i] : i; in do_ssim()
463 s->is_rgb = ff_fill_rgba_map(s->rgba_map, inlink->format) >= 0; in config_input_ref()
464 s->comps[0] = s->is_rgb ? 'R' : 'Y'; in config_input_ref()
465 s->comps[1] = s->is_rgb ? 'G' : 'U'; in config_input_ref()
466 s->comps[2] = s->is_rgb ? 'B' : 'V'; in config_input_ref()
553 int c = s->is_rgb ? s->rgba_map[i] : i; in uninit()
Dvf_fade.c59 uint8_t is_rgb; member
263 for (int k = 0; k < 1 + 2 * (s->is_planar && s->is_rgb); k++) { in filter_slice_luma()
288 for (int k = 0; k < 1 + 2 * (s->is_planar && s->is_rgb); k++) { in filter_slice_luma16()
423 s->is_rgb = pixdesc->flags & AV_PIX_FMT_FLAG_RGB; in config_input()
424 s->is_packed_rgb = !s->is_planar && s->is_rgb; in config_input()
500 } else if (s->is_rgb && !s->black_fade) { in filter_frame()
508 if (frame->data[1] && frame->data[2] && !s->is_rgb) { in filter_frame()
Dvf_geq.c59 int is_rgb; member
234 geq->is_rgb = !geq->expr_str[Y]; in geq_init()
264 if (geq->is_rgb ? in geq_init()
285 const char *const *func2_names = geq->is_rgb ? func2_rgb_names : func2_yuv_names; in geq_init()
293 …ret = av_expr_parse(&geq->e[plane][i], geq->expr_str[plane < 3 && geq->is_rgb ? plane+4 : plane], … in geq_init()
340 if (geq->is_rgb) { in geq_query_formats()
Dvf_pad_opencl.c60 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()
Dvf_datascope.c478 int is_rgb; member
522 s->is_rgb = s->draw.desc->flags & AV_PIX_FMT_FLAG_RGB; in pixscope_config_input()
524 if (s->is_rgb) { in pixscope_config_input()
696 …snprintf(text, sizeof(text), "%c %07.1f %05d %05d %07.1f\n", s->is_rgb ? rgba[i] : yuva[i], avera… in pixscope_filter_frame()
704 snprintf(text, sizeof(text), "%c %07.2f\n", s->is_rgb ? rgba[i] : yuva[i], std[c]); in pixscope_filter_frame()
779 int is_rgb; member
952 s->is_rgb = s->draw.desc->flags & AV_PIX_FMT_FLAG_RGB; in oscilloscope_config_input()
954 if (s->is_rgb) { in oscilloscope_config_input()
1106 …snprintf(text, sizeof(text), "%c avg:%.1f min:%d max:%d\n", s->is_rgb ? rgba[c] : yuva[c], average… in oscilloscope_filter_frame()
Dvf_remap.c235 int is_rgb = !!(desc->flags & AV_PIX_FMT_FLAG_RGB); in config_input() local
243 if (is_rgb) { in config_input()
Dvf_lenscorrection.c252 int is_rgb = !!(pixdesc->flags & AV_PIX_FMT_FLAG_RGB); in config_output() local
268 if (is_rgb) { in config_output()
Dvf_xfade.c89 int is_rgb; member
1371 const int is_rgb = s->is_rgb; \
1378 if (is_rgb) { \
1723 s->is_rgb = !!(pix_desc->flags & AV_PIX_FMT_FLAG_RGB); in config_output()
1727 s->black[1] = s->black[2] = s->is_rgb ? 0 : s->max_value / 2; in config_output()
1730 s->white[1] = s->white[2] = s->is_rgb ? s->max_value : s->max_value / 2; in config_output()
/third_party/gstreamer/gstplugins_bad/sys/winks/
Dksvideohelpers.c134 gboolean is_rgb = FALSE; in ks_video_format_to_structure() local
144 is_rgb = TRUE; in ks_video_format_to_structure()
148 is_rgb = TRUE; in ks_video_format_to_structure()
152 is_rgb = TRUE; in ks_video_format_to_structure()
156 is_rgb = TRUE; in ks_video_format_to_structure()
160 is_rgb = TRUE; in ks_video_format_to_structure()
195 *p_is_rgb = is_rgb; in ks_video_format_to_structure()
547 range->Specifier, &entry->is_rgb); in ks_video_probe_filter_for_caps()
Dksvideohelpers.h52 gboolean is_rgb; member
/third_party/ffmpeg/libavformat/
Dvapoursynth.c113 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/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshowvideosrc.h90 gboolean is_rgb; member
Dgstdshowvideosrc.cpp177 src->is_rgb = FALSE; in gst_dshowvideosrc_init()
757 src->is_rgb = TRUE; in gst_dshowvideosrc_set_caps()
760 src->is_rgb = FALSE; in gst_dshowvideosrc_set_caps()
1090 if (src->is_rgb) { in gst_dshowvideosrc_push_buffer()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c553 const int is_rgb = WebPIsRGBMode(colorspace); in CustomSetup() local
568 const int ok = is_rgb ? InitRGBRescaler(io, p) : InitYUVRescaler(io, p); in CustomSetup()
576 if (is_rgb) { in CustomSetup()
600 : is_rgb ? EmitAlphaRGB in CustomSetup()
602 if (is_rgb) { in CustomSetup()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c566 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/
Dradeon_pair_schedule.c507 unsigned int srcp_src, srcp_regs, is_rgb, is_alpha; in merge_presub_sources() local
515 is_rgb = 1; in merge_presub_sources()
520 is_rgb = 0; in merge_presub_sources()
543 free_source = rc_pair_alloc_source(dst_full, is_rgb, is_alpha, in merge_presub_sources()
558 free_source = rc_pair_alloc_source(dst_full, is_rgb, in merge_presub_sources()
/third_party/pixman/test/
Dutils.h211 initialize_palette (pixman_indexed_t *palette, uint32_t depth, int is_rgb);
Dutils.c1018 #define CONVERT_15(c, is_rgb) \ argument
1019 (is_rgb? \
1046 initialize_palette (pixman_indexed_t *palette, uint32_t depth, int is_rgb) in initialize_palette() argument
1073 i15 = CONVERT_15 (rgba24, is_rgb); in initialize_palette()
1076 if (CONVERT_15 (palette->rgba[old_idx], is_rgb) == i15) in initialize_palette()
1088 assert (palette->ent[CONVERT_15 (palette->rgba[i], is_rgb)] == i); in initialize_palette()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_csp_enc.c851 const int is_rgb = (r_ptr < b_ptr); // otherwise it's bgr in ImportYUVAFromRGBA() local
908 if (is_rgb) { in ImportYUVAFromRGBA()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_csp_enc.c855 const int is_rgb = (r_ptr < b_ptr); // otherwise it's bgr in ImportYUVAFromRGBA() local
912 if (is_rgb) { in ImportYUVAFromRGBA()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2object.c2032 gboolean is_rgb = in gst_v4l2_object_get_colorspace() local
2129 if (is_rgb && colorspace == V4L2_COLORSPACE_BT2020) in gst_v4l2_object_get_colorspace()
2131 else if (is_rgb || matrix == V4L2_YCBCR_ENC_XV601 in gst_v4l2_object_get_colorspace()
2179 if (is_rgb) in gst_v4l2_object_get_colorspace()

12