MCPcopy Create free account
hub / github.com/WiVRn/WiVRn / mime

Function mime

client/decoder/android/android_decoder.cpp:52–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50namespace
51{
52const char * mime(wivrn::video_codec codec)
53{
54 using c = wivrn::video_codec;
55 switch (codec)
56 {
57 case c::h264:
58 return "video/avc";
59 case c::h265:
60 return "video/hevc";
61 case c::av1:
62 return "video/av01";
63 case c::raw:
64 break;
65 }
66 assert(false);
67 __builtin_unreachable();
68}
69
70void check(media_status_t status, const char * msg)
71{

Callers 2

decoderMethod · 0.85
supported_codecsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected