/third_party/ffmpeg/libavutil/ |
D | pixdesc.c | 176 .nb_components = 3, 188 .nb_components = 3, 199 .nb_components = 3, 210 .nb_components = 3, 221 .nb_components = 3, 233 .nb_components = 3, 245 .nb_components = 3, 257 .nb_components= 3, 269 .nb_components= 3, 281 .nb_components = 3, [all …]
|
D | imgutils.c | 402 for (i = 0; i < desc->nb_components; i++) in image_copy() 519 for (i = 0; i < desc->nb_components; i++) in av_image_copy_to_buffer() 627 for (c = 0; c < desc->nb_components; c++) { in av_image_fill_black() 639 for (c = 0; c < desc->nb_components; c++) { in av_image_fill_black()
|
D | pixdesc.h | 83 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() 195 for (int c = 0; c < s->nb_components; c++) in do_psnr() 199 for (int c = 0; c < s->nb_components; c++) in do_psnr() 202 for (int c = 0; c < s->nb_components; c++) in do_psnr() 210 for (int j = 0; j < s->nb_components; j++) in do_psnr() 214 for (int j = 0; j < s->nb_components; j++) { in do_psnr() [all …]
|
D | vf_identity.c | 47 int nb_components; member 91 int nb_components; member 102 for (int c = 0; c < td->nb_components; c++) { in compute_images_msad() 130 for (int c = 0; c < td->nb_components; c++) { in compute_images_identity() 188 td.nb_components = s->nb_components; in do_identity() 190 for (int c = 0; c < s->nb_components; c++) { in do_identity() 202 for (int c = 0; c < s->nb_components; c++) in do_identity() 206 for (int c = 0; c < s->nb_components; c++) in do_identity() 209 for (int c = 0; c < s->nb_components && s->is_msad; c++) in do_identity() 212 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() 364 for (i = 0; i < s->nb_components; i++) { in do_ssim() 370 for (i = 0; i < s->nb_components; i++) { in do_ssim() 375 for (i = 0; i < s->nb_components; i++) { in do_ssim() 387 for (i = 0; i < s->nb_components; i++) { in do_ssim() [all …]
|
D | vf_deband.c | 39 int nb_components; member 142 for (p = 0; p < s->nb_components; p++) { in deband_8_c() 201 for (p = 0; p < s->nb_components; p++) { in deband_8_coupling_c() 226 for (p = 0; p < s->nb_components; p++) in deband_8_coupling_c() 229 if (p == s->nb_components) { in deband_8_coupling_c() 230 for (p = 0; p < s->nb_components; p++) { in deband_8_coupling_c() 236 for (p = 0; p < s->nb_components; p++) { in deband_8_coupling_c() 266 for (p = 0; p < s->nb_components; p++) { in deband_16_coupling_c() 291 for (z = 0; z < s->nb_components; z++) in deband_16_coupling_c() 294 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() 303 td.nb_components = s->nb_components; in process_frame()
|
D | vf_displace.c | 43 int nb_components; member 182 for (c = 0; c < s->nb_components; c++) { in displace_packed() 195 for (c = 0; c < s->nb_components; c++) { in displace_packed() 205 for (c = 0; c < s->nb_components; c++) { in displace_packed() 219 for (c = 0; c < s->nb_components; c++) { in displace_packed() 281 s->nb_components = desc->nb_components; in config_input() 283 if (s->nb_planes > 1 || s->nb_components == 1) in config_input()
|
D | vf_overlay_opencl.c | 64 for (i = 0; i < main_desc->nb_components; i++) in overlay_opencl_load() 67 for (i = 0; i < overlay_desc->nb_components; i++) in overlay_opencl_load() 84 if (main_desc->nb_components == overlay_desc->nb_components) in overlay_opencl_load()
|
D | vf_swapuv.c | 75 desc->nb_components < 3 || in is_planar_yuv() 78 for (i = 0; i < desc->nb_components; i++) { in is_planar_yuv()
|
D | vf_elbg.c | 163 p += elbg->pix_desc->nb_components; in filter_frame() 220 p += elbg->pix_desc->nb_components; in filter_frame()
|
D | vf_mergeplanes.c | 69 s->outdesc->nb_components < 2) { in init() 119 av_pix_fmt_count_planes(i) == desc->nb_components && in query_formats()
|
D | vf_pixdesctest.c | 87 for (c = 0; c < priv->pix_desc->nb_components; c++) { in filter_frame()
|
D | formats.c | 119 chroma2|= adesc->nb_components > 1 && bdesc->nb_components > 1; in merge_formats_internal() 122 chroma1|= adesc->nb_components > 1; in merge_formats_internal()
|
/third_party/ffmpeg/libavcodec/ |
D | mjpegdec.c | 299 int len, nb_components, i, width, height, bits, ret, size_change; in ff_mjpeg_decode_sof() local 344 nb_components = get_bits(&s->gb, 8); in ff_mjpeg_decode_sof() 345 if (nb_components <= 0 || in ff_mjpeg_decode_sof() 346 nb_components > MAX_COMPONENTS) in ff_mjpeg_decode_sof() 349 if (nb_components != s->nb_components) { in ff_mjpeg_decode_sof() 355 if (s->ls && !(bits <= 8 || nb_components == 1)) { in ff_mjpeg_decode_sof() 361 if (len != 8 + 3 * nb_components) { in ff_mjpeg_decode_sof() 362 …->avctx, AV_LOG_ERROR, "decode_sof0: error, len(%d) mismatch %d components\n", len, nb_components); in ff_mjpeg_decode_sof() 366 s->nb_components = nb_components; in ff_mjpeg_decode_sof() 369 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 | 404 if (s->cur_scan > s->nb_components) { in ff_jpegls_decode_picture() 408 stride = (s->nb_components > 1) ? 3 : 1; in ff_jpegls_decode_picture() 435 stride = (s->nb_components > 1) ? 3 : 1; in ff_jpegls_decode_picture() 468 if (s->xfrm && s->nb_components == 3) { in ff_jpegls_decode_picture() 471 w = s->width * s->nb_components; in ff_jpegls_decode_picture() 518 w = s->width * s->nb_components; in ff_jpegls_decode_picture()
|
D | imgconvert.c | 99 for (i = 0; i < desc->nb_components; i++) in is_yuv_planar() 103 for (i = 0; i < desc->nb_components; i++) in is_yuv_planar()
|
D | libopenjpegdec.c | 162 if (desc->nb_components != image->numcomps) { in libopenjpeg_matches_pix_fmt() 166 switch (desc->nb_components) { in libopenjpeg_matches_pix_fmt() 235 for (i = 1; i < desc->nb_components; i++) in libopenjpeg_ispacked()
|
D | mjpegdec.h | 93 int nb_components; member
|
D | atrac3.c | 333 int nb_components, coding_mode_selector, coding_mode; in decode_tonal_components() local 337 nb_components = get_bits(gb, 5); in decode_tonal_components() 340 if (nb_components == 0) in decode_tonal_components() 349 for (i = 0; i < nb_components; i++) { in decode_tonal_components()
|
/third_party/ffmpeg/libavformat/ |
D | img2enc.c | 70 && desc->nb_components >= 3; in write_header() 180 if (!img->split_planes || i+1 >= desc->nb_components) in write_packet() 199 if (desc->nb_components > 3) { in write_packet()
|
/third_party/ffmpeg/libswscale/ |
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()
|
D | swscale_internal.h | 678 return !(desc->flags & AV_PIX_FMT_FLAG_RGB) && desc->nb_components >= 2; in isYUV() 712 desc->nb_components <= 2 && in isGray() 803 return (desc->nb_components >= 2 && !(desc->flags & AV_PIX_FMT_FLAG_PLANAR)) || in isPacked() 812 return (desc->nb_components >= 2 && (desc->flags & AV_PIX_FMT_FLAG_PLANAR)); in isPlanar()
|