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
136 * struct nal_hevc_vui_parameters - VUI parameters
138 * C struct representation of the VUI parameters as defined by Rec. ITU-T
199 * struct nal_hevc_sps - Sequence parameter set
202 * Rec. ITU-T H.265 (02/2018) 7.3.2.2 Sequence parameter set RBSP syntax
325 * nal_hevc_profile() - Get profile_idc for v4l2 hevc profile
329 * in Rec. ITU-T H.265 (02/2018) A.3.
343 return -EINVAL; in nal_hevc_profile()
348 * nal_hevc_tier() - Get tier_flag for v4l2 hevc tier
352 * in Rec. ITU-T H.265 (02/2018) A.4.1.
364 return -EINVAL; in nal_hevc_tier()
369 * nal_hevc_level() - Get level_idc for v4l2 hevc level
373 * Rec. ITU-T H.265 (02/2018) A.4.1.
380 * T-Rec-H.265 p. 280: general_level_idc and sub_layer_level_idc[ i ] in nal_hevc_level()
384 int factor = 30 / 10; in nal_hevc_level() local
388 return factor * 10; in nal_hevc_level()
390 return factor * 20; in nal_hevc_level()
392 return factor * 21; in nal_hevc_level()
394 return factor * 30; in nal_hevc_level()
396 return factor * 31; in nal_hevc_level()
398 return factor * 40; in nal_hevc_level()
400 return factor * 41; in nal_hevc_level()
402 return factor * 50; in nal_hevc_level()
404 return factor * 51; in nal_hevc_level()
406 return factor * 52; in nal_hevc_level()
408 return factor * 60; in nal_hevc_level()
410 return factor * 61; in nal_hevc_level()
412 return factor * 62; in nal_hevc_level()
414 return -EINVAL; in nal_hevc_level()
503 void *dest, size_t n, struct nal_hevc_vps *vps);
505 struct nal_hevc_vps *vps, void *src, size_t n);
508 void *dest, size_t n, struct nal_hevc_sps *sps);
510 struct nal_hevc_sps *sps, void *src, size_t n);
513 void *dest, size_t n, struct nal_hevc_pps *pps);
515 struct nal_hevc_pps *pps, void *src, size_t n);
517 ssize_t nal_hevc_write_filler(const struct device *dev, void *dest, size_t n);
518 ssize_t nal_hevc_read_filler(const struct device *dev, void *src, size_t n);