Method, device and mobile device for controlling Android camera under glibc environment

在glibc环境下控制安卓相机的方法、装置及移动设备

Abstract

本发明实施例提供了一种在glibc环境下控制安卓相机的方法、装置和移动设备,该方法包括:将bionic环境下的安卓相机服务中的功能接口通过Libhybris技术转换成glibc环境能调用的功能接口;基于GStreamer框架生成能够对转换后的功能接口进行调用的相机插件;通过相机管道接收来自相机应用模块的相机操作命令,驱动所述相机插件调用所述转换后的功能接口,对相机硬件进行操作;由所述相机插件通过所述转换后的功能接口接收相机硬件生成的数据,并将数据经由所述相机管道返回所述相机应用模块。
The embodiment of the invention provides a method, a device and a mobile device for controlling an Android camera under a glibc environment. The method comprises the following steps: converting a function interface in an Android camera service under a bionic environment into a function interface capable of being called under the glibc environment through a Libhybris technique; generating a camera plug-in unit capable of calling the converted function interface on the basis of a GStreamer frame; receiving a camera operation command from a camera application module through a camera pipeline, driving the camera plug-in unit to call the converted function interface, and operating camera hardware; receiving data generated by the camera hardware by the camera plug-in unit through the converted function interface and returning the data to the camera application module through the camera pipeline.

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (5)

    Publication numberPublication dateAssigneeTitle
    CN-102006311-AApril 06, 2011青岛海信网络科技股份有限公司Streaming media multifunctional distributing system and method
    CN-102547394-AJuly 04, 2012福建升腾资讯有限公司Vdi环境下云接入设备通用的音视频重定向方法
    CN-102984571-AMarch 20, 2013青岛海信信芯科技有限公司数字电视中Gstreamer读取外部数据的方法及其装置
    CN-103559150-AFebruary 05, 2014深圳市道通科技有限公司主机外置摄像头的实现方法和装置及移动终端
    US-2008127217-A1May 29, 2008Oracle International CorporationMechanism for Developing AJax Applications Using Java Swing Framework and Method for Using the Same

NO-Patent Citations (0)

    Title

Cited By (1)

    Publication numberPublication dateAssigneeTitle
    CN-105472457-AApril 06, 2016深圳Tcl数字技术有限公司基于视频启动播放方法及视频启动装置