MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / has_format_vertical_subsampling

Function has_format_vertical_subsampling

arm_compute/core/Validate.h:325–330  ·  view source on GitHub ↗

Return true if the given format has vertical subsampling. * * @param[in] format Format to determine subsampling. * * @return True if the format can be subsampled verticaly. */

Source from the content-addressed store, hash-verified

323 * @return True if the format can be subsampled verticaly.
324 */
325inline bool has_format_vertical_subsampling(Format format)
326{
327 return (format == Format::NV12 || format == Format::NV21 || format == Format::IYUV || format == Format::UV88)
328 ? true
329 : false;
330}
331
332/** Adjust tensor shape size if width or height are odd for a given multi-planar format. No modification is done for other formats.
333 *

Callers 2

adjust_odd_shapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected