File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,21 @@ static inline uint32_t h265hvcc_get_profile_compatibility(const uint8_t *p)
412412 return (p [2 ] << 24 ) | (p [3 ] << 16 ) | (p [4 ] << 8 ) | p [5 ];
413413}
414414
415+ static inline const char * h265_get_profile_txt (uint8_t i_profile )
416+ {
417+ return i_profile == 0 ? "None" :
418+ i_profile == 1 ? "Main" :
419+ i_profile == 2 ? "Main 10" :
420+ i_profile == 3 ? "Main Still Picture" :
421+ i_profile == 4 ? "Range Extension" :
422+ i_profile == 5 ? "High Throughput" :
423+ i_profile == 6 ? "Multiview Main" :
424+ i_profile == 7 ? "Scalable Main" :
425+ i_profile == 8 ? "3D Main" :
426+ i_profile == 9 ? "Screen Extended" :
427+ i_profile == 10 ? "Scalable Range Extension" : "Reserved" ;
428+ }
429+
415430static inline void h265hvcc_set_constraint_indicator (uint8_t * p , uint64_t val )
416431{
417432 p [6 ] = val >> 40 ;
You can’t perform that action at this time.
0 commit comments