MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / cook_count_channels

Function cook_count_channels

libavcodec/cook.c:1066–1074  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1064#endif
1065
1066static av_cold int cook_count_channels(unsigned int mask){
1067 int i;
1068 int channels = 0;
1069 for(i = 0;i<32;i++){
1070 if(mask & (1<<i))
1071 ++channels;
1072 }
1073 return channels;
1074}
1075
1076/**
1077 * Cook initialization

Callers 1

cook_decode_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected