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

Function check

client/decoder/android/android_decoder.cpp:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void check(media_status_t status, const char * msg)
71{
72 if (status != AMEDIA_OK)
73 {
74 spdlog::error("{}: MediaCodec error {}", msg, (int)status);
75 throw std::runtime_error("MediaCodec error");
76 }
77}
78
79struct android_blit_handle : public decoder::blit_handle
80{

Callers 3

decoderMethod · 0.70
on_image_availableMethod · 0.70
map_hardware_bufferMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected