CN101895743B - 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
CN101895743B
CN101895743B CN2010101225875A CN201010122587A CN101895743B CN 101895743 B CN101895743 B CN 101895743B CN 2010101225875 A CN2010101225875 A CN 2010101225875A CN 201010122587 A CN201010122587 A CN 201010122587A CN 101895743 B CN101895743 B CN 101895743B
Authority
CN
China
Prior art keywords
data
frame
coprocessor
decoding
circular buffering
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.)
Active
Application number
CN2010101225875A
Other languages
Chinese (zh)
Other versions
CN101895743A (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 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 transmitting 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 process respectively, make the processing logic more complicated, affect the efficiency of transfer of data, in addition, the loss of Frame and Frame overflow not consideration and fault-tolerant fully, cause the Frame frame losing.
In a word, the transmission method of the codec data of existing video data is complicated due to processing logic, and efficiency 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 present invention is to provide a kind of transmission method of decoded data among processors, the transmission method efficiency 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 present 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 Frame by the soft decoding of protocol stack detected and be the first frame, the decoding of configuration coprocessor arranges, and starts the soft decoded Frame of decoding threads store of application processor 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 hard coded of coprocessor to the camera picked-up;
After coprocessor was completed the hard coded of video call data, the data after the transmission coding were to application processor;
Data after the coding that the coding thread of application processor will receive send to protocol stack to carry out sending to air interface by communication protocol stack after 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 Frame by the soft decoding of protocol stack detected and be the first frame, the decoding of configuration coprocessor arranges, and starts the soft decoded Frame of decoding threads store of application processor 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, be used for coprocessor the Frame that receives carried out hard decoder, and show that decoded video call data is to display screen;
Coprocessor hard coded unit, be used for the video call data hard coded of coprocessor to the camera picked-up;
Coprocessor coded data transmitting element, after completing the hard coded of video call data for coprocessor, the data after the transmission coding are to application processor;
Application processor coded data receiving element, the data that are used for after coding that the coding thread of application processor will receive send to protocol stack to carry out sending to air interface by communication protocol stack after soft coding.
Another object of the present invention is to provide a kind of video telephone, described video telephone comprises the transmission system of decoded data among processors as above.
In embodiments of the present invention, for up video call data, at first issue the soft decoding of protocol stack by the video call data of air interface by communication protocol stack, issue coprocessor by the decoding thread of application processor again, the video call data that will receive after the coprocessor hard decoder is shown on LCD; For up video call data, at first with the video call data of camera picked-up after the coprocessor hard coded, then the coding thread by application processor, after sending to the soft coding of protocol stack, send to air interface by communication protocol stack.Therein, the handling process of encoding and decoding and control flow are processed respectively, processing logic is simple, efficiency is high, data also are not easy frame losing and overflow, can not cause mosaic phenomenon, image fault, the transmission that realizes in video call process coded data and decoded data between application processor and coprocessor 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 present 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 present invention;
Fig. 3 is the structural representation of the transmission system of the decoded data among processors that provides of the embodiment of the present invention.
Embodiment
, in order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, for up video call data, at first issue the soft decoding of protocol stack by the video call data of air interface by communication protocol stack, issue coprocessor by the decoding thread of application processor again, the video call data that will receive after the coprocessor hard decoder is shown on LCD; For up video call data, at first with the video call data of camera picked-up after the coprocessor hard coded, then the coding thread by application processor, after sending to the soft coding of protocol stack, send to air interface by communication protocol stack.Therein, the handling process of encoding and decoding and control flow are processed respectively, processing logic is simple, efficiency is high, data also are not easy frame losing and overflow, can not cause mosaic phenomenon, image fault, the transmission that realizes in video call process coded data and decoded data between application processor and coprocessor 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 present invention provides, and details are as follows:
In step S101, when writing the decoded data engine and Frame by the soft decoding of protocol stack detected and be the first frame, the decoding of configuration coprocessor arranges, and starts the soft decoded Frame of decoding threads store of application processor to the circular buffering pond.
Video calling is divided into upstream data and downlink data, and the decoding of data is mainly completed in the reception of downlink data, and upstream data is mainly completed the coding of data.
As one embodiment of the present of invention, air interface receives descending video call data and is transferred to after communication protocol stack is processed issues protocol stack, in the present embodiment, this protocol stack is 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 Frame by the H.263 soft decoding of protocol stack detected and be the first frame, the decoding of configuration coprocessor arranges, 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 the first frame data, when being the 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 the first frame decoding data requiring, data are deposited in the circular buffering pond, the write pointer circulation in circular buffering pond increases progressively, the read data frame number does not increase progressively, when having read data frame not in the circular buffering pond and the length of read data frame is not non-vanishing, the Frame that the decoding thread will receive and deposit in the circular buffering pond is sent to coprocessor, coprocessor carries out hard decoder to the Frame that receives, when the Frame that receives when detection is not the first frame data, judge that the length of this Frame is whether in claimed range, when in the scope of the length requirement at Frame, judge in the circular buffering pond that read data frame number not is whether more than or equal to the size in circular buffering pond, if, wait for the decoding of decoding thread, if not, the Frame that will receive deposits in the circular buffering pond, the write pointer circulation in circular buffering pond increases progressively, in the circular buffering pond not the read data frame number increase progressively, until when in the circular buffering pond, the frame number of read data frame is not more than or equal to circular buffering pond big or small, 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 in the circular buffering pond whether the Frame of not reading is arranged, the Frame of not reading in the circular buffering pond, the decoding thread is in wait state always, wait in the circular buffering pond have not read data frame and Frame length when non-vanishing 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 in the circular buffering pond whether the Frame of not reading is arranged, the Frame of not reading is arranged in the circular buffering pond, but when the length of this Frame is zero, the decoding thread detects in the circular buffering pond 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 circular buffering pond, the read pointer circulation in circular buffering pond increases progressively, the read data frame number does not successively decrease, and the coprocessor decoding is read the data decode in the circular buffering pond always and shows 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 present 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 completed in the reception of downlink data, and upstream data is mainly completed the coding of data.
as one embodiment of the present of invention, after starting video calling, the coded data engine starts reading out data, whether the Frame that judgement reads is the first frame data, when the Frame that reads being detected and be the first Frame, judge whether successfully to open camera, if camera is successfully opened, the coprocessor configuration of encoding, the Frame that receives is encoded, when the Frame that reads being detected and being not the first Frame, whether the judgement coding has data in the circular buffering pond, when there is no data, wait for and detect until have data in the circular buffering pond of encoding, when having data in coding circular buffering pond, according to certain step-length with the data upload in buffering area, the read pointer circulation of circular buffering pond increases progressively, not taking the data frame number away successively decreases.
In step S202, after coprocessor was completed the hard coded of video call data, the data after the transmission coding were to application processor.
As one embodiment of the present of invention, after coprocessor was completed the hard coded of video call data, application processor was from the coprocessor reading out data to coded data circular buffering pond, and write pointer circulation in circular buffering pond increases progressively, do not take the data frame number away and increase progressively, start the coding thread of application processor.
In step S203, the data after the coding that the coding thread of application processor will receive send to protocol stack to carry out sending to air interface by communication protocol stack after 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, 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 in the circular buffering pond from coprocessor, the data frame number increases progressively, the write pointer circulation of circular buffering pond increases progressively, the data of the coding thread of application processor after with the coding of storing in the circular buffering pond send to H.263 protocol stack to carry out sending to air interface by communication protocol stack after soft coding.
Fig. 3 shows the concrete structure block diagram of the transmission system of the decoded data among processors that the embodiment of the present invention provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present 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 as suspension member independently, is integrated in the application system of video telephone.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 below described respectively:
Wherein, application processor decoding thread start unit 31 is used for when writing the decoded data engine and Frame by the soft decoding of protocol stack detected and be the first frame, and the decoding of configuration coprocessor arranges, 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, while carrying out the transmission of downlink data, this system also comprises: read data frame number judging unit, first is not waited for decoding unit and the second wait decoding unit.
Wherein, read data frame number judging unit is not used for when detecting the Frame that receives and be not the first frame data, and the scope of the length requirement of Frame is when interior, judges in the circular buffering pond that read data frame number not is whether more than or equal to the size in circular buffering pond;
If first wait for decoding unit be used for the circular buffering pond not the read data frame number more than or equal to the size in circular buffering pond wait for the decoding of decoding thread;
If second wait for decoding unit be used for the circular buffering pond not the read data frame number less than the size in circular buffering pond, the Frame that will receive deposits in the circular buffering pond, until when in the circular buffering pond, the frame number of read data frame is not more than or equal to circular buffering pond big or small, 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 thread of decoding detects the scope that the length of the 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 thread of decoding will receive and deposit in the circular buffering pond was sent to coprocessor when the circular buffering pond.
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 used for the Frame of not reading when the circular buffering pond, and the decoding thread is in wait state always, wait in the circular buffering pond have not read data frame and Frame length when non-vanishing transmit data frames to coprocessor;
Read data frame length detection module is not used for, when the circular buffering pond, the Frame of not reading is arranged, but when the length of this Frame is zero, the decoding thread detects not read data frame in the circular buffering pond 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 below described respectively:
Wherein, coprocessor hard coded unit 34 is used for the video call data of coprocessor hard coded camera picked-up;
After coprocessor coded data transmitting element 35 was completed the hard coded of video call data for coprocessor, the data after the transmission coding were to application processor;
Data after the coding that the coding thread that application processor coded data receiving element 36 is used for application processor will receive send to protocol stack to carry out sending to air interface by communication protocol stack after soft coding.
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 the first Frame, and camera successfully opens, and the coprocessor configuration of encoding, encode 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 the first Frame, and while there is no data in coding circular buffering pond, wait for and detect until while having data in the circular buffering pond of encoding, according to certain step-length with the data upload in 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 frame number less than the value of regulation if coprocessor fetches data, and notifies coprocessor to fetch data;
The coding thread of application processor fetches data subelement for after coprocessor successfully obtains data, and the coding thread of application processor fetches data in the circular buffering pond from coprocessor;
The data that data send after the coding that coding thread that subelement is used for application processor stores the circular buffering pond send to protocol stack to carry out sending to air interface by communication protocol stack after soft coding.Concrete condition as mentioned above, does not repeat them here.
In embodiments of the present invention, for up video call data, at first issue the soft decoding of protocol stack by the video call data of air interface by communication protocol stack, issue coprocessor by the decoding thread of application processor again, the video call data that will receive after the coprocessor hard decoder is shown on LCD; For up video call data, at first with the video call data of camera picked-up after the coprocessor hard coded, then the coding thread by application processor, after sending to the soft coding of protocol stack, send to air interface by communication protocol stack.Therein, the handling process of encoding and decoding and control flow are processed respectively, processing logic is simple, efficiency is high, data also are not easy frame losing and overflow, can not cause mosaic phenomenon, image fault, the transmission that realizes in video call process coded data and decoded data between application processor and coprocessor that can be more safe and reliable.
The foregoing is only preferred embodiment of the present invention,, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in 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 Frame by the soft decoding of protocol stack detected and be the first frame, the decoding of configuration coprocessor arranges, and starts the soft decoded Frame of decoding threads store of application processor 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 hard coded of coprocessor to the camera picked-up;
After coprocessor was completed the hard coded of video call data, the data after the transmission coding were to application processor;
Data after the coding that the coding thread of application processor will receive send to protocol stack to carry out sending to air interface by communication protocol stack after 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 the first frame data, and the length of Frame is in the scope that requires the time, judges in the circular buffering pond that read data frame number not is whether more than or equal to the size in circular buffering pond;
If in the circular buffering pond not the read data frame number more than or equal to the size in circular buffering pond wait for the decoding of decoding thread;
If in the circular buffering pond not the read data frame number less than the size in circular buffering pond, the Frame that will receive deposits in the circular buffering pond, until when in the circular buffering pond, the frame number of read data frame is not more than or equal to circular buffering pond big or small, 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 the first frame data requiring, data are deposited in the circular buffering pond;
When having read data frame not in the circular buffering pond and the length of read data frame is not non-vanishing, the Frame that the decoding thread will receive and deposit in the circular buffering pond is sent to coprocessor.
4. method as claimed in claim 3, is characterized in that, before the Frame in described decoding thread will receive and deposit in the circular buffering pond was sent to the step of coprocessor, described method also comprised the steps:
The Frame of not reading in the circular buffering pond, the decoding thread is in wait state always, wait in the circular buffering pond have not read data frame and Frame length when non-vanishing transmit data frames to coprocessor.
5. method as claimed in claim 3, is characterized in that, before the Frame in described decoding thread will receive and deposit in the circular buffering pond was sent to the step of coprocessor, described method also comprised the steps:
The Frame of not reading is arranged in the circular buffering pond, but the length of this Frame is while being zero, the decoding thread detects the not read data frame in the circular buffering pond 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 the picked-up of coprocessor hard coded camera is specially:
When the coded data engine detects the Frame that reads and is the first Frame, and camera successfully opens, and the coprocessor configuration of encoding, encode to the Frame that receives;
When the coded data engine detects the Frame that reads and is not the first Frame, and while there is no data in coding circular buffering pond, wait for and detect until while having data in the circular buffering pond of encoding, according to certain step-length with the data upload in buffering area.
7. the method for claim 1, is characterized in that, the data after the coding that the coding thread of described application processor will receive send to protocol stack to carry out sending to the step of air interface to be specially by communication protocol stack after soft coding:
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, less than the value of regulation, notify coprocessor to fetch data;
After coprocessor successfully obtained data, the coding thread of application processor fetched data in the circular buffering pond from coprocessor;
The data of the coding thread of application processor after with the coding of storing in the circular buffering pond send to protocol stack to carry out sending to air interface by communication protocol stack after soft coding.
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 Frame by the soft decoding of protocol stack detected and be the first frame, the decoding of configuration coprocessor arranges, and starts the soft decoded Frame of decoding threads store of application processor 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, be used for coprocessor the Frame that receives carried out hard decoder, and show that decoded video call data is to display screen;
Coprocessor hard coded unit, be used for the video call data hard coded of coprocessor to the camera picked-up;
Coprocessor coded data transmitting element, after completing the hard coded of video call data for coprocessor, the data after the transmission coding are to application processor;
Application processor coded data receiving element, the data that are used for after coding that the coding thread of application processor will receive send to protocol stack to carry out sending to air interface by communication protocol stack after soft coding.
9. system as claimed in claim 8, is characterized in that, described system also comprises:
Read data frame number judging unit not, be used for when Frame that detection receives is not the first frame data, and the length of Frame is in the scope that requires the time, judges in the circular buffering pond that read data frame number not is whether more than or equal to the size in circular buffering pond;
First waits for decoding unit, if be used for the circular buffering pond not the read data frame number more than or equal to the size in circular buffering pond wait for the decoding of decoding thread;
Second waits for decoding unit, if be used for the circular buffering pond not the read data frame number less than the size in circular buffering pond, the Frame that will receive deposits in the circular buffering pond, until when in the circular buffering pond, the frame number of read data frame is not more than or equal to circular buffering pond big or small, 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, while being used in the thread of decoding detects the scope that the length of the first frame data requiring, data are deposited in the circular buffering pond;
The data frame transfer subelement, be used for having read data frame not and when the length of read data frame was not non-vanishing, the Frame that the thread of decoding will receive and deposit in the circular buffering pond was sent to coprocessor when the circular buffering pond.
11. system as claimed in claim 10, is characterized in that, described data frame transfer subelement also comprises:
Read data frame detection module, be used for the Frame of not reading when the circular buffering pond, and the decoding thread is in wait state always, wait in the circular buffering pond have not read data frame and Frame length when non-vanishing transmit data frames to coprocessor.
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, when the circular buffering pond, the Frame of not reading is arranged, but when the length of this Frame was zero, the decoding thread detected the not read data frame in the circular buffering pond 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, be used for when the coded data engine detects the Frame that reads and is the first Frame, and camera successfully opens, and the coprocessor configuration of encoding, encode 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 the first Frame, and when coding does not have data in the circular buffering pond, wait for and detect until while having data in the circular buffering pond of encoding, according to certain step-length with the data upload in 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 being used for the coding thread startup of application processor, 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, notify coprocessor to fetch data;
The coding thread of the application processor subelement that fetches data, be used for after coprocessor successfully obtains data, and the coding thread of application processor fetches data in the circular buffering pond from coprocessor;
Data send subelement, and the data after the coding that the coding thread that is used for application processor is stored the circular buffering pond send to protocol stack to carry out sending to air interface by communication protocol stack after soft coding.
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 CN101895743A (en) 2010-11-24
CN101895743B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104185062B (en) * 2013-05-27 2018-11-09 南京中兴新软件有限责任公司 A kind of method and terminal of terminal processes video flowing
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
CN108769738B (en) * 2018-06-15 2021-01-08 广州酷狗计算机科技有限公司 Video processing method, video processing device, computer equipment and storage medium
CN112532569B (en) * 2019-09-19 2022-05-31 澜至电子科技(成都)有限公司 Video code stream protection device, method and storage medium

Citations (6)

* 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
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
CN101479712A (en) * 2006-06-27 2009-07-08 飞思卡尔半导体公司 Method and apparatus for interfacing a processor and coprocessor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000307681A (en) * 1999-04-16 2000-11-02 Fujitsu Ltd Repeating device and frame tracing method
US8209733B2 (en) * 2008-05-28 2012-06-26 Broadcom Corporation Edge device that enables efficient delivery of video to handheld device
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

Patent Citations (6)

* 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
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

Also Published As

Publication number Publication date
CN101895743A (en) 2010-11-24

Similar Documents

Publication Publication Date Title
CN101895743B (en) Method and system for transmitting encoded and decoded data among processors, and visual telephone
KR101634500B1 (en) Media workload scheduler
US8873638B2 (en) Method and apparatus for providing multi-threaded video decoding
AU2012226283B2 (en) Render-orientation information in video bitstream
JP6621827B2 (en) Replay of old packets for video decoding latency adjustment based on radio link conditions and concealment of video decoding errors
US20060294520A1 (en) System and method of controlling power in a multi-threaded processor
CN105530479A (en) Video data processing method and system based on mobile terminal
WO2009132140A1 (en) Coordinating power management functions in a multi-media device
CN107077313B (en) Improved latency and efficiency for remote display of non-media content
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
US7689047B2 (en) Reduced buffer size for JPEG encoding
US20100158105A1 (en) Post-processing encoding system and method
CN104637483A (en) Multichannel-based low-speed voice coding/decoding system
CN112910899A (en) Audio and video transparent transmission method under android system
CN105278110B (en) Intelligent satellite communicates interaction glasses device
CN1964469A (en) Mobile terminal
CN110347486A (en) Thread distribution method, device, equipment and the readable storage medium storing program for executing of application program
WO2008019606A1 (en) A method and apparatus for adjusting the quality of video communication of instant messaging
KR100641010B1 (en) Apparatus and method for preventing dual port memory full in mobile communication terminal with multi processors
CN107592543A (en) Video decoding processing method and device
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
CN201846416U (en) Image sensor

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