22 #include <hybris/media/media_codec_layer.h> 23 #include <hybris/media/surface_texture_client_hybris.h> 35 auto thiz =
static_cast<Private*
>(context);
41 : gl_texture{gl_texture},
47 "video::HybrisGlSink: Could not connect to remote buffer queue." 52 "video::HybrisGlSink: Could not associate local texture id with remote buffer streak." 73 static std::map<media::Player::PlayerKey, DSSessionWrapperHybris> lut;
74 static std::mutex lut_guard;
78 std::lock_guard<std::mutex> lg{lut_guard};
79 if (lut.count(key) == 0)
80 lut[key] = decoding_service_create_session(key);
83 return [](std::uint32_t texture)
99 return d->frame_available;
105 gl_consumer_get_transformation_matrix(d->gl_texture_consumer, matrix);
112 gl_consumer_update_texture(d->gl_texture_consumer);
Private(std::uint32_t gl_texture)
static void on_frame_available_callback(GLConsumerWrapperHybris, void *context)
GLConsumerWrapperHybris gl_texture_consumer
IGBCWrapperHybris graphics_buffer_consumer
core::Signal< void > frame_available