CN101895743A - Method and system for transmitting encoded and decoded data among processors, and visual telephone - Google Patents

Method and system for transmitting encoded and decoded data among processors, and visual telephone Download PDF

Info

Publication number
CN101895743A
CN101895743A CN 201010122587 CN201010122587A CN101895743A CN 101895743 A CN101895743 A CN 101895743A CN 201010122587 CN201010122587 CN 201010122587 CN 201010122587 A CN201010122587 A CN 201010122587A CN 101895743 A CN101895743 A CN 101895743A
Authority
CN
China
Prior art keywords
data
frame
coprocessor
decoding
buffer pool
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.)
Granted
Application number
CN 201010122587
Other languages
Chinese (zh)
Other versions
CN101895743B (en
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN2010101225875A priority Critical patent/CN101895743B/en
Publication of CN101895743A publication Critical patent/CN101895743A/en
Application granted granted Critical
Publication of CN101895743B publication Critical patent/CN101895743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

The invention is applied in the technical field of mobile communication, and provides a method and a system for transmitting encoded and decoded data among processors, and a visual telephone. The method comprises the following steps that: when a decoded data writing engine detects that a data frame subjected to software decoding by a protocol stack is a first data frame, the decoding setting of a coprocessor is configured and a decoding thread of an application processor is started; the decoding thread of the application processor transmits the data frame subjected to the software decoding by the protocol stack to the coprocessor; the coprocessor performs hardware decoding on the data frame, and displays decoded video call data on a display screen; the coprocessor performs hardware encoding on the video call data shot by a camera; the coprocessor transmits the encoded data to the application processor; and an encoding thread of the application processor transmits the encoded data to the protocol stack for software encoding and transmits the encoded data to an air interface through a communication protocol stack. Through the method, the transmission of the encoded and decoded data can be more securely and reliably realized in the video call process.

Description

A kind of transmission method of decoded data among processors, system and video telephone
Technical field
The invention belongs to the mobile communication technology field, relate in particular to a kind of transmission method, system and video telephone of decoded data among processors.
Background technology
Development along with mechanics of communication, we have stepped into 3G, 4G epoch, in mobile communication, a very important business is exactly a video telephone, in conversation on video telephone, the smoothness of video, the clear experience that is directly connected to the user, the smooth clear of video is to be done to guarantee by the reliable transmission of video stream data, the transmission of the codec data of video data is a very important ring, is related to the stable and user's of system direct experience.
Yet, handling process and control flow are put in the transmission of the codec data of existing video data together, do not handle respectively, make the processing logic more complicated, influence the efficient of transfer of data, in addition, lose and the Frame of Frame overflows not consideration and fault-tolerant fully, causes the Frame frame losing.
In a word, the transmission method of the codec data of existing video data is because the processing logic complexity, and efficient is not high, and the easy frame losing of data and overflowing, and can cause mosaic phenomenon, image fault etc.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of transmission method of decoded data among processors, the transmission method efficient of codec data that is intended to solve the video data that prior art provides is not high, and the easy frame losing of data and overflowing can cause mosaic phenomenon, the problem of image fault.
The embodiment of the invention is achieved in that a kind of transmission method of decoded data among processors, and described method comprises the steps:
For downlink data:
When writing the decoded data engine and detect Frame by the soft decoding of protocol stack and be first frame, the decoding of configuration coprocessor is provided with, and the soft decoded Frame of decoding threads store that starts application processor is to the circular buffering pond;
The decoding thread of application processor is sent to coprocessor with the soft decoded Frame of protocol stack;
Coprocessor carries out hard decoder to the Frame that receives, and shows that decoded video call data is to display screen;
For upstream data:
The video call data of coprocessor hard coded camera picked-up;
After coprocessor was finished the hard coded of video call data, the data behind the transmission coding were to application processor;
Data behind the coding that the coding thread of application processor will receive send to protocol stack and carry out sending to air interface by communication protocol stack behind the soft coding.
Another object of the present invention is to provide a kind of transmission system of decoded data among processors, described system comprises:
Application processor decoding thread start unit, be used for when writing the decoded data engine and detect Frame by the soft decoding of protocol stack and be first frame, the decoding of configuration coprocessor is provided with, and the soft decoded Frame of decoding threads store that starts application processor is to the circular buffering pond;
The soft decoded data frame of application processor transmission unit, the decoding thread that is used for application processor is sent to coprocessor with the soft decoded Frame of protocol stack;
The coprocessor decoding unit is used for coprocessor the Frame that receives is carried out hard decoder, and shows that decoded video call data is to display screen;
Coprocessor hard coded unit is used for the video call data that coprocessor hard coded camera absorbs;
Coprocessor coded data transmitting element after being used for coprocessor and finishing the hard coded of video call data, sends data behind the coding to application processor;
Application processor coded data receiving element is used for data behind the coding that the coding thread of application processor will receive and sends to protocol stack and carry out soft coding back and send to air interface by communication protocol stack.
Another object of the present invention is to provide a kind of video telephone, described video telephone comprises the transmission system of aforesaid decoded data among processors.
In embodiments of the present invention, for up video call data, at first issue the soft decoding of protocol stack by communication protocol stack by the video call data of air interface, issue coprocessor by the decoding thread of application processor again, behind the coprocessor hard decoder video call data that receives is shown on the LCD; For up video call data, at first with the video call data of camera picked-up through the coprocessor hard coded after, again by the coding thread of application processor, send to the soft coding of protocol stack after, send to air interface by communication protocol stack.Therein, the handling process and the control flow of encoding and decoding are handled respectively, processing logic is simple, the efficient height, data also are not easy frame losing and overflow, can not cause mosaic phenomenon, image fault, the transmission of coded data and decoded data between application processor and the coprocessor in the realization video call process that can be more safe and reliable.
Description of drawings
Fig. 1 is the realization flow figure of the transmission method of decoded data between the processor that provides of the embodiment of the invention;
Fig. 2 is the realization flow figure of the transmission method of coded data between the processor that provides of the embodiment of the invention;
Fig. 3 is the structural representation of the transmission system of the decoded data among processors that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, for up video call data, at first issue the soft decoding of protocol stack by communication protocol stack by the video call data of air interface, issue coprocessor by the decoding thread of application processor again, behind the coprocessor hard decoder video call data that receives is shown on the LCD; For up video call data, at first with the video call data of camera picked-up through the coprocessor hard coded after, again by the coding thread of application processor, send to the soft coding of protocol stack after, send to air interface by communication protocol stack.Therein, the handling process and the control flow of encoding and decoding are handled respectively, processing logic is simple, the efficient height, data also are not easy frame losing and overflow, can not cause mosaic phenomenon, image fault, the transmission of coded data and decoded data between application processor and the coprocessor in the realization video call process that can be more safe and reliable.
Fig. 1 shows the realization flow figure of the transmission method of decoded data between the processor that the embodiment of the invention provides, and details are as follows:
In step S101, when writing the decoded data engine and detect Frame by the soft decoding of protocol stack and be first frame, the decoding of configuration coprocessor is provided with, and the soft decoded Frame of decoding threads store that starts application processor is to the circular buffering pond.
Video calling is divided into upstream data and downlink data, and the decoding of data is mainly finished in the reception of downlink data, and upstream data is mainly finished the coding of data.
As one embodiment of the present of invention, air interface receives descending video call data and is transferred to issues protocol stack after communication protocol stack is handled, in the present embodiment, this protocol stack is a protocol stack H.263, H.263 protocol stack carries out soft decoding to the data that receive by communication protocol stack, when writing the decoded data engine and detect Frame by the H.263 soft decoding of protocol stack and be first frame, the decoding of configuration coprocessor is provided with, and starts the decoding thread of application processor.
In step S102, the decoding thread of application processor is sent to coprocessor with the soft decoded Frame of protocol stack.
As one embodiment of the present of invention, after writing the decoded data engine and receiving the soft decoded data that protocol stack H.263 sends, whether the Frame that detection receives is first frame data, when being first frame data, the decoding setting of configuration coprocessor, start the decoding thread of application processor, in the time of in the decoding thread detects the scope that the length of these first frame decoding data requiring, data are deposited in the circular buffering pond, the write pointer circulation of Buffer Pool increases progressively, the read data frame number does not increase progressively, when having read data frame not in the Buffer Pool and the length of read data frame is not non-vanishing, the Frame that the decoding thread will receive and deposit in the Buffer Pool is sent to coprocessor, and coprocessor carries out hard decoder to the Frame that receives; When the Frame that receives when detection is not first frame data, whether the length of judging this Frame is in claimed range, when in the scope at the length requirement of Frame, judge in the Buffer Pool that read data frame number not is whether more than or equal to the size of Buffer Pool, if, then wait for the decoding of decoding thread, if not, then the Frame that receives is deposited in the circular buffering pond, the write pointer circulation of Buffer Pool increases progressively, in the Buffer Pool not the read data frame number increase progressively, when the frame number of read data frame is not more than or equal to Buffer Pool big or small in Buffer Pool, wait for the decoding of decoding thread.
As a preferred embodiment of the present invention, after the decoding thread receives the first frame data frame, judge whether the Frame of not reading is arranged in the Buffer Pool, the Frame of in Buffer Pool, not reading, the decoding thread is in wait state always, when having not read data frame and Frame length non-vanishing in the pending buffer pond just transmit data frames to coprocessor.
As another preferred embodiment of the present invention, after the decoding thread receives the first frame data frame, judge whether the Frame of not reading is arranged in the Buffer Pool, the Frame of not reading is arranged in Buffer Pool, but when the length of this Frame is zero, the decoding thread detects in the Buffer Pool the not length of read data frame always, and the ability transmit data frames is to coprocessor when detecting that read data frame length is not non-vanishing.
In step S103, coprocessor carries out hard decoder to the Frame that receives, and shows that decoded video call data is to display screen.
As one embodiment of the present of invention, when coprocessor carries out hard decoder to the data that receive, constantly read the Frame in the Buffer Pool, the read pointer circulation of Buffer Pool increases progressively, the read data frame number does not successively decrease, and the coprocessor decoding is read the data decode in the Buffer Pool always and shown on display screen LCD.
Fig. 2 shows the realization flow figure of the transmission method of coded data between the processor that the embodiment of the invention provides, and details are as follows:
In step S201, by the video call data of coprocessor hard coded camera picked-up.
Video call data is divided into upstream data and downlink data, and the decoding of data is mainly finished in the reception of downlink data, and upstream data is mainly finished the coding of data.
As one embodiment of the present of invention, behind the beginning video calling, the coded data engine begins reading of data, judge whether the Frame that reads is first frame data, when detecting the Frame that reads and be first Frame, judge whether that success opens camera, if camera is successfully opened, the then coprocessor configuration of encoding, the Frame that receives is encoded, when detecting the Frame that reads and be not first Frame, judge in the coding Buffer Pool whether data are arranged, when not having data, wait for and detect in the coding Buffer Pool having data, when having data in the coding Buffer Pool, according to certain step-length with the data upload in the buffering area, the circulation of Buffer Pool read pointer increases progressively, and does not take the data frame number away and successively decreases.
In step S202, after coprocessor was finished the hard coded of video call data, the data behind the transmission coding were to application processor.
As one embodiment of the present of invention, after coprocessor was finished the hard coded of video call data, to the coded data Buffer Pool, the circulation of Buffer Pool write pointer increased progressively application processor from the coprocessor reading of data, do not take the data frame number away and increase progressively, start the coding thread of application processor.
In step S203, the data behind the coding that the coding thread of application processor will receive send to protocol stack and carry out sending to air interface by communication protocol stack behind the soft coding.
As one embodiment of the present of invention, after the coding thread of application processor starts, whether detect total coded data length and frame number less than the value of stipulating, if, then notify coprocessor to fetch data, judge again whether coprocessor obtains data successful, after coprocessor successfully obtains data, the coding thread of application processor fetches data from coprocessor in the Buffer Pool, the data frame number increases progressively, Buffer Pool write pointer circulation increases progressively, and H.263 the data of the coding thread of application processor after with the coding of storing in the Buffer Pool send to protocol stack and carry out soft coding and then send to air interface by communication protocol stack.
Fig. 3 shows the concrete structure block diagram of the transmission system of the decoded data among processors that the embodiment of the invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.The transmission system of this decoded data among processors can be the unit that the software unit, hardware cell or the software and hardware that are built in video telephone combines, and perhaps is integrated in the application system of video telephone as suspension member independently.Wherein: this system comprises: application processor decoding thread start unit 31, the soft decoded data frame of application processor transmission unit 32, coprocessor decoding unit 33 and coprocessor hard coded unit 34, coprocessor coded data transmitting element 35, application processor coded data receiving element 36.
Wherein, application processor decoding thread start unit 31, the soft decoded data frame of application processor transmission unit 32, coprocessor decoding unit 33 are used for the decoded data transmission of downlink data, and coprocessor hard coded unit 34, coprocessor coded data transmitting element 35, application processor coded data receiving element 36 are used for the coded data transmission of upstream data.
The unit of the decoded data transmission that is used for downlink data is described respectively below:
Wherein, application processor decoding thread start unit 31 is used for when writing the decoded data engine and detect Frame by the soft decoding of protocol stack and be first frame, and the decoding of configuration coprocessor is provided with, the decoding thread of startup application processor;
The decoding thread that the soft decoded data frame of application processor transmission unit 32 is used for application processor is sent to coprocessor with the soft decoded Frame of protocol stack;
Coprocessor decoding unit 33 is used for coprocessor the Frame that receives is carried out hard decoder, and shows that decoded video call data is to display screen.
In addition, when carrying out the transmission of downlink data, this system also comprises: read data frame number judging unit, first is not waited for the decoding unit and the second wait decoding unit.
Wherein, read data frame number judging unit is not used for when detecting the Frame receive and be not first frame data, and in the scope of the length requirement of Frame the time, judges in the Buffer Pool that read data frame number not is whether more than or equal to the size of Buffer Pool;
If first wait for decoding unit be used for Buffer Pool not the read data frame number more than or equal to the size of Buffer Pool then wait for the decoding of decoding thread;
If second wait for decoding unit be used for Buffer Pool not the read data frame number less than the size of Buffer Pool, then the Frame that receives is deposited in the circular buffering pond, when the frame number of read data frame is not more than or equal to Buffer Pool big or small in Buffer Pool, wait for the decoding of decoding thread.
In addition, the soft decoded data frame of application processor transmission unit 32 comprises: data write subelement and data frame transfer subelement.
Wherein, when data write subelement and are used in the decoding thread detects the scope that the length of first frame data requiring, data are deposited in the circular buffering pond;
The data frame transfer subelement is used for having read data frame not and when the length of read data frame was not non-vanishing, the Frame that the decoding thread will receive and deposit in the Buffer Pool was sent to coprocessor when Buffer Pool.
Wherein, the data frame transfer subelement also comprises: not read data frame detection module and not read data frame length detection module.
The read data frame detection module is not used for the Frame do not read when Buffer Pool, and the decoding thread is in wait state always, and transmit data frames is to coprocessor when having not read data frame and Frame length non-vanishing in the pending buffer pond;
Read data frame length detection module is not used for when Buffer Pool the Frame of not reading being arranged, but when the length of this Frame is zero, the decoding thread detects not read data frame in the Buffer Pool always, and transmit data frames is to coprocessor when detecting that read data frame length is not non-vanishing.
The unit of the coded data transmission that is used for upstream data is described respectively below:
Wherein, coprocessor hard coded unit 34 is used for the video call data of coprocessor hard coded camera picked-up;
Coprocessor coded data transmitting element 35 is used for coprocessor finish the hard coded of video call data after, send data behind the coding to application processor;
Application processor coded data receiving element 36 is used for data behind the coding that the coding thread of application processor will receive and sends to protocol stack and carry out soft coding back and send to air interface by communication protocol stack.
Wherein: coprocessor hard coded unit 34 comprises: coding subelement and data upload subelement.
The coding subelement is used for when the coded data engine detects the Frame that reads and is first Frame, and camera successfully opens, and the then coprocessor configuration of encoding is encoded to the Frame that receives;
The data upload subelement is used for when the coded data engine detects the Frame that reads and is not first Frame, and when not having data in the coding Buffer Pool, wait for and also to detect when in the coding Buffer Pool, having data, according to certain step-length with the data upload in the buffering area.
Wherein, application processor coded data receiving element 36 comprises: data length and frame number detection sub-unit, coprocessor fetch data subelement and the data of the coding thread of notice subelement, application processor of fetching data send subelement.
After data length and frame number detection sub-unit are used for the coding thread startup of application processor, whether detect total coded data length and frame number less than the value of stipulating;
The notice subelement is used for total coded data length and the frame number value less than regulation if coprocessor fetches data, and then notifies coprocessor to fetch data;
The coding thread of the application processor subelement that fetches data is used for after coprocessor successfully obtains data, and the coding thread of application processor fetches data from coprocessor in the Buffer Pool;
Data send data behind the coding that coding thread that subelement is used for application processor stores Buffer Pool and send to protocol stack and carry out soft coding and then send to air interface by communication protocol stack.Concrete condition does not repeat them here as mentioned above.
In embodiments of the present invention, for up video call data, at first issue the soft decoding of protocol stack by communication protocol stack by the video call data of air interface, issue coprocessor by the decoding thread of application processor again, behind the coprocessor hard decoder video call data that receives is shown on the LCD; For up video call data, at first with the video call data of camera picked-up through the coprocessor hard coded after, again by the coding thread of application processor, send to the soft coding of protocol stack after, send to air interface by communication protocol stack.Therein, the handling process and the control flow of encoding and decoding are handled respectively, processing logic is simple, the efficient height, data also are not easy frame losing and overflow, can not cause mosaic phenomenon, image fault, the transmission of coded data and decoded data between application processor and the coprocessor in the realization video call process that can be more safe and reliable.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. the transmission method of a decoded data among processors is characterized in that, described method comprises the steps:
For downlink data:
When writing the decoded data engine and detect Frame by the soft decoding of protocol stack and be first frame, the decoding of configuration coprocessor is provided with, and the soft decoded Frame of decoding threads store that starts application processor is to the circular buffering pond;
The decoding thread of application processor is sent to coprocessor with the soft decoded Frame of protocol stack;
Coprocessor carries out hard decoder to the Frame that receives, and shows that decoded video call data is to display screen;
For upstream data:
The video call data of coprocessor hard coded camera picked-up;
After coprocessor was finished the hard coded of video call data, the data behind the transmission coding were to application processor;
Data behind the coding that the coding thread of application processor will receive send to protocol stack and carry out sending to air interface by communication protocol stack behind the soft coding.
2. the method for claim 1 is characterized in that, before soft decoded Frame was sent to the step of coprocessor with protocol stack, described method also comprised the steps: at the decoding thread of described application processor
When the Frame that receives when detection is not first frame data, and in the scope of the length requirement of Frame the time, judge in the Buffer Pool that read data frame number not is whether more than or equal to the size of Buffer Pool;
If in the Buffer Pool not the read data frame number more than or equal to the size of Buffer Pool then wait for the decoding of decoding thread;
If in the Buffer Pool not the read data frame number then the Frame that receives is deposited in the circular buffering pond less than the size of Buffer Pool, when the frame number of read data frame is not more than or equal to Buffer Pool big or small in Buffer Pool, wait for the decoding of decoding thread.
3. the method for claim 1 is characterized in that, the decoding thread of described application processor is specially the step that the soft decoded Frame of protocol stack is sent to coprocessor:
In the time of in the decoding thread detects the scope that the length of first frame data requiring, data are deposited in the circular buffering pond;
When having read data frame not in the Buffer Pool and the length of read data frame is not non-vanishing, the Frame that the decoding thread will receive and deposit in the Buffer Pool is sent to coprocessor.
4. method as claimed in claim 3 is characterized in that, will receive and deposit in before Frame in the Buffer Pool is sent to the step of coprocessor at described decoding thread, and described method also comprises the steps:
The Frame of in Buffer Pool, not reading, the decoding thread is in wait state always, and transmit data frames is to coprocessor when having not read data frame and Frame length non-vanishing in the pending buffer pond.
5. method as claimed in claim 3 is characterized in that, will receive and deposit in before Frame in the Buffer Pool is sent to the step of coprocessor at described decoding thread, and described method also comprises the steps:
The Frame of not reading is arranged in Buffer Pool, but the length of this Frame is when being zero, the decoding thread detects the not read data frame in the Buffer Pool always, and transmit data frames is to coprocessor when detecting that read data frame length is not non-vanishing.
6. the method for claim 1 is characterized in that, the step of described video call data by coprocessor hard coded camera picked-up is specially:
When the coded data engine detects the Frame that reads and is first Frame, and camera successfully opens, and the then coprocessor configuration of encoding is encoded to the Frame that receives;
When the coded data engine detects the Frame that reads and is not first Frame, and when not having data in the coding Buffer Pool, wait for and also detecting when in the coding Buffer Pool, having data, according to certain step-length with the data upload in the buffering area.
7. the method for claim 1 is characterized in that, the data behind the coding that the coding thread of described application processor will receive send to protocol stack and carry out soft coding back and be specially by the step that communication protocol stack sends to air interface:
After the coding thread of application processor starts, whether detect total coded data length and frame number less than the value of stipulating;
If total coded data length and frame number then notify coprocessor to fetch data less than the value of regulation;
After coprocessor successfully obtained data, the coding thread of application processor fetched data from coprocessor in the Buffer Pool;
The data of the coding thread of application processor after with the coding of storing in the Buffer Pool send to protocol stack and carry out soft coding back and send to air interface by communication protocol stack.
8. the transmission system of a decoded data among processors is characterized in that, described system comprises:
Application processor decoding thread start unit, be used for when writing the decoded data engine and detect Frame by the soft decoding of protocol stack and be first frame, the decoding of configuration coprocessor is provided with, and the soft decoded Frame of decoding threads store that starts application processor is to the circular buffering pond;
The soft decoded data frame of application processor transmission unit, the decoding thread that is used for application processor is sent to coprocessor with the soft decoded Frame of protocol stack;
The coprocessor decoding unit is used for coprocessor the Frame that receives is carried out hard decoder, and shows that decoded video call data is to display screen;
Coprocessor hard coded unit is used for the video call data that coprocessor hard coded camera absorbs;
Coprocessor coded data transmitting element after being used for coprocessor and finishing the hard coded of video call data, sends data behind the coding to application processor;
Application processor coded data receiving element is used for data behind the coding that the coding thread of application processor will receive and sends to protocol stack and carry out soft coding back and send to air interface by communication protocol stack.
9. system as claimed in claim 8 is characterized in that, described system also comprises:
Read data frame number judging unit not is used for when detecting the Frame that receives and be not first frame data, and in the scope of the length requirement of Frame the time, judges in the Buffer Pool that read data frame number not is whether more than or equal to the size of Buffer Pool;
First waits for decoding unit, if be used for Buffer Pool not the read data frame number more than or equal to the size of Buffer Pool then wait for the decoding of decoding thread;
Second waits for decoding unit, if be used for Buffer Pool not the read data frame number less than the size of Buffer Pool, then the Frame that receives is deposited in the circular buffering pond, when the frame number of read data frame is not more than or equal to Buffer Pool big or small in Buffer Pool, wait for the decoding of decoding thread.
10. system as claimed in claim 8 is characterized in that, the soft decoded data frame of described application processor transmission unit comprises:
Data write subelement, when being used in the decoding thread detects the scope that the length of first frame data requiring, data are deposited in the circular buffering pond;
The data frame transfer subelement is used for having read data frame not and when the length of read data frame was not non-vanishing, the Frame that the decoding thread will receive and deposit in the Buffer Pool was sent to coprocessor when Buffer Pool.
11. system as claimed in claim 10 is characterized in that, described data frame transfer subelement also comprises:
Read data frame detection module is not used for the Frame do not read when Buffer Pool, and the decoding thread is in wait state always, and transmit data frames is to coprocessor when having not read data frame and Frame length non-vanishing in the pending buffer pond.
12. system as claimed in claim 10 is characterized in that, described data frame transfer subelement also comprises:
Read data frame length detection module not, be used for the Frame of not reading being arranged when Buffer Pool, but when the length of this Frame was zero, the decoding thread detected the not read data frame in the Buffer Pool always, and transmit data frames is to coprocessor when detecting that read data frame length is not non-vanishing.
13. system as claimed in claim 8 is characterized in that, described coprocessor hard coded unit comprises:
The coding subelement is used for when the coded data engine detects the Frame that reads and is first Frame, and camera successfully opens, and the then coprocessor configuration of encoding is encoded to the Frame that receives;
The data upload subelement, be used for when the coded data engine detects the Frame that reads and is not first Frame, and when not having data in the coding Buffer Pool, wait for and also to detect when in the coding Buffer Pool, having data, according to certain step-length with the data upload in the buffering area.
14. system as claimed in claim 8 is characterized in that, described application processor coded data receiving element comprises:
Whether data length and frame number detection sub-unit after the coding thread that is used for application processor starts, detect total coded data length and frame number less than the value of stipulating;
The coprocessor notice subelement that fetches data if be used for total coded data length and frame number less than the value of regulation, then notifies coprocessor to fetch data;
The coding thread of the application processor subelement that fetches data is used for after coprocessor successfully obtains data, and the coding thread of application processor fetches data from coprocessor in the Buffer Pool;
Data send subelement, and the data behind the coding that the coding thread that is used for application processor is stored Buffer Pool send to protocol stack and carry out soft coding and then send to air interface by communication protocol stack.
15. a video telephone is characterized in that, described video telephone comprises the transmission system of the described decoded data among processors of the arbitrary claim of claim 8 to 14.
CN2010101225875A 2010-03-11 2010-03-11 Method and system for transmitting encoded and decoded data among processors, and visual telephone Active CN101895743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101225875A CN101895743B (en) 2010-03-11 2010-03-11 Method and system for transmitting encoded and decoded data among processors, and visual telephone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101225875A CN101895743B (en) 2010-03-11 2010-03-11 Method and system for transmitting encoded and decoded data among processors, and visual telephone

Publications (2)

Publication Number Publication Date
CN101895743A true CN101895743A (en) 2010-11-24
CN101895743B CN101895743B (en) 2013-11-13

Family

ID=43104788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101225875A Active CN101895743B (en) 2010-03-11 2010-03-11 Method and system for transmitting encoded and decoded data among processors, and visual telephone

Country Status (1)

Country Link
CN (1) CN101895743B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159142A (en) * 2014-08-06 2014-11-19 乐视网信息技术(北京)股份有限公司 Video soft decoding method and device of equipment
WO2014190653A1 (en) * 2013-05-27 2014-12-04 中兴通讯股份有限公司 Method for terminal to process video stream and terminal
CN106534922A (en) * 2016-11-29 2017-03-22 努比亚技术有限公司 Video decoding device and method
CN108769738A (en) * 2018-06-15 2018-11-06 广州酷狗计算机科技有限公司 Method for processing video frequency, device, computer equipment and storage medium
CN112532569A (en) * 2019-09-19 2021-03-19 澜至电子科技(成都)有限公司 Video code stream protection device, method and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1140857A (en) * 1995-04-28 1997-01-22 松下电器产业株式会社 Information processing device equipped with a coprocessor which efficiently uses register data in main processor
US6173024B1 (en) * 1997-01-27 2001-01-09 Mitsubishi Denki Kabushiki Kaisha Bit stream reproducing apparatus
US20050025168A1 (en) * 1999-04-16 2005-02-03 Fujitsu Limited Relay unit and frame tracing method
CN1662068A (en) * 2004-02-27 2005-08-31 精工爱普生株式会社 Moving image encoding apparatus and moving image processing apparatus
CN1777293A (en) * 2004-11-17 2006-05-24 Lg电子株式会社 Video decoding system of mobile broadcasting receiver
CN101146032A (en) * 2007-09-21 2008-03-19 广州市聚晖电子科技有限公司 A media streaming transmission bandwidth self-adapted method
CN101291379A (en) * 2008-06-05 2008-10-22 中兴通讯股份有限公司 Mobile terminal and picture-phone implementing method thereof
CN101465911A (en) * 2009-01-07 2009-06-24 瞿铃鑑 3G visual fixed telephone
CN101479712A (en) * 2006-06-27 2009-07-08 飞思卡尔半导体公司 Method and apparatus for interfacing a processor and coprocessor
CN101594529A (en) * 2008-05-28 2009-12-02 美国博通公司 Processing system for video and the method that is used for processing video data

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1140857A (en) * 1995-04-28 1997-01-22 松下电器产业株式会社 Information processing device equipped with a coprocessor which efficiently uses register data in main processor
US6173024B1 (en) * 1997-01-27 2001-01-09 Mitsubishi Denki Kabushiki Kaisha Bit stream reproducing apparatus
US20050025168A1 (en) * 1999-04-16 2005-02-03 Fujitsu Limited Relay unit and frame tracing method
CN1662068A (en) * 2004-02-27 2005-08-31 精工爱普生株式会社 Moving image encoding apparatus and moving image processing apparatus
CN1777293A (en) * 2004-11-17 2006-05-24 Lg电子株式会社 Video decoding system of mobile broadcasting receiver
CN101479712A (en) * 2006-06-27 2009-07-08 飞思卡尔半导体公司 Method and apparatus for interfacing a processor and coprocessor
CN101146032A (en) * 2007-09-21 2008-03-19 广州市聚晖电子科技有限公司 A media streaming transmission bandwidth self-adapted method
CN101594529A (en) * 2008-05-28 2009-12-02 美国博通公司 Processing system for video and the method that is used for processing video data
CN101291379A (en) * 2008-06-05 2008-10-22 中兴通讯股份有限公司 Mobile terminal and picture-phone implementing method thereof
CN101465911A (en) * 2009-01-07 2009-06-24 瞿铃鑑 3G visual fixed telephone

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《浙江大学硕士学位论文》 20050331 杨洋 《基于H.232协议的网络可视电话软件设计》 全文 1-15 , *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014190653A1 (en) * 2013-05-27 2014-12-04 中兴通讯股份有限公司 Method for terminal to process video stream and terminal
CN104159142A (en) * 2014-08-06 2014-11-19 乐视网信息技术(北京)股份有限公司 Video soft decoding method and device of equipment
CN106534922A (en) * 2016-11-29 2017-03-22 努比亚技术有限公司 Video decoding device and method
CN108769738A (en) * 2018-06-15 2018-11-06 广州酷狗计算机科技有限公司 Method for processing video frequency, device, computer equipment and storage medium
CN108769738B (en) * 2018-06-15 2021-01-08 广州酷狗计算机科技有限公司 Video processing method, video processing device, computer equipment and storage medium
CN112532569A (en) * 2019-09-19 2021-03-19 澜至电子科技(成都)有限公司 Video code stream protection device, method and storage medium
CN112532569B (en) * 2019-09-19 2022-05-31 澜至电子科技(成都)有限公司 Video code stream protection device, method and storage medium

Also Published As

Publication number Publication date
CN101895743B (en) 2013-11-13

Similar Documents

Publication Publication Date Title
CN101895743B (en) Method and system for transmitting encoded and decoded data among processors, and visual telephone
US8873638B2 (en) Method and apparatus for providing multi-threaded video decoding
CN101710992B (en) Pre-decoding high definition player and playing method
CN101567849B (en) Data buffer caching method and device
CN103577269A (en) Media workload scheduler
US9510007B2 (en) Configurable buffer allocation for multi-format video processing
CN105530479A (en) Video data processing method and system based on mobile terminal
CN103179282B (en) Information transmission method and system in call state and mobile terminal
US10484690B2 (en) Adaptive batch encoding for slow motion video recording
CN101656885B (en) Parallel decoding method and device in multi-core processor
CN107077313B (en) Improved latency and efficiency for remote display of non-media content
CN107113423B (en) Replaying old packets for concealment of video decoding errors and video decoding latency adjustment based on radio link conditions
US7689047B2 (en) Reduced buffer size for JPEG encoding
US20100158105A1 (en) Post-processing encoding system and method
US9195295B1 (en) Audio codec with audio buffer to store decoded audio data wherein decoding processor enters low power mode during playback
CN104637483A (en) Multichannel-based low-speed voice coding/decoding system
CN105278110B (en) Intelligent satellite communicates interaction glasses device
CN110347486A (en) Thread distribution method, device, equipment and the readable storage medium storing program for executing of application program
CN1964469A (en) Mobile terminal
KR100641010B1 (en) Apparatus and method for preventing dual port memory full in mobile communication terminal with multi processors
US7057620B2 (en) Method and apparatus for graphics rendering on a mobile device
CN101316334A (en) Method for processing television media data and television mobile phone
CN1984406B (en) Linear-controlled system, linear controller and controlling method
US11877237B2 (en) System and method for optimizing power consumption in multimedia signal processing in mobile devices
US11388426B2 (en) Decoder for playing big frames

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant