/third_party/ffmpeg/libavutil/ |
D | pixdesc.c | 172 .nb_components = 3, 184 .nb_components = 3, 195 .nb_components = 3, 206 .nb_components = 3, 217 .nb_components = 3, 229 .nb_components = 3, 241 .nb_components = 3, 253 .nb_components= 3, 265 .nb_components= 3, 277 .nb_components= 3, [all …]
|
D | imgutils.c | 402 for (i = 0; i < desc->nb_components; i++) in image_copy() 515 for (i = 0; i < desc->nb_components; i++) in av_image_copy_to_buffer() 623 for (c = 0; c < desc->nb_components; c++) { in av_image_fill_black() 635 for (c = 0; c < desc->nb_components; c++) { in av_image_fill_black()
|
D | pixdesc.h | 71 uint8_t nb_components; ///< The number of components each pixel has, (1-4) member
|
/third_party/ffmpeg/libavfilter/ |
D | vf_psnr.c | 53 int nb_components; member 117 int nb_components; member 128 for (int c = 0; c < td->nb_components; c++) { in compute_images_mse() 180 td.nb_components = s->nb_components; in do_psnr() 183 for (int c = 0; c < s->nb_components; c++) { in do_psnr() 196 for (int c = 0; c < s->nb_components; c++) in do_psnr() 200 for (int c = 0; c < s->nb_components; c++) in do_psnr() 203 for (int c = 0; c < s->nb_components; c++) in do_psnr() 211 for (int j = 0; j < s->nb_components; j++) in do_psnr() 215 for (int j = 0; j < s->nb_components; j++) { in do_psnr() [all …]
|
D | vf_identity.c | 49 int nb_components; member 93 int nb_components; member 104 for (int c = 0; c < td->nb_components; c++) { in compute_images_msad() 132 for (int c = 0; c < td->nb_components; c++) { in compute_images_identity() 190 td.nb_components = s->nb_components; in do_identity() 192 for (int c = 0; c < s->nb_components; c++) { in do_identity() 205 for (int c = 0; c < s->nb_components; c++) in do_identity() 209 for (int c = 0; c < s->nb_components; c++) in do_identity() 212 for (int c = 0; c < s->nb_components && s->is_msad; c++) in do_identity() 215 for (int c = 0; c < s->nb_components; c++) in do_identity() [all …]
|
D | vf_ssim.c | 53 int nb_components; member 232 int nb_components; member 245 for (int c = 0; c < td->nb_components; c++) { in ssim_plane_16bit() 288 for (int c = 0; c < td->nb_components; c++) { in ssim_plane() 347 td.nb_components = s->nb_components; in do_ssim() 353 for (int n = 0; n < s->nb_components; n++) { in do_ssim() 365 for (i = 0; i < s->nb_components; i++) { in do_ssim() 371 for (i = 0; i < s->nb_components; i++) { in do_ssim() 376 for (i = 0; i < s->nb_components; i++) { in do_ssim() 388 for (i = 0; i < s->nb_components; i++) { in do_ssim() [all …]
|
D | vf_deband.c | 39 int nb_components; member 138 for (p = 0; p < s->nb_components; p++) { in deband_8_c() 197 for (p = 0; p < s->nb_components; p++) { in deband_8_coupling_c() 222 for (p = 0; p < s->nb_components; p++) in deband_8_coupling_c() 225 if (p == s->nb_components) { in deband_8_coupling_c() 226 for (p = 0; p < s->nb_components; p++) { in deband_8_coupling_c() 232 for (p = 0; p < s->nb_components; p++) { in deband_8_coupling_c() 262 for (p = 0; p < s->nb_components; p++) { in deband_16_coupling_c() 287 for (z = 0; z < s->nb_components; z++) in deband_16_coupling_c() 290 if (z == s->nb_components) { in deband_16_coupling_c() [all …]
|
D | vf_remap.c | 55 int nb_components; member 81 int nb_components; member 210 for (c = 0; c < td->nb_components; c++) { \ 241 s->nb_components = desc->nb_components; in config_input() 256 if (s->nb_planes > 1 || s->nb_components == 1) { in config_input() 262 if (s->nb_planes > 1 || s->nb_components == 1) { in config_input() 299 td.nb_components = s->nb_components; in process_frame()
|
D | vf_displace.c | 43 int nb_components; member 177 for (c = 0; c < s->nb_components; c++) { in displace_packed() 190 for (c = 0; c < s->nb_components; c++) { in displace_packed() 200 for (c = 0; c < s->nb_components; c++) { in displace_packed() 214 for (c = 0; c < s->nb_components; c++) { in displace_packed() 276 s->nb_components = desc->nb_components; in config_input() 278 if (s->nb_planes > 1 || s->nb_components == 1) in config_input()
|
D | vf_overlay_opencl.c | 63 for (i = 0; i < main_desc->nb_components; i++) in overlay_opencl_load() 66 for (i = 0; i < overlay_desc->nb_components; i++) in overlay_opencl_load() 83 if (main_desc->nb_components == overlay_desc->nb_components) in overlay_opencl_load()
|
D | vf_swapuv.c | 68 desc->nb_components < 3 || in is_planar_yuv() 71 for (i = 0; i < desc->nb_components; i++) { in is_planar_yuv()
|
D | drawutils.c | 42 av_assert0(desc->nb_components == 3 + !!(desc->flags & AV_PIX_FMT_FLAG_ALPHA)); in ff_fill_rgba_map() 52 for (i = 0; i < desc->nb_components; i++) { in ff_fill_rgba_map() 66 if (desc->nb_components == 3) in ff_fill_rgba_map() 107 for (i = 0; i < desc->nb_components; i++) { in ff_draw_init2() 192 if (desc->nb_components <= 2) in ff_draw_color() 195 for (i = 0; i < desc->nb_components; i++) { in ff_draw_color() 365 nb_comp = draw->desc->nb_components - in ff_blend_rectangle() 547 nb_comp = draw->desc->nb_components - in ff_blend_mask()
|
D | vf_elbg.c | 166 p += elbg->pix_desc->nb_components; in filter_frame() 227 p += elbg->pix_desc->nb_components; in filter_frame()
|
D | vf_pixdesctest.c | 86 for (c = 0; c < priv->pix_desc->nb_components; c++) { in filter_frame()
|
D | vf_mergeplanes.c | 82 s->outdesc->nb_components < 2) { in init() 132 av_pix_fmt_count_planes(i) == desc->nb_components && in query_formats()
|
/third_party/ffmpeg/libavcodec/ |
D | mjpegdec.c | 304 int len, nb_components, i, width, height, bits, ret, size_change; in ff_mjpeg_decode_sof() local 349 nb_components = get_bits(&s->gb, 8); in ff_mjpeg_decode_sof() 350 if (nb_components <= 0 || in ff_mjpeg_decode_sof() 351 nb_components > MAX_COMPONENTS) in ff_mjpeg_decode_sof() 354 if (nb_components != s->nb_components) { in ff_mjpeg_decode_sof() 360 if (s->ls && !(bits <= 8 || nb_components == 1)) { in ff_mjpeg_decode_sof() 366 if (len != 8 + 3 * nb_components) { in ff_mjpeg_decode_sof() 367 …->avctx, AV_LOG_ERROR, "decode_sof0: error, len(%d) mismatch %d components\n", len, nb_components); in ff_mjpeg_decode_sof() 371 s->nb_components = nb_components; in ff_mjpeg_decode_sof() 374 for (i = 0; i < nb_components; i++) { in ff_mjpeg_decode_sof() [all …]
|
D | vaapi_mjpeg.c | 41 .num_components = s->nb_components, in vaapi_mjpeg_start_frame() 44 for (i = 0; i < s->nb_components; i++) { in vaapi_mjpeg_start_frame() 127 sp.num_components = s->nb_components; in vaapi_mjpeg_decode_slice() 128 for (i = 0; i < s->nb_components; i++) { in vaapi_mjpeg_decode_slice()
|
D | jpeglsdec.c | 412 if (s->cur_scan > s->nb_components) { in ff_jpegls_decode_picture() 416 stride = (s->nb_components > 1) ? 3 : 1; in ff_jpegls_decode_picture() 443 stride = (s->nb_components > 1) ? 3 : 1; in ff_jpegls_decode_picture() 476 if (s->xfrm && s->nb_components == 3) { in ff_jpegls_decode_picture() 479 w = s->width * s->nb_components; in ff_jpegls_decode_picture() 526 w = s->width * s->nb_components; in ff_jpegls_decode_picture()
|
D | libopenjpegdec.c | 163 if (desc->nb_components != image->numcomps) { in libopenjpeg_matches_pix_fmt() 167 switch (desc->nb_components) { in libopenjpeg_matches_pix_fmt() 236 for (i = 1; i < desc->nb_components; i++) in libopenjpeg_ispacked()
|
D | atrac3.c | 334 int nb_components, coding_mode_selector, coding_mode; in decode_tonal_components() local 338 nb_components = get_bits(gb, 5); in decode_tonal_components() 341 if (nb_components == 0) in decode_tonal_components() 350 for (i = 0; i < nb_components; i++) { in decode_tonal_components()
|
/third_party/ffmpeg/libswscale/ |
D | swscale_internal.h | 726 return !(desc->flags & AV_PIX_FMT_FLAG_RGB) && desc->nb_components >= 2; in isYUV() 760 desc->nb_components <= 2 && in isGray() 851 return (desc->nb_components >= 2 && !(desc->flags & AV_PIX_FMT_FLAG_PLANAR)) || in isPacked() 860 return (desc->nb_components >= 2 && (desc->flags & AV_PIX_FMT_FLAG_PLANAR)); in isPlanar() 903 for (i = 0; i < desc->nb_components; i++) { in isDataInHighBits() 921 if ((desc->flags & AV_PIX_FMT_FLAG_ALPHA) && desc->nb_components < 4) in isSwappedChroma() 923 if (desc->nb_components < 3) in isSwappedChroma()
|
D | alphablend.c | 28 int nb_components = desc->nb_components; in ff_sws_alphablendaway() local 47 av_assert0(plane_count == nb_components - 1); in ff_sws_alphablendaway()
|
/third_party/ffmpeg/libavformat/ |
D | img2enc.c | 71 && desc->nb_components >= 3; in write_header() 193 if (!img->split_planes || i+1 >= desc->nb_components) in write_packet() 211 if (desc->nb_components > 3) in write_packet()
|
D | yuv4mpegenc.c | 196 for (int k = 0; k < desc->nb_components; k++) { in yuv4_write_packet() 200 if (desc->nb_components >= 3 && (k == 1 || k == 2)) { /* chroma? */ in yuv4_write_packet()
|
/third_party/ffmpeg/libavdevice/ |
D | opengl_enc.c | 1005 av_assert0(desc->nb_components > 0 && desc->nb_components <= 4); in opengl_init_context() 1006 glGenTextures(desc->nb_components, opengl->texture_name); in opengl_init_context() 1016 if (desc->nb_components > 1) { in opengl_init_context() 1018 int num_planes = desc->nb_components - (has_alpha ? 1 : 0); in opengl_init_context() 1169 bytes_per_pixel *= desc->nb_components; \
|