/third_party/ffmpeg/libavfilter/ |
H A D | vf_pixdesctest.c | 33 const AVPixFmtDescriptor *pix_desc; member 47 priv->pix_desc = av_pix_fmt_desc_get(inlink->format); in config_props() 62 const int cw = AV_CEIL_RSHIFT(w, priv->pix_desc->log2_chroma_w); in filter_frame() 63 const int ch = AV_CEIL_RSHIFT(h, priv->pix_desc->log2_chroma_h); in filter_frame() 83 if (priv->pix_desc->flags & AV_PIX_FMT_FLAG_PAL) in filter_frame() 86 for (c = 0; c < priv->pix_desc->nb_components; c++) { in filter_frame() 94 priv->pix_desc, in filter_frame() 100 priv->pix_desc, in filter_frame()
|
H A D | vf_framepack.c | 48 const AVPixFmtDescriptor *pix_desc; ///< agreed pixel format member 125 s->pix_desc = av_pix_fmt_desc_get(outlink->format); in config_output() 126 if (!s->pix_desc) in config_output() 128 s->depth = s->pix_desc->comp[0].depth; in config_output() 172 for (plane = 0; plane < s->pix_desc->nb_components; plane++) { in horizontal_frame_pack() 174 length = AV_CEIL_RSHIFT(out->width / 2, s->pix_desc->log2_chroma_w); in horizontal_frame_pack() 175 lines = AV_CEIL_RSHIFT(out->height, s->pix_desc->log2_chroma_h); in horizontal_frame_pack() 186 if ((s->pix_desc->log2_chroma_w || in horizontal_frame_pack() 187 s->pix_desc->log2_chroma_h) && in horizontal_frame_pack() 207 for (plane = 0; plane < s->pix_desc in horizontal_frame_pack() [all...] |
H A D | vf_hflip.c | 68 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_props() local 69 const int hsub = pix_desc->log2_chroma_w; in config_props() 70 const int vsub = pix_desc->log2_chroma_h; in config_props() 73 av_image_fill_max_pixsteps(s->max_step, NULL, pix_desc); in config_props() 78 s->bayer_plus1 = !!(pix_desc->flags & AV_PIX_FMT_FLAG_BAYER) + 1; in config_props()
|
H A D | vf_crop.c | 130 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(link->format); in config_input() local 140 s->var_values[VAR_HSUB] = 1<<pix_desc->log2_chroma_w; in config_input() 141 s->var_values[VAR_VSUB] = 1<<pix_desc->log2_chroma_h; in config_input() 150 av_image_fill_max_pixsteps(s->max_step, NULL, pix_desc); in config_input() 152 if (pix_desc->flags & AV_PIX_FMT_FLAG_HWACCEL) { in config_input() 156 s->hsub = pix_desc->log2_chroma_w; in config_input() 157 s->vsub = pix_desc->log2_chroma_h; in config_input()
|
H A D | vf_blockdetect.c | 68 const AVPixFmtDescriptor *pix_desc; in blockdetect_config_input() local 70 pix_desc = av_pix_fmt_desc_get(inlink->format); in blockdetect_config_input() 71 s->hsub = pix_desc->log2_chroma_w; in blockdetect_config_input() 72 s->vsub = pix_desc->log2_chroma_h; in blockdetect_config_input()
|
H A D | vf_elbg.c | 47 const AVPixFmtDescriptor *pix_desc; member 117 elbg->pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() 166 p += elbg->pix_desc->nb_components; in filter_frame() 227 p += elbg->pix_desc->nb_components; in filter_frame()
|
H A D | vf_mpdecimate.c | 184 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local 185 decimate->hsub = pix_desc->log2_chroma_w; in config_input() 186 decimate->vsub = pix_desc->log2_chroma_h; in config_input()
|
H A D | vf_freezedetect.c | 95 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local 97 s->bitdepth = pix_desc->comp[0].depth; in config_input() 102 s->height[plane] = inlink->h >> ((plane == 1 || plane == 2) ? pix_desc->log2_chroma_h : 0); in config_input()
|
H A D | vf_blurdetect.c | 98 const AVPixFmtDescriptor *pix_desc; in blurdetect_config_input() local 100 pix_desc = av_pix_fmt_desc_get(inlink->format); in blurdetect_config_input() 101 s->hsub = pix_desc->log2_chroma_w; in blurdetect_config_input() 102 s->vsub = pix_desc->log2_chroma_h; in blurdetect_config_input()
|
H A D | vf_feedback.c | 78 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local 81 s->hsub = pix_desc->log2_chroma_w; in config_input() 82 s->vsub = pix_desc->log2_chroma_h; in config_input() 84 av_image_fill_max_pixsteps(s->max_step, NULL, pix_desc); in config_input()
|
H A D | vf_blend.c | 324 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(toplink->format); in config_output() local 346 s->hsub = pix_desc->log2_chroma_w; in config_output() 347 s->vsub = pix_desc->log2_chroma_h; in config_output() 349 s->depth = pix_desc->comp[0].depth; in config_output()
|
H A D | vf_decimate.c | 374 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_output() local 378 dm->hsub = pix_desc->log2_chroma_w; in config_output() 379 dm->vsub = pix_desc->log2_chroma_h; in config_output() 380 dm->depth = pix_desc->comp[0].depth; in config_output()
|
H A D | vf_framerate.c | 276 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local 279 s->vsub = pix_desc->log2_chroma_h; in config_input() 285 s->bitdepth = pix_desc->comp[0].depth; in config_input()
|
H A D | vsrc_mptestsrc.c | 281 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(outlink->format); in config_props() local 283 test->hsub = pix_desc->log2_chroma_w; in config_props() 284 test->vsub = pix_desc->log2_chroma_h; in config_props()
|
H A D | vf_histeq.c | 106 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local 108 histeq->bpp = av_get_bits_per_pixel(pix_desc) / 8; in config_input()
|
H A D | vf_overlay.c | 277 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input_overlay() local 279 av_image_fill_max_pixsteps(s->overlay_pix_step, NULL, pix_desc); in config_input_overlay() 287 s->var_values[VAR_HSUB] = 1<<pix_desc->log2_chroma_w; in config_input_overlay() 288 s->var_values[VAR_VSUB] = 1<<pix_desc->log2_chroma_h; in config_input_overlay() 873 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input_main() local 875 av_image_fill_max_pixsteps(s->main_pix_step, NULL, pix_desc); in config_input_main() 877 s->hsub = pix_desc->log2_chroma_w; in config_input_main() 878 s->vsub = pix_desc->log2_chroma_h; in config_input_main() 880 s->main_desc = pix_desc; in config_input_main()
|
H A D | vf_colormatrix.c | 396 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local 398 color->hsub = pix_desc->log2_chroma_w; in config_input() 399 color->vsub = pix_desc->log2_chroma_h; in config_input()
|
H A D | vf_fieldmatch.c | 938 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input() local 948 fm->hsub[INPUT_MAIN] = pix_desc->log2_chroma_w; in config_input() 949 fm->vsub[INPUT_MAIN] = pix_desc->log2_chroma_h; in config_input() 951 pix_desc = av_pix_fmt_desc_get(ctx->inputs[INPUT_CLEANSRC]->format); in config_input() 952 fm->hsub[INPUT_CLEANSRC] = pix_desc->log2_chroma_w; in config_input() 953 fm->vsub[INPUT_CLEANSRC] = pix_desc->log2_chroma_h; in config_input()
|
/third_party/ffmpeg/libswscale/tests/ |
H A D | pixdesc_query.c | 66 const AVPixFmtDescriptor *pix_desc = NULL; in main() local 68 while ((pix_desc = av_pix_fmt_desc_next(pix_desc))) { in main() 69 enum AVPixelFormat pix_fmt = av_pix_fmt_desc_get_id(pix_desc); in main() 71 const char *pix_name = pix_desc->name; in main()
|
/third_party/ffmpeg/tools/ |
H A D | fourcc2pixfmt.c | 98 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(i); in main() local 99 if (!pix_desc->name || pix_desc->flags & AV_PIX_FMT_FLAG_HWACCEL) in main() 101 printf("%s: ", pix_desc->name); in main()
|
/third_party/ffmpeg/libavcodec/x86/ |
H A D | huffyuvencdsp_init.c | 41 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(avctx->pix_fmt); in ff_huffyuvencdsp_init_x86() local 43 if (EXTERNAL_MMXEXT(cpu_flags) && pix_desc && pix_desc->comp[0].depth<16) { in ff_huffyuvencdsp_init_x86()
|
H A D | huffyuvdsp_init.c | 39 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(pix_fmt); in ff_huffyuvdsp_init_x86() local 41 if (EXTERNAL_MMXEXT(cpu_flags) && pix_desc && pix_desc->comp[0].depth<16) { in ff_huffyuvdsp_init_x86()
|
/third_party/ffmpeg/fftools/ |
H A D | opt_common.c | 958 const AVPixFmtDescriptor *pix_desc = NULL; in show_pix_fmts() local 974 while ((pix_desc = av_pix_fmt_desc_next(pix_desc))) { in show_pix_fmts() 975 enum AVPixelFormat av_unused pix_fmt = av_pix_fmt_desc_get_id(pix_desc); in show_pix_fmts() 979 pix_desc->flags & AV_PIX_FMT_FLAG_HWACCEL ? 'H' : '.', in show_pix_fmts() 980 pix_desc->flags & AV_PIX_FMT_FLAG_PAL ? 'P' : '.', in show_pix_fmts() 981 pix_desc->flags & AV_PIX_FMT_FLAG_BITSTREAM ? 'B' : '.', in show_pix_fmts() 982 pix_desc->name, in show_pix_fmts() 983 pix_desc->nb_components, in show_pix_fmts() 984 av_get_bits_per_pixel(pix_desc), in show_pix_fmts() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libjxlenc.c | 249 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(frame->format); in libjxl_encode_frame() local 267 jxl_fmt.num_channels = pix_desc->nb_components; in libjxl_encode_frame() 272 info.bits_per_sample = av_get_bits_per_pixel(pix_desc) / jxl_fmt.num_channels; in libjxl_encode_frame() 274 if (pix_desc->flags & AV_PIX_FMT_FLAG_FLOAT) { in libjxl_encode_frame() 332 if (pix_desc->flags & AV_PIX_FMT_FLAG_FLOAT) { in libjxl_encode_frame()
|
H A D | mjpegdec.h | 147 const AVPixFmtDescriptor *pix_desc; member
|