Home
last modified time | relevance | path

Searched refs:subsampling (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/src/core/
DSkYUVAInfo.cpp15 SkYUVAInfo::Subsampling subsampling) { in is_plane_config_compatible_with_subsampling() argument
17 subsampling == SkYUVAInfo::Subsampling::kUnknown) { in is_plane_config_compatible_with_subsampling()
20 return subsampling == SkYUVAInfo::Subsampling::k444 || in is_plane_config_compatible_with_subsampling()
27 std::tuple<int, int> SkYUVAInfo::SubsamplingFactors(Subsampling subsampling) { in SubsamplingFactors() argument
28 switch (subsampling) { in SubsamplingFactors()
41 Subsampling subsampling, in PlaneSubsamplingFactors() argument
43 if (!is_plane_config_compatible_with_subsampling(planeConfig, subsampling) || in PlaneSubsamplingFactors()
72 return isSubsampledPlane ? SubsamplingFactors(subsampling) : std::make_tuple(1, 1); in PlaneSubsamplingFactors()
77 Subsampling subsampling, in PlaneDimensions() argument
81 if (!is_plane_config_compatible_with_subsampling(planeConfig, subsampling)) { in PlaneDimensions()
[all …]
/third_party/ffmpeg/libavcodec/
Dtiffenc.c77 uint16_t subsampling[2]; ///< YUV subsampling factors member
209 int w = (s->width - 1) / s->subsampling[0] + 1; in pack_yuv()
210 uint8_t *pu = &p->data[1][lnum / s->subsampling[1] * p->linesize[1]]; in pack_yuv()
211 uint8_t *pv = &p->data[2][lnum / s->subsampling[1] * p->linesize[2]]; in pack_yuv()
212 if (s->width % s->subsampling[0] || s->height % s->subsampling[1]) { in pack_yuv()
214 for (j = 0; j < s->subsampling[1]; j++) in pack_yuv()
215 for (k = 0; k < s->subsampling[0]; k++) in pack_yuv()
217 FFMIN(i * s->subsampling[0] + k, s->width-1)]; in pack_yuv()
223 for (j = 0; j < s->subsampling[1]; j++) in pack_yuv()
224 for (k = 0; k < s->subsampling[0]; k++) in pack_yuv()
[all …]
Dspeedhq.c61 subsampling; member
299 if (s->subsampling == SHQ_SUBSAMPLING_420) { in decode_speedhq_border()
303 av_assert2(s->subsampling == SHQ_SUBSAMPLING_422); in decode_speedhq_border()
325 if (s->subsampling != SHQ_SUBSAMPLING_420) { in decode_speedhq_border()
400 if (s->subsampling == SHQ_SUBSAMPLING_420) { in decode_speedhq_field()
411 for (x = 0; x < frame->width - 8 * (s->subsampling != SHQ_SUBSAMPLING_444); x += 16) { in decode_speedhq_field()
431 if (s->subsampling != SHQ_SUBSAMPLING_420) { in decode_speedhq_field()
438 if (s->subsampling == SHQ_SUBSAMPLING_444) { in decode_speedhq_field()
480 if (s->subsampling != SHQ_SUBSAMPLING_444 && (frame->width & 15)) in decode_speedhq_field()
677 s->subsampling = SHQ_SUBSAMPLING_420; in speedhq_decode_init()
[all …]
Dtiff.c79 int subsampling[2]; member
458 int w = (s->width - 1) / s->subsampling[0] + 1; in unpack_yuv()
459 uint8_t *pu = &p->data[1][lnum / s->subsampling[1] * p->linesize[1]]; in unpack_yuv()
460 uint8_t *pv = &p->data[2][lnum / s->subsampling[1] * p->linesize[2]]; in unpack_yuv()
461 if (s->width % s->subsampling[0] || s->height % s->subsampling[1]) { in unpack_yuv()
463 for (j = 0; j < s->subsampling[1]; j++) in unpack_yuv()
464 for (k = 0; k < s->subsampling[0]; k++) in unpack_yuv()
466 FFMIN(i * s->subsampling[0] + k, s->width-1)] = *src++; in unpack_yuv()
472 for (j = 0; j < s->subsampling[1]; j++) in unpack_yuv()
473 for (k = 0; k < s->subsampling[0]; k++) in unpack_yuv()
[all …]
Dvideotoolbox_vp9.c69 int subsampling = get_vpx_chroma_subsampling(avctx->sw_pix_fmt, avctx->chroma_sample_location); in ff_videotoolbox_vpcc_extradata_create() local
74 if (subsampling < 0) in ff_videotoolbox_vpcc_extradata_create()
88 *p++ = (h->h.bpp << 4) | (subsampling << 1) | (avctx->color_range == AVCOL_RANGE_JPEG); in ff_videotoolbox_vpcc_extradata_create()
/third_party/skia/tests/
DYUVTest.cpp84 auto setExpectations = [](SkISize dims, SkYUVAInfo::Subsampling subsampling) { in DEF_TEST() argument
87 subsampling, in DEF_TEST()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_EXT_fragment_density_map2.txt36 ==== Additional limits for subsampling
42 subsampling.
DVK_EXT_fragment_density_map2.adoc37 subsampling.
/third_party/openGLES/extensions/OML/
DOML_subsample.txt37 subsampling in OpenGL does not imply a specific color space. Color
43 SGIX_subsample extension, but specifies subsampling with the data
71 * Should subsampling be specified with new pixel storage parameters,
76 when specifying subsampling with a pixel storage parameter. Also,
347 * Revision 6 - Correct errors in the equations describing subsampling.
DOML_resample.txt260 value of PACK_RESAMPLE_OML is applied prior to the subsampling step.
404 * Revision 6 - Correct errors in the equations describing subsampling.
/third_party/skia/third_party/externals/opengl-registry/extensions/OML/
DOML_subsample.txt37 subsampling in OpenGL does not imply a specific color space. Color
43 SGIX_subsample extension, but specifies subsampling with the data
71 * Should subsampling be specified with new pixel storage parameters,
76 when specifying subsampling with a pixel storage parameter. Also,
347 * Revision 6 - Correct errors in the equations describing subsampling.
DOML_resample.txt260 value of PACK_RESAMPLE_OML is applied prior to the subsampling step.
404 * Revision 6 - Correct errors in the equations describing subsampling.
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DSGIX_ycrcba.txt46 rectangle independent of component subsampling. Component
47 subsampling is specified using a separate extension.
DSGIX_subsample.txt46 color space, YCrCb, use of subsampling in OpenGL does not imply
75 are 4 components in the subsampling. Can there be an
232 resampling filter is applied prior to the subsampling step.
DSGIX_framezoom.txt93 the original rasterization (with subsampling disabled). The center
124 of FRAMEZOOM_FACTOR_SGIX will be clamped to 1, ie. no subsampling
DSGIX_slim.txt37 The specification of color space and component subsampling is
/third_party/openGLES/extensions/SGIX/
DSGIX_ycrcba.txt46 rectangle independent of component subsampling. Component
47 subsampling is specified using a separate extension.
DSGIX_subsample.txt46 color space, YCrCb, use of subsampling in OpenGL does not imply
75 are 4 components in the subsampling. Can there be an
232 resampling filter is applied prior to the subsampling step.
DSGIX_framezoom.txt93 the original rasterization (with subsampling disabled). The center
124 of FRAMEZOOM_FACTOR_SGIX will be clamped to 1, ie. no subsampling
DSGIX_slim.txt37 The specification of color space and component subsampling is
/third_party/skia/include/core/
DSkYUVAInfo.h157 Subsampling subsampling() const { return fSubsampling; } in subsampling() function
/third_party/skia/third_party/externals/libjpeg-turbo/
Dusage.txt112 in the quantization step (but there is still information loss in subsampling,
130 same as chrominance subsampling: since the human eye is more sensitive to
133 incurring any visible image quality loss. However, unlike subsampling, this
137 subsampling may be unacceptable.
153 -sample 1x1 to cjpeg to disable chrominance subsampling. Otherwise, the
154 default subsampling level (2x2, AKA "4:2:0") will be used.
574 Both the input image and the drop image must have the same subsampling level.
580 vice versa, as long as the full-color image has no vertical subsampling. If
DChangeLog.md366 of specifying 1x subsampling (normally 4:4:4 JPEGs have 1x1 luminance and
418 was generated ("Could not determine subsampling type for JPEG image") when such
451 subsampling (for instance, 4:2:0 or 4:4:0.)
635 with 4:1:1 chrominance subsampling.
764 4:4:0 (h1v2) chroma subsampling. These images are generated when losslessly
765 rotating or transposing JPEG images that use 4:2:2 (h2v1) chroma subsampling.
777 This is a non-standard way of specifying 2x subsampling (normally 4:2:2 JPEGs
1102 subsampling type for JPEG image`) when attempting to decompress grayscale JPEG
1160 - 4:1:1 subsampling is now supported. This is mainly included for
1253 using quality 100 and no subsampling, and when the JPEG output buffer is being
[all …]
/third_party/typescript/tests/verify_3rd_libs/
Dclone_all_libs.bat28 git clone https://gitee.com/openharmony-sig/subsampling-scale-image-view
/third_party/ffmpeg/doc/
Dnut.texi60 The third byte represents the width and height chroma subsampling

12