Home
last modified time | relevance | path

Searched refs:nb_components (Results 1 – 25 of 99) sorted by relevance

1234

/third_party/ffmpeg/libavutil/
Dpixdesc.c176 .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 …]
Dimgutils.c402 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()
Dpixdesc.h83 uint8_t nb_components; ///< The number of components each pixel has, (1-4) member
/third_party/ffmpeg/libavfilter/
Dvf_psnr.c53 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 …]
Dvf_identity.c47 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 …]
Dvf_ssim.c53 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 …]
Dvf_deband.c39 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 …]
Dvf_remap.c55 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()
Dvf_displace.c43 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()
Dvf_overlay_opencl.c64 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()
Dvf_swapuv.c75 desc->nb_components < 3 || in is_planar_yuv()
78 for (i = 0; i < desc->nb_components; i++) { in is_planar_yuv()
Dvf_elbg.c163 p += elbg->pix_desc->nb_components; in filter_frame()
220 p += elbg->pix_desc->nb_components; in filter_frame()
Dvf_mergeplanes.c69 s->outdesc->nb_components < 2) { in init()
119 av_pix_fmt_count_planes(i) == desc->nb_components && in query_formats()
Dvf_pixdesctest.c87 for (c = 0; c < priv->pix_desc->nb_components; c++) { in filter_frame()
Dformats.c119 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/
Dmjpegdec.c299 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 …]
Dvaapi_mjpeg.c41 .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()
Djpeglsdec.c404 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()
Dimgconvert.c99 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()
Dlibopenjpegdec.c162 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()
Dmjpegdec.h93 int nb_components; member
Datrac3.c333 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/
Dimg2enc.c70 && 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/
Dalphablend.c28 int nb_components = desc->nb_components; in ff_sws_alphablendaway() local
47 av_assert0(plane_count == nb_components - 1); in ff_sws_alphablendaway()
Dswscale_internal.h678 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()

1234