Lines Matching +full:n +full:- +full:factor

1 /* SPDX-License-Identifier: GPL-2.0 */
14 #include <linux/v4l2-controls.h>
60 * struct nal_hevc_vps - Video parameter set
63 * Rec. ITU-T H.265 (02/2018) 7.3.2.1 Video parameter set RBSP syntax
135 * struct nal_hevc_vui_parameters - VUI parameters
137 * C struct representation of the VUI parameters as defined by Rec. ITU-T
198 * struct nal_hevc_sps - Sequence parameter set
201 * Rec. ITU-T H.265 (02/2018) 7.3.2.2 Sequence parameter set RBSP syntax
324 * nal_hevc_profile() - Get profile_idc for v4l2 hevc profile
328 * in Rec. ITU-T H.265 (02/2018) A.3.
342 return -EINVAL; in nal_hevc_profile()
347 * nal_hevc_tier() - Get tier_flag for v4l2 hevc tier
351 * in Rec. ITU-T H.265 (02/2018) A.4.1.
363 return -EINVAL; in nal_hevc_tier()
368 * nal_hevc_level() - Get level_idc for v4l2 hevc level
372 * Rec. ITU-T H.265 (02/2018) A.4.1.
379 * T-Rec-H.265 p. 280: general_level_idc and sub_layer_level_idc[ i ] in nal_hevc_level()
383 int factor = 30 / 10; in nal_hevc_level() local
387 return factor * 10; in nal_hevc_level()
389 return factor * 20; in nal_hevc_level()
391 return factor * 21; in nal_hevc_level()
393 return factor * 30; in nal_hevc_level()
395 return factor * 31; in nal_hevc_level()
397 return factor * 40; in nal_hevc_level()
399 return factor * 41; in nal_hevc_level()
401 return factor * 50; in nal_hevc_level()
403 return factor * 51; in nal_hevc_level()
405 return factor * 52; in nal_hevc_level()
407 return factor * 60; in nal_hevc_level()
409 return factor * 61; in nal_hevc_level()
411 return factor * 62; in nal_hevc_level()
413 return -EINVAL; in nal_hevc_level()
502 void *dest, size_t n, struct nal_hevc_vps *vps);
504 struct nal_hevc_vps *vps, void *src, size_t n);
507 void *dest, size_t n, struct nal_hevc_sps *sps);
509 struct nal_hevc_sps *sps, void *src, size_t n);
512 void *dest, size_t n, struct nal_hevc_pps *pps);
514 struct nal_hevc_pps *pps, void *src, size_t n);
516 ssize_t nal_hevc_write_filler(const struct device *dev, void *dest, size_t n);
517 ssize_t nal_hevc_read_filler(const struct device *dev, void *src, size_t n);