[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104023266A - Use method of communication coding-decoding assembly of android system - Google Patents

Use method of communication coding-decoding assembly of android system Download PDF

Info

Publication number
CN104023266A
CN104023266A CN201410227446.8A CN201410227446A CN104023266A CN 104023266 A CN104023266 A CN 104023266A CN 201410227446 A CN201410227446 A CN 201410227446A CN 104023266 A CN104023266 A CN 104023266A
Authority
CN
China
Prior art keywords
assembly
client
decoding
hardware compression
openmax
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410227446.8A
Other languages
Chinese (zh)
Inventor
于敏
王功乾
覃洪清
焦本斌
韩佳南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201410227446.8A priority Critical patent/CN104023266A/en
Publication of CN104023266A publication Critical patent/CN104023266A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

A use method of a communication coding-decoding assembly of an android system relates to the technical field of data processing technique of the android system. The use method comprises the following steps: a step S1, compiling an assembly of an OpenMax integrated layer and an assembly client of the OpenMax integrated layer, wherein the assembly client can call an assembly, and furthermore a hardware coder-decoder of an OpenMax developing layer is called through the assembly client; a step S2, creating a flow media hardware coding-decoding plug-in and packaging an interface of the assembly client; and a step S3, writing the information of the hardware coder-decoder into a configuration file, selecting the flow media hardware coding-decoding plug-in by an upper-layer application through the configuration file, calling the interface of the assembly client and furthermore calling the interface of the assembly, and finally calling the hardware coder-decoder. According to the use method, the hardware coder-decoder is utilized, thereby improving coding efficiency and decoding efficiency, and therefore better user experience is realized.

Description

A kind of using method of communication encoding and decoding assembly of Android system
Technical field
The present invention relates to Android system technical field of data processing, is specifically a kind of using method of communication encoding and decoding assembly of Android system.
Background technology
The media stream engine of having researched and developed can be reception, send media stream provides processing, comprises that audio/video catches, encodes, decodes, plays up.Carry multiple encoding and decoding, and can carry out third party's encoding and decoding expansion.Media engine has multiple cross-platform versions, can operate in android platform, and user can experience video communication function by it.
But this media engine generally adopts software codec, because software codec relies on the disposal ability of cpu completely, real-time Transmission and can produce while processing audio frequency and video and seize, hang dead problem, causes efficiency lower.
Summary of the invention
For the defect existing in prior art, the object of the present invention is to provide a kind of using method of communication encoding and decoding assembly of Android system, utilize hardware compression device, thereby promote encoding-decoding efficiency, bring better user to experience with this.
For reaching above object, the technical scheme that the present invention takes is: a kind of using method of communication encoding and decoding assembly of Android system, based on the hardware compression device of OpenMax integrated layer and OpenMax development layer, comprise the following steps: step S1. writes the assembly client of assembly and the OpenMax integrated layer of OpenMax integrated layer, described assembly client can be called described assembly, and then by the hardware compression device of assembly client call OpenMax development layer; Step S2. creates Streaming Media hardware compression plug-in unit, and the interface of described assembly client is encapsulated; The information of described hardware compression device is write configuration file by step S3., upper layer application, by configuration file, is selected Streaming Media hardware compression plug-in unit, calls the interface of described assembly client, and then call the interface of described assembly, finally call described hardware compression device.
On the basis of technique scheme, described Streaming Media hardware compression plug-in unit is Streaming Media engine filter.
On the basis of technique scheme, described assembly comprises audio-frequency assembly, video component and image component.
On the basis of technique scheme, described assembly has the function of encoding and decoding processing; Described assembly client completes assembly function by calling described assembly.
On the basis of technique scheme, described configuration file also comprises the information of software codec.
On the basis of technique scheme, the concrete steps of step S2 are: step S201. creates Streaming Media hardware compression plug-in unit; The interface of described assembly client is pressed the encapsulation of Streaming Media Plugin Requirement by step S202.; Step S203. uses the interface of Streaming Media hardware compression plug-in unit, calls the interface of the assembly client after encapsulation, completes initialization, processing and the cleaning of described hardware compression device.
Beneficial effect of the present invention is:
1, the present invention utilizes hardware compression device, because hardware compression device disposal ability is stronger than software codec, can use exclusive device or parts (as GPU etc.), has therefore promoted encoding-decoding efficiency, has brought better user to experience.
2, to utilize the OpenMax development layer of hardware compression adaptation and OpenMax integrated layer be standard interface in the present invention, can carry out easily the expansion of hardware compression device.
Brief description of the drawings
Fig. 1 is the structured flowchart of OpenMAX;
Fig. 2 is the using method flow chart of the communication encoding and decoding assembly of Android system in the embodiment of the present invention;
Fig. 3 is the software configuration schematic diagram in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
Shown in Figure 1, OpenMAX is the standard of a multimedia application, comprises three layers, is respectively application layer, integrated layer and development layer.In OpenMax integrated layer, important part is assembly (component), and assembly is the core content that OpenMax integrated layer is realized, and an assembly is taking input, output port as interface, and port can be connected on another assembly.Outside can send order to assembly, also arrange/get parms, the content such as configuration.The port of assembly can comprise the queue of buffering area (Buffer).In Android system, OpenMax integrated layer, can be for the plug-in unit of media engine, and the media engine OpenCore of android and StageFright can use OpenMax as plug-in unit, is mainly used in encoding and decoding (Codec) and processes.
Shown in Figure 2, the embodiment of the present invention provides a kind of using method of communication encoding and decoding assembly of Android system, based on the hardware compression device of OpenMax integrated layer and OpenMax development layer, comprises the following steps:
Step S1. writes the assembly client of assembly and the OpenMax integrated layer of OpenMax integrated layer, and described assembly client can be called described assembly, and then by the hardware compression device of assembly client call OpenMax development layer; Described assembly comprises audio-frequency assembly, video component and image component.Described assembly, has the function of encoding and decoding processing; Described assembly client, completes assembly function by calling described assembly.
Step S2. creates Streaming Media hardware compression plug-in unit, and the interface of described assembly client is encapsulated; Described Streaming Media hardware compression plug-in unit is Streaming Media engine filter.
The concrete steps of step S2 comprise:
Step S201. creates Streaming Media hardware compression plug-in unit.
The interface of described assembly client is pressed the encapsulation of Streaming Media Plugin Requirement by step S202..
Step S203. uses the interface of Streaming Media hardware compression plug-in unit, calls the interface of the assembly client after encapsulation, completes initialization, processing and the cleaning of described hardware compression device.
The information of described hardware compression device is write configuration file by step S3., shown in Figure 3, and upper layer application is passed through configuration file, select Streaming Media hardware compression plug-in unit, call the interface of described assembly client, and then call the interface of described assembly, finally call described hardware compression device.Configuration file stores is at application program place file, for routine call.Described configuration file also comprises the information of software codec.
The present invention obtains data source by stream engine filter, the assembly that passes to OpenMax integrated layer carries out encoding and decoding processing, data after treatment are backfilling into the buffering area (Buffer) of the assembly for OpenMax integrated layer of Streaming Media engine filter distribution, carry out subsequent treatment by stream engine.Complete encoding and decoding processing by constantly calling with backfill data like this.Actual in operating process user first select Streaming Media hardware compression plug-in unit by configuration file, then upper layer application is called the hardware compression device of OpenMax development layer by calling the interface of assembly client of OpenMax integrated layer of encapsulation.
The present invention is not limited to above-mentioned execution mode, for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, within these improvements and modifications are also considered as protection scope of the present invention.The content not being described in detail in this specification belongs to the known prior art of professional and technical personnel in the field.

Claims (6)

1. a using method for the communication encoding and decoding assembly of Android system, based on the hardware compression device of OpenMax integrated layer and OpenMax development layer, is characterized in that, comprises the following steps:
Step S1. writes the assembly client of assembly and the OpenMax integrated layer of OpenMax integrated layer, and described assembly client can be called described assembly, and then by the hardware compression device of assembly client call OpenMax development layer;
Step S2. creates Streaming Media hardware compression plug-in unit, and the interface of described assembly client is encapsulated;
The information of described hardware compression device is write configuration file by step S3., upper layer application, by configuration file, is selected Streaming Media hardware compression plug-in unit, calls the interface of described assembly client, and then call the interface of described assembly, finally call described hardware compression device.
2. the using method of the communication encoding and decoding assembly of Android system as claimed in claim 1, is characterized in that: described Streaming Media hardware compression plug-in unit is Streaming Media engine filter.
3. the using method of the communication encoding and decoding assembly of Android system as claimed in claim 1, is characterized in that: described assembly comprises audio-frequency assembly, video component and image component.
4. the using method of the communication encoding and decoding assembly of Android system as claimed in claim 1, is characterized in that: described assembly has the function of encoding and decoding processing; Described assembly client completes assembly function by calling described assembly.
5. the using method of the communication encoding and decoding assembly of Android system as claimed in claim 1, is characterized in that: described configuration file also comprises the information of software codec.
6. the using method of the communication encoding and decoding assembly of Android system as claimed in claim 1, is characterized in that, the concrete steps of step S2 are:
Step S201. creates Streaming Media hardware compression plug-in unit;
The interface of described assembly client is pressed the encapsulation of Streaming Media Plugin Requirement by step S202.;
Step S203. uses the interface of Streaming Media hardware compression plug-in unit, calls the interface of the assembly client after encapsulation, completes initialization, processing and the cleaning of described hardware compression device.
CN201410227446.8A 2014-05-27 2014-05-27 Use method of communication coding-decoding assembly of android system Pending CN104023266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410227446.8A CN104023266A (en) 2014-05-27 2014-05-27 Use method of communication coding-decoding assembly of android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410227446.8A CN104023266A (en) 2014-05-27 2014-05-27 Use method of communication coding-decoding assembly of android system

Publications (1)

Publication Number Publication Date
CN104023266A true CN104023266A (en) 2014-09-03

Family

ID=51439802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410227446.8A Pending CN104023266A (en) 2014-05-27 2014-05-27 Use method of communication coding-decoding assembly of android system

Country Status (1)

Country Link
CN (1) CN104023266A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389217A (en) * 2015-12-11 2016-03-09 合肥工业大学 Android system based synchronous transaction execution method
CN106716998A (en) * 2016-12-26 2017-05-24 深圳前海达闼云端智能科技有限公司 Multi-operating system multimedia data coding and decoding method and apparatus, electronic device and computer program product
CN106797388A (en) * 2016-12-29 2017-05-31 深圳前海达闼云端智能科技有限公司 Cross-system multi-medium data decoding method, device, electronic equipment and computer program product
CN106797470A (en) * 2016-12-26 2017-05-31 深圳前海达闼云端智能科技有限公司 Multiple operating system multi-medium data decoding method, device, electronic equipment and computer program product
CN107996026A (en) * 2016-12-27 2018-05-04 深圳前海达闼云端智能科技有限公司 Multiple operating system multimedia coding-decoding method, device and electronic equipment
CN108073424A (en) * 2016-11-17 2018-05-25 深圳万兴信息科技股份有限公司 The call method and device of component interface
CN113891087A (en) * 2021-10-12 2022-01-04 深圳市算筹信息技术有限公司 Method and system for realizing virtualization hardware coding and decoding acceleration based on Linux system
CN115379209A (en) * 2022-09-14 2022-11-22 北京睿芯高通量科技有限公司 Automatic test system for video coder-decoder

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017483A (en) * 2006-02-10 2007-08-15 联想(北京)有限公司 Apparatus and method for media conversion
CN201118836Y (en) * 2007-11-26 2008-09-17 成都三泰电子实业股份有限公司 Video monitoring display server
CN101543011A (en) * 2006-11-30 2009-09-23 索尼爱立信移动通讯有限公司 Bundling of multimedia content and decoding means
WO2009156824A1 (en) * 2008-06-25 2009-12-30 Nokia Corporation Handling messages in a computing device
CN102473100A (en) * 2009-06-29 2012-05-23 诺基亚公司 Software component wrappers for multimedia subcomponents that control the performance of the multimedia function of the subcomponents
CN102592640A (en) * 2011-12-27 2012-07-18 长春希达电子技术有限公司 Decoding chain customizing system and method
CN102904857A (en) * 2011-07-25 2013-01-30 风网科技(北京)有限公司 Client video playing system and method thereof
CN103686195A (en) * 2013-11-22 2014-03-26 华为技术有限公司 Video information processing method and video information processing equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017483A (en) * 2006-02-10 2007-08-15 联想(北京)有限公司 Apparatus and method for media conversion
CN101543011A (en) * 2006-11-30 2009-09-23 索尼爱立信移动通讯有限公司 Bundling of multimedia content and decoding means
CN201118836Y (en) * 2007-11-26 2008-09-17 成都三泰电子实业股份有限公司 Video monitoring display server
WO2009156824A1 (en) * 2008-06-25 2009-12-30 Nokia Corporation Handling messages in a computing device
CN102473100A (en) * 2009-06-29 2012-05-23 诺基亚公司 Software component wrappers for multimedia subcomponents that control the performance of the multimedia function of the subcomponents
CN102904857A (en) * 2011-07-25 2013-01-30 风网科技(北京)有限公司 Client video playing system and method thereof
CN102592640A (en) * 2011-12-27 2012-07-18 长春希达电子技术有限公司 Decoding chain customizing system and method
CN103686195A (en) * 2013-11-22 2014-03-26 华为技术有限公司 Video information processing method and video information processing equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭亮: "OpenMax IL的研究与应用", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389217B (en) * 2015-12-11 2018-11-06 合肥工业大学 A kind of synchronous execution transaction method based on android system
CN105389217A (en) * 2015-12-11 2016-03-09 合肥工业大学 Android system based synchronous transaction execution method
CN108073424A (en) * 2016-11-17 2018-05-25 深圳万兴信息科技股份有限公司 The call method and device of component interface
CN108073424B (en) * 2016-11-17 2020-11-24 深圳万兴信息科技股份有限公司 Calling method and device of component interface
CN106797470A (en) * 2016-12-26 2017-05-31 深圳前海达闼云端智能科技有限公司 Multiple operating system multi-medium data decoding method, device, electronic equipment and computer program product
WO2018119616A1 (en) * 2016-12-26 2018-07-05 深圳前海达闼云端智能科技有限公司 Multi-operating system multimedia data coding and decoding method and apparatus, electronic device and computer program product
WO2018119611A1 (en) * 2016-12-26 2018-07-05 深圳前海达闼云端智能科技有限公司 Multimedia data encoding/decoding method and device for multi-operating system, electronic device, and computer program product
CN106716998B (en) * 2016-12-26 2019-09-17 深圳前海达闼云端智能科技有限公司 Multiple operating system multi-medium data decoding method, device and electronic equipment
CN106716998A (en) * 2016-12-26 2017-05-24 深圳前海达闼云端智能科技有限公司 Multi-operating system multimedia data coding and decoding method and apparatus, electronic device and computer program product
CN107996026A (en) * 2016-12-27 2018-05-04 深圳前海达闼云端智能科技有限公司 Multiple operating system multimedia coding-decoding method, device and electronic equipment
WO2018119711A1 (en) * 2016-12-27 2018-07-05 深圳前海达闼云端智能科技有限公司 Multimedia encoding/decoding method and device for multi-operating system, and electronic device
CN106797388A (en) * 2016-12-29 2017-05-31 深圳前海达闼云端智能科技有限公司 Cross-system multi-medium data decoding method, device, electronic equipment and computer program product
CN106797388B (en) * 2016-12-29 2020-11-10 深圳前海达闼云端智能科技有限公司 Cross-system multimedia data encoding and decoding method and device, electronic equipment and computer program product
CN113891087A (en) * 2021-10-12 2022-01-04 深圳市算筹信息技术有限公司 Method and system for realizing virtualization hardware coding and decoding acceleration based on Linux system
CN115379209A (en) * 2022-09-14 2022-11-22 北京睿芯高通量科技有限公司 Automatic test system for video coder-decoder

Similar Documents

Publication Publication Date Title
CN104023266A (en) Use method of communication coding-decoding assembly of android system
CN104159150B (en) Cloud terminal, Cloud Server, media data flow play system and method
TWI345389B (en) Method generating advanced audio distribution profile (a2dp) source code and chipset using the same
MY189280A (en) Hybrid backward-compatible signal encoding and decoding
MX2024003251A (en) Apparatus, method and computer program for encoding, decoding, scene processing and other procedures related to dirac based spatial audio coding.
JP2016001483A (en) User input device for wireless back channel
CN105791892A (en) Video redirecting method based on desktop cloud, cloud server and video redirecting system
CN104754349A (en) Method and device for hardware decoding of audio/video
CN103491379A (en) Method and device for improving intelligent analysis performance
CN104091608A (en) Video editing method and device based on IOS equipment
CN104980682A (en) Intelligent dynamic high-definition video transmission system
CN104202656B (en) Network audio MP3 flows out of order segmentation decoding method
CN102819851A (en) Method for implementing sound pictures by using computer
WO2018119611A1 (en) Multimedia data encoding/decoding method and device for multi-operating system, electronic device, and computer program product
CN102098513A (en) Real-time transmission method of wireless video
CN105577781A (en) Method and system for sound frequency redirection in virtualization desktop
CN104023260B (en) Hardware decoding realization method, device and player
CN105263021A (en) UVD-based HEVC video decoding method
MX2018011400A (en) Coding and decoding methods of a picture block, corresponding devices and data stream.
CN109743643B (en) Processing method and device for building intercom system
CN103051946A (en) General real time streaming protocol (RTSP) stream player based on Android system
WO2018119616A1 (en) Multi-operating system multimedia data coding and decoding method and apparatus, electronic device and computer program product
CN101329758B (en) System for processing multimedia data striding course
CN103237217A (en) Virtualization-based video encoding and decoding method
CN206042211U (en) Device and license plate recognition that handle is carried out camera video flowing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140903

RJ01 Rejection of invention patent application after publication