Home
last modified time | relevance | path

Searched refs:pixdesc (Results 1 – 25 of 185) sorted by relevance

12345678

/third_party/ffmpeg/tests/fate/
Dlibswscale.mak1 FATE_LIBSWSCALE += fate-sws-pixdesc-query
2 fate-sws-pixdesc-query: libswscale/tests/pixdesc_query$(EXESUF)
3 fate-sws-pixdesc-query: CMD = run libswscale/tests/pixdesc_query$(EXESUF)
/third_party/ffmpeg/libavcodec/
Dvdpau_vp9.c43 const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(avctx->sw_pix_fmt); in vdpau_vp9_start_frame() local
44 if (!pixdesc) { in vdpau_vp9_start_frame()
72 info->subSamplingX = pixdesc->log2_chroma_w; in vdpau_vp9_start_frame()
73 info->subSamplingY = pixdesc->log2_chroma_h; in vdpau_vp9_start_frame()
79 info->bitDepthMinus8Luma = pixdesc->comp[0].depth - 8; in vdpau_vp9_start_frame()
80 info->bitDepthMinus8Chroma = pixdesc->comp[1].depth - 8; in vdpau_vp9_start_frame()
Dnvdec_vp9.c34 const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(avctx->sw_pix_fmt); in nvdec_vp9_start_frame() local
71 .subSamplingX = pixdesc->log2_chroma_w, in nvdec_vp9_start_frame()
72 .subSamplingY = pixdesc->log2_chroma_h, in nvdec_vp9_start_frame()
77 .bitDepthMinus8Luma = pixdesc->comp[0].depth - 8, in nvdec_vp9_start_frame()
78 .bitDepthMinus8Chroma = pixdesc->comp[1].depth - 8, in nvdec_vp9_start_frame()
Ddxva2_vp9.c47 const AVPixFmtDescriptor * pixdesc = av_pix_fmt_desc_get(avctx->sw_pix_fmt); in fill_picture_parameters() local
49 if (!pixdesc) in fill_picture_parameters()
60 (pixdesc->log2_chroma_w << 3) | /* subsampling_x */ in fill_picture_parameters()
61 (pixdesc->log2_chroma_h << 4) | /* subsampling_y */ in fill_picture_parameters()
73 pp->BitDepthMinus8Luma = pixdesc->comp[0].depth - 8; in fill_picture_parameters()
74 pp->BitDepthMinus8Chroma = pixdesc->comp[1].depth - 8; in fill_picture_parameters()
Dvaapi_vp9.c44 const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(avctx->sw_pix_fmt); in vaapi_vp9_start_frame() local
54 .subsampling_x = pixdesc->log2_chroma_w, in vaapi_vp9_start_frame()
55 .subsampling_y = pixdesc->log2_chroma_h, in vaapi_vp9_start_frame()
/third_party/ffmpeg/libavfilter/
Dvf_fade.c410 const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(inlink->format); in config_input() local
412 s->hsub = pixdesc->log2_chroma_w; in config_input()
413 s->vsub = pixdesc->log2_chroma_h; in config_input()
417 s->depth = pixdesc->comp[0].depth; in config_input()
418 s->bpp = pixdesc->flags & AV_PIX_FMT_FLAG_PLANAR ? in config_input()
420 av_get_bits_per_pixel(pixdesc) >> 3; in config_input()
421 s->alpha &= !!(pixdesc->flags & AV_PIX_FMT_FLAG_ALPHA); in config_input()
422 s->is_planar = pixdesc->flags & AV_PIX_FMT_FLAG_PLANAR; in config_input()
423 s->is_rgb = pixdesc->flags & AV_PIX_FMT_FLAG_RGB; in config_input()
Dvsrc_testsrc.c1453 const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(picref->format); in pal75bars_fill_picture() local
1458 r_w = FFALIGN((test->w + 7) / 8, 1 << pixdesc->log2_chroma_w); in pal75bars_fill_picture()
1502 const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(picref->format); in pal100bars_fill_picture() local
1507 r_w = FFALIGN((test->w + 7) / 8, 1 << pixdesc->log2_chroma_w); in pal100bars_fill_picture()
1549 const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(picref->format); in smptebars_fill_picture() local
1553 r_w = FFALIGN((test->w + 6) / 7, 1 << pixdesc->log2_chroma_w); in smptebars_fill_picture()
1554 r_h = FFALIGN(test->h * 2 / 3, 1 << pixdesc->log2_chroma_h); in smptebars_fill_picture()
1555 w_h = FFALIGN(test->h * 3 / 4 - r_h, 1 << pixdesc->log2_chroma_h); in smptebars_fill_picture()
1556 p_w = FFALIGN(r_w * 5 / 4, 1 << pixdesc->log2_chroma_w); in smptebars_fill_picture()
1571 tmp = FFALIGN(5 * r_w - x, 1 << pixdesc->log2_chroma_w); in smptebars_fill_picture()
[all …]
Dvf_lenscorrection.c251 const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(inlink->format); in config_output() local
252 int is_rgb = !!(pixdesc->flags & AV_PIX_FMT_FLAG_RGB); in config_output()
257 rect->depth = pixdesc->comp[0].depth; in config_output()
259 rect->planeheight[1] = rect->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, pixdesc->log2_chroma_h); in config_output()
261 rect->planewidth[1] = rect->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, pixdesc->log2_chroma_w); in config_output()
/third_party/ffmpeg/libavutil/
Dpixdesc.c2525 int av_get_bits_per_pixel(const AVPixFmtDescriptor *pixdesc) in av_get_bits_per_pixel() argument
2528 int log2_pixels = pixdesc->log2_chroma_w + pixdesc->log2_chroma_h; in av_get_bits_per_pixel()
2530 for (c = 0; c < pixdesc->nb_components; c++) { in av_get_bits_per_pixel()
2532 bits += pixdesc->comp[c].depth << s; in av_get_bits_per_pixel()
2538 int av_get_padded_bits_per_pixel(const AVPixFmtDescriptor *pixdesc) in av_get_padded_bits_per_pixel() argument
2541 int log2_pixels = pixdesc->log2_chroma_w + pixdesc->log2_chroma_h; in av_get_padded_bits_per_pixel()
2544 for (c = 0; c < pixdesc->nb_components; c++) { in av_get_padded_bits_per_pixel()
2545 const AVComponentDescriptor *comp = &pixdesc->comp[c]; in av_get_padded_bits_per_pixel()
2552 if(!(pixdesc->flags & AV_PIX_FMT_FLAG_BITSTREAM)) in av_get_padded_bits_per_pixel()
2565 const AVPixFmtDescriptor *pixdesc = &av_pix_fmt_descriptors[pix_fmt]; in av_get_pix_fmt_string() local
[all …]
Dpixdesc.h201 int av_get_bits_per_pixel(const AVPixFmtDescriptor *pixdesc);
207 int av_get_padded_bits_per_pixel(const AVPixFmtDescriptor *pixdesc);
/third_party/ffmpeg/tests/ref/fate/
Dfilter-pixdesc-yuva444p16be1 pixdesc-yuva444p16bede8077bfb08bc61284b23db5d524563b
Dfilter-pixdesc-yuva422p12le1 pixdesc-yuva422p12le5dff3afb6301abbc0e2a85761b8c5c64
Dfilter-pixdesc-yuva422p12be1 pixdesc-yuva422p12be0420bebaa8a56fea28a06fd565f8e6b3
Dfilter-pixdesc-yuva422p16le1 pixdesc-yuva422p16led3ca3020575d91f2a9bf27eaf3c9bce6
Dfilter-pixdesc-yuva444p12le1 pixdesc-yuva444p12le235218d42dbbe40fbc044755825c6a95
Dfilter-pixdesc-yuva420p10le1 pixdesc-yuva420p10leca41b24346d7b71baff040d8e05d1c99
Dfilter-pixdesc-yuva420p16be1 pixdesc-yuva420p16be62309264f29a79ffe2c7e224a49afb10
Dfilter-pixdesc-yuva422p10le1 pixdesc-yuva422p10le1e9a7ea03647cb6d8f5a4cb3085124e3
Dfilter-pixdesc-yuva422p16be1 pixdesc-yuva422p16be3ed898fd49bb4210a1c204a555c63997
Dfilter-pixdesc-yuva444p12be1 pixdesc-yuva444p12be952d5e6b4a3494c5228527237fdfc413
Dfilter-pixdesc-yuva420p16le1 pixdesc-yuva420p16le8e3f544099b9b92421fae4147bb64892
Dfilter-pixdesc-yuva422p10be1 pixdesc-yuva422p10be48269e4c136138ebf989f3829b636136
Dfilter-pixdesc-yuva444p10le1 pixdesc-yuva444p10lea649ca6173037030cae3d21936d3b19d
Dfilter-pixdesc-yuva444p16le1 pixdesc-yuva444p16lecf80d3441689eca8cd5fe007c4091c35
Dfilter-pixdesc-yuva420p10be1 pixdesc-yuva420p10beeea756629ceb059a9368899ebe8623d7

12345678