WO2009115049A1 - 编解码方法及装置 - Google Patents

编解码方法及装置 Download PDF

Info

Publication number
WO2009115049A1
WO2009115049A1 PCT/CN2009/070895 CN2009070895W WO2009115049A1 WO 2009115049 A1 WO2009115049 A1 WO 2009115049A1 CN 2009070895 W CN2009070895 W CN 2009070895W WO 2009115049 A1 WO2009115049 A1 WO 2009115049A1
Authority
WO
WIPO (PCT)
Prior art keywords
image header
parameter
frame
image
strip
Prior art date
Application number
PCT/CN2009/070895
Other languages
English (en)
French (fr)
Inventor
赖昌材
郑萧桢
郑建铧
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2009115049A1 publication Critical patent/WO2009115049A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2389Multiplex stream processing, e.g. multiplex stream encrypting
    • H04N21/23892Multiplex stream processing, e.g. multiplex stream encrypting involving embedding information at multiplex stream level, e.g. embedding a watermark at packet level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8451Structuring of content, e.g. decomposing content into time segments using Advanced Video Coding [AVC]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a codec technology.
  • the corresponding encoding end uses the start code to divide the code stream of the video data into sequence data, image header and stripe data, and respectively start the code of the sequence header, the image header start code and the stripe
  • the start code mark performs the transmission processing of the corresponding sequence data, picture header, and stripe data.
  • each frame uses an image header packet that is different from other frames (ie, different image header parameters are used), so that the stripe for the frame is performed by the corresponding image header parameter at the decoding end.
  • the decoding operation therefore, the image header parameters of the frame cannot be applied by the decoding process of other video frames.
  • the above coding scheme since the corresponding image header needs to be correctly received for each frame at the decoding end, the corresponding image header parameters can be correctly acquired, thereby ensuring a correct decoding operation, and therefore, the above coding scheme is
  • the video transmission process has a poor anti-transmission error capability, that is, once the picture header is lost, the received stripe data cannot be decoded even if the stripe data is correctly received.
  • Embodiments of the present invention provide a codec method and apparatus for improving the ability to resist transmission errors during encoding transmission.
  • An encoding method including:
  • the image header parameter code is written into the stripe of the current encoded frame to obtain an encoded code stream.
  • An encoding device comprising: [14] an image header parameter obtaining unit, configured to acquire an image header parameter corresponding to the current encoded frame;
  • a stripe encoding unit is configured to encode the image header parameter obtained by the image header parameter acquiring unit into a stripe of the current encoded frame to obtain an encoded code stream.
  • a decoding method comprising:
  • a decoding device comprising:
  • a code stream input unit configured to obtain a code stream
  • a strip decoding unit configured to parse an image header parameter corresponding to a current decoded frame from a stripe of a current decoded frame in a code stream obtained by the code stream input unit, and perform a decoding operation according to the image header parameter.
  • [23] Write a glyph in the image header of the code stream for marking that the image header contains a complete image header parameter, and if the glyph indicates that the complete image header parameter is not included, the code stream is in the code stream.
  • the image header area is set in part of the image header parameter or the image header parameter is not set, and the remaining part of the image header parameter or the complete image header parameter is set in the strip head region;
  • glyph indicator includes an image header parameter
  • a complete or partial image header parameter is set in the header region of the strip in the code stream.
  • FIG. 1 is a schematic diagram of a codec processing process according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a process of processing an image header loss according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a codec apparatus according to an embodiment of the present invention.
  • the encoding end obtains the image header parameter corresponding to the current encoded frame
  • the image header parameter code is written into the strip of the current encoded frame for transmission, so that if the decoding end can be lost or an error occurs, if the stripe data is correctly received, the corresponding image header parameter can still be obtained. Subsequent decoding processing is performed.
  • the corresponding first parameter flag may also be written in the strip of the current coded frame, and the first parameter flag may indicate whether the image header parameter is included in the stripe, so as to indicate The decoding end performs a decoding operation of the image header parameters in the stripe.
  • a part of the corresponding image header parameter may be written into the stripe of the current encoded frame, and another part of the image header parameter is written into the image header of the current encoded frame; wherein, corresponding The image header parameter written in the image header of the current encoded frame may be an image header parameter that can be shared by consecutive multiple frames, from a corresponding image header parameter that can be obtained by decoding other frames in the case where the image header is lost or erroneous.
  • the corresponding image header parameter in the stripe of the current encoded frame may be an image header parameter unique to the current encoded frame, and the correct decoding of the image header parameter can ensure decoding. Get accurate video images.
  • the second parameter flag may also be written in the image header of the current coded frame, and the second parameter flag may indicate whether the image header parameter is included in the image header to indicate decoding.
  • the decoding operation of the image header parameter is performed.
  • the information of the code stream sent by the encoding end may specifically include:
  • the decoding end After receiving the coded stream sent by the encoding end, the decoding end obtains the image header parameter corresponding to the current decoded frame from the strip of the current decoded frame in the code stream, so that the decoding end can be based on the image header.
  • the parameters are subjected to corresponding video decoding operations.
  • the encoding end writes the first parameter flag in the code stream, before acquiring the image header parameter corresponding to the current decoded frame, the first parameter flag in the strip of the current decoded frame needs to be decoded, and And determining, according to the first parameter flag in the strip of the current decoded frame, the image header parameter ⁇ in the strip, and parsing the image header parameter corresponding to the current decoded frame from the strip.
  • the image header parameter obtained from the stripe of the currently decoded frame is a partial image header parameter of the current decoded frame
  • another part of the image header parameter may be parsed from the image header of the currently decoded frame;
  • the image header parameter ⁇ may be included in the image header according to the second parameter flag in the image header of the current encoded frame, and another partial image header parameter may be parsed from the image header of the current decoded frame.
  • the image header parameter in the image header of the other frame that has been previously decoded may be used as the image header in the image header of the current decoded frame. Parameters, thereby improving the error-proof performance of the codec system and improving decoding performance. Further, in the process of decoding the received code stream, if the start code of the picture header is not found before parsing the strip start code after completing one frame decoding, the picture header of the current decoded frame may be considered to be lost.
  • the embodiment of the present invention may write a glyph in the image header of the code stream, and mark the image header to include a complete image header parameter, if the glyph indication Does not include the complete image header parameters (this may contain partial image header parameters, or may not include image header parameters), then set partial image header parameters or no image header parameters in the image header area in the code stream. The rest of the image header parameters or the complete image header parameters (that is, the image header parameters are not set in the image header) are set in the stripe area.
  • the embodiment of the present invention may further write a glyph in the strip of the code stream, to mark whether the strip header parameter is included in the stripe, and if the glyph indicator indicates that the image header parameter is included, the strip is in the code stream. Set the complete image header parameter or part of the image header parameter in the head area of the band.
  • the implementation of the embodiment of the present invention can improve the anti-image head loss capability of the code stream, so that when the image header of a certain frame is lost, the stripe data received by the frame can still be decoded, thereby obtaining corresponding
  • the image header parameters ensure the normal progress of the decoding process.
  • the encoding process of the specific image header parameters may include the following steps:
  • Step 101 classify each parameter of the image header corresponding to the current coded image
  • the specific may include:
  • the parameter is referred to as a first type of image header parameter, and the first type of image header parameter is a parameter necessary for correct decoding of the decoding end;
  • the class parameter is called the second type of image header parameter.
  • the second type of image header parameter it can use the corresponding parameter value in the image header of the previously correctly received frame at the decoding end to replace the current frame parameter for decoding, and can decode correctly.
  • n, and m and n are natural numbers greater than or equal to 1, respectively.
  • Step 102 Perform an encoding operation according to a type of a parameter of an image header corresponding to the current encoded image, to obtain an encoded code stream;
  • a second parameter flag may be set in the image header to indicate whether the parameter in the image header is a complete image header parameter; for example, the flag bit may specifically include two values, one of which is used to indicate the The image header of the frame contains the complete image header parameter, and the other value indicates that the image header of the frame contains only the second type of image header parameters of the complete image header, and the first type of image header parameters for the image header are carried in the frame.
  • the divided area is called a stripe;
  • a first parameter flag may be set to indicate whether the strip includes the first type of image header parameter of the image header; for example, the flag bit may specifically include two Value, one of the values indicating that the header portion of the strip contains the first type of image header parameters of the image header, that is, if the parameter flag of the strip in the stream is the value, the frame will be written in the strip region
  • the first type of image header parameter, and the other value indicates parameter information in the strip that does not contain an image header.
  • Step 103 After completing the encoding operation, the code stream obtained by the encoding may be sent, and the corresponding code stream is sent to the decoding end through the transmission network;
  • the code stream can also be used for local storage, and sent to the decoding end through a removable storage medium.
  • the specific implementation process of decoding the corresponding image header parameters in the corresponding decoding process may include:
  • Step 104 Receive a compressed and transmitted video code stream sent by the encoding end.
  • Step 105 Parsing image header data in the code stream to obtain image header parameters
  • the method may include: when there is an image header in the code stream, obtaining an image header parameter directly from the image header; otherwise, obtaining a part of the image header data from the strip, and obtaining other belonging images from the previously decoded image. Header data, or discard the frame, without decoding the frame;
  • a second parameter flag may be present in the image header, the parameter flag being used to indicate that the image header includes a complete image header parameter or a partial image header parameter;
  • Step 106 parsing the strip data to obtain image header parameters
  • the method may include: acquiring a first parameter flag in the strip, and if the parameter flag indicates that the strip includes an image header parameter, parsing the corresponding image header parameter from the strip, otherwise, using the decoded
  • the image header parameters are used as image header parameters required during the decoding process.
  • the assembly code is streamed, and the digital audio and video is compiled.
  • the image header parameters of the decoding technology standard (AVS) are classified, wherein the corresponding first type of image header parameters include:
  • top_field_first u (1) top field first
  • repeat_first_field u(l) repeats the first field
  • the lbit image header parameter existence flag bit_pi C _head er _ eX i S t may be added as the first parameter flag, which is used to mark the strip.
  • the band may be set to 0 to indicate that the corresponding image header parameter is not included, and if set to 1, the required image header parameter nee_part (ie, the first The data of the class image header parameter is written to the portion after the flag bit.
  • the part_pi C _head er _ eX i S t flag in the strip can be determined. If 1, the image header parameter in the strip is decoded, and is combined with other image header parameters. Complete image header parameters
  • a 1-bit image header flag bit_pic_header_enable may be added to the image header as a second parameter flag for indicating whether the embodiment of the present invention is used in the encoding process.
  • the mechanism for classifying the image header parameter is provided, for example, the flag bit is set to 0, indicating that the code stream structure does not use the classification mode provided by the embodiment of the present invention to perform image header parameter transmission;
  • the mechanism for passing the image header parameters using the corresponding classification that is, only the second type of image header parameters are included in the image header stream, and the first type of image header parameters in the image header parameters are written into the respective strips.
  • the position of the image header parameter may be determined according to the image header flag p a rt_pi C _h ea d er _ ena ble, if it is 0 Then the corresponding image header parameters are in the image header stream, and the complete image header parameters can be obtained by parsing the image header data. If 1 is decoded, the non-essential image header parameter UnneC_part is obtained after decoding the image header stream, that is, The second type of image header parameters obtained by other decoded frames.
  • all the image header parameters may be set in the stripe, that is, the area of the original image header carrying the image header parameters may be removed, so that each strip
  • the bands can all contain the main parameters in the image header (ie the necessary image header parameters), where parameters that are not important, such as image start codes, can be ignored without transmission.
  • the lbit flag picj eader_exist may be added after the start code of the slice slice to mark whether the strip contains the original image header.
  • the complete data ie the complete image header parameter
  • the complete picture header parameter of the frame is written in the stripe area. And transmitting the encoded code stream after assembling other coded data of the strip.
  • the decoding end of the second embodiment determines the value of the pic J eader_exist flag in the strip, and if it is 1, decodes the image header in the strip. Content, obtain the corresponding complete image header parameter. If it is 0, the complete image header parameter cannot be obtained from the stripe. Specifically, the corresponding image header parameter can be obtained from the image header, or the corresponding image can be obtained by other means. Image header parameters.
  • Embodiment 3 [95] In the third embodiment, the processing method of the decoding end is provided in the case where the image header is lost.
  • the corresponding detailed processing process can include:
  • Step 201 Receive a code stream that is compression-encoded and transmitted by a video
  • Step 202 Search for the code stream according to the sequence of the code stream, and search for the I-frame, the image header start code of the PB frame or the start code of the stripe in the code stream, if the I or PB is found before the strip is found.
  • the image header start code corresponding to the frame determines that the frame image header is not lost, and has been correctly received. Thereafter, the received image header can be used to normally decode the frame. Otherwise, step 203 is performed;
  • Step 203 if the corresponding image header start code is not found before the strip start code is found, it is determined that the frame image header is lost, and step 204 is performed;
  • Step 204 after determining that the image header is lost, it is necessary to determine the value of the picj eader_exist flag bit or the part_pi C _h ea d er _ eX i S t flag bit in the stripe, if it is 1, it indicates that The strip contains image header parameters
  • the image header parameter in the strip can be decoded, and step 205 is performed;
  • Step 205 after obtaining the complete image header parameter of the frame according to the image header parameter decoding in the strip, using parsing to obtain other data in the normal decoding strip of the corresponding image header parameter, and then decoding to obtain the corresponding decoded image. ;
  • the step may be: if the corresponding picj eader_exist flag is 1, the complete image header parameter of the frame is directly decoded from the strip; if the corresponding part_pi C _h ea d er _ eX i S t flag is 1, then the image header parameters of the portion of the frame are decoded from the strip, and the image header parameters of the portion are compared with the image header parameters in the image header obtained from other frames. Merge as a complete image header parameter.
  • An embodiment of the present invention further provides an encoding apparatus.
  • the specific implementation structure is as shown in FIG. 3, and mainly includes the following processing units:
  • an image header parameter obtaining unit 301 configured to acquire an image header parameter corresponding to the current encoded frame
  • the stripe encoding unit 302 is configured to write the image header parameter encoded by the image header parameter acquiring unit 301 into a stripe of the current encoded frame to obtain an encoded code stream.
  • the strip encoding unit 302 may further include a first flag writing unit 3021, configured to write a first parameter flag in a strip of the current encoding frame, by which the first parameter flag may be represented Whether the image header parameter is included in the strip.
  • a first flag writing unit 3021 configured to write a first parameter flag in a strip of the current encoding frame, by which the first parameter flag may be represented Whether the image header parameter is included in the strip.
  • an image header encoding unit 303 may be further included, wherein the image header parameter in the stripe of the current encoded frame is a partial image header parameter of the current encoded frame, and the image header parameter is used. Another part of the code is written into the image header of the current encoded frame and transmitted.
  • a second flag writing unit 3031 is further included in the image header encoding unit 303, configured to write a second parameter flag in the image header of the current encoding frame, for indicating the image header. Whether the image header parameter is included in the image.
  • the image header parameter written in the image header of the current encoded frame is an image header parameter that can be shared by consecutive multiple frames; in the strip encoding unit 302, The image header parameter written in the strip of the current encoded frame is the image header parameter unique to the current encoded frame.
  • the embodiment of the present invention further provides a decoding apparatus, and the specific implementation structure thereof is still as shown in FIG.
  • a code stream input unit 304 configured to obtain an encoded code stream
  • a stripe decoding unit 305 configured to parse and obtain an image header parameter corresponding to a current decoded frame from a stripe of a current decoded frame in a code stream obtained by the code stream input unit 304, and decode the image header parameter according to an image header parameter.
  • the strip decoding unit 305 may further include a first flag decoding unit 3051, configured to determine, according to the first parameter flag in the strip of the current decoded frame, whether the image header parameter is included in the strip. And parsing the image header parameter corresponding to the current decoded frame from the strip.
  • an image header decoding unit 306 may be further included, configured to receive, from the code stream, an image header parameter acquired from a strip of a current decoded frame as a partial image header parameter of a current decoded frame.
  • the image header of the current decoded frame in the code stream received by the unit is parsed to obtain another partial image header parameter.
  • the image header decoding unit 306 may further include a second flag decoding unit 3061, configured to determine, in the image header, an image header parameter according to the second parameter flag in the image header of the current encoded frame. And parsing another part of the image header parameter from the image header of the currently decoded frame.
  • a second flag decoding unit 3061 configured to determine, in the image header, an image header parameter according to the second parameter flag in the image header of the current encoded frame. And parsing another part of the image header parameter from the image header of the currently decoded frame.
  • an error processing unit 307 may be further included in the apparatus, where the image header parameter in the image header of other frames that have been previously decoded is used as the image header of the current decoded frame is lost or errored.
  • the image header parameter in the image header of the currently decoded frame may include an image header loss identification unit 308, in the process of decoding the received code stream, if the decoding of the stripe start code is not found after the decoding of the one frame is completed, The start code of the image header confirms the current solution The image header of the code frame is lost.
  • the foregoing embodiments of the present invention can be applied to a video data transmission environment in which a plurality of sets of video information to be transmitted have certain identical video information, such as data transmission in video surveillance.
  • each strip can be independently decoded without relying entirely on the image header, it can be made in the channel where the transmission error occurs, even if the image header packet is lost, To some extent, the correctly received stripe data in the frame is decoded, and the corresponding frame is decoded, which improves the error-proof performance of the codec system.
  • the embodiment of the present invention can effectively improve the video decoding quality with transmission error , and increase the number of correctly decoded frames, thereby improving the subjective quality of the video sequence after compression transmission. The more strips contained in a frame, the effect is gradually obvious.
  • the present invention can be implemented by hardware or by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention can be written as a computer executable program, and the computer device can implement the method provided by the present invention by executing the program.
  • the computer executable program can be stored in a non-volatile storage medium (including a CD-ROM, a USB flash drive, a mobile hard disk, etc.).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

一种编解码方法及相应的装置,其主要包括:在获取当前编码帧对应的图像头参数后,将所述图像头参数编码写入当前编码帧的条带中传输,从而使得解码端可以从接收到的码流的当前解码帧的条带中解析获取当前解码帧对应的图像头参数,并根据该图像头参数进行解码操作。本发明实施例通过在条带中传递相应的图像头参数信息,从而提高了图像头参数被解码端正确接收可能性,进而提高了编码传输过程的抗传输差错能力。

Description

编解码方法及装置
[1] 本申请要求于 2008年 3月 20日提交中国专利局、 申请号为 200810102342.9、 发明 名称为"编解码方法及装置"的中国专利申请的优先权, 其全部内容通过引用结合 在本申请中。
[2] 技术领域
[3] 本发明涉及通信技术领域, 尤其涉及一种编解码技术。
[4] 发明背景
[5] 目前, 在数字音视频编解码技术标准 (AVS, Audio Video coding
Standard) 中, 相应的编码端釆用起始码将视频数据的码流分为序列数据、 图象 头以及条带数据, 并分别以序列头起始码, 图象头起始码和条带起始码标记进 行相应的序列数据、 图象头以及条带数据的传输处理。 在该处理中, 每一帧均 釆用了与其它帧不一样的图像头数据包 (即釆用不同的图像头参数) , 以便在 解码端通过相应的图像头参数进行针对该帧的条带解码操作, 因此, 该帧的图 像头参数不能被其它视频帧的解码过程所应用。
[6] 在实现本发明过程中, 发明人发现现有技术中至少存在如下问题:
[7] 上述编码方案中, 由于在解码端针对每一帧均需要正确地接收相应的图像头, 才能够正确地获取相应的图像头参数, 进而保证正确的解码操作, 因此, 上述 编码方案在视频传输过程的抗传输差错能力较差, 即一旦图像头丢失, 则即使 条带数据正确接收, 也无法解码出接收到的条带数据。
[8] 发明内容
[9] 本发明的实施例提供了一种编解码方法及装置, 以提高编码传输过程中的抗传 输差错能力。
[10] 一种编码方法, 包括:
[11] 获取当前编码帧对应的图像头参数;
[12] 将所述图像头参数编码写入当前编码帧的条带中, 获得编码码流。
[13] 一种编码装置, 包括: [14] 图像头参数获取单元, 用于获取当前编码帧对应的图像头参数;
[15] 条带编码单元, 用于将所述图像头参数获取单元获取的图像头参数编码写入当 前编码帧的条带中, 获得编码码流。
[16] 一种解码方法, 包括:
[17] 获得码流;
[18] 从所述码流中的当前解码帧的条带中解析获取当前解码帧对应的图像头参数, 并根据图像头参数进行解码操作。
[19] 一种解码装置, 包括:
[20] 码流输入单元, 用于得到码流;
[21] 条带解码单元, 用于从码流输入单元得到的码流中的当前解码帧的条带中解析 获取当前解码帧对应的图像头参数, 并根据图像头参数进行解码操作。
[22] 一种编码方法, 包括:
[23] 在码流的图像头中写入一个标志符号, 用于标记该图像头中是包含完整的图像 头参数, 若该标志符号指示未包含完整的图像头参数, 则在码流中的该图像头 区域设置部分图像头参数或不设置图像头参数, 其余部分的图像头参数或完整 的图像头参数设置于条带头区域中;
[24] 在码流的条带头中写入一个标志符号, 用于标记该条带中是否包含图像头参数
, 且若该标志符号指示包含图像头参数, 则在码流中该条带的头部区域中设置 完整的或部分的图像头参数。
[25] 由上述本发明的实施例提供的技术方案可以看出, 其通过在条带中传递相应的 图像头参数信息, 从而提高了图像头参数被解码端正确接收可能性, 进而提高 了编码传输过程的抗传输差错能力。
[26] 附图简要说明
[27] 图 1为本发明实施例提供的编解码处理过程示意图;
[28] 图 2为本发明实施例提供的图像头丢失的处理过程示意图;
[29] 图 3为本发明实施例提供的编解码装置的结构示意图。
[30] 实施本发明的方式
[31] 本发明实施例中, 在编码端获取当前编码帧对应的图像头参数后, 则可以将所 述图像头参数编码写入当前编码帧的条带中进行传输, 以使得解码端能够在图 像头丢失或出错的情况下, 若条带数据正确接收, 则仍可以获得相应的图像头 参数, 以进行后续解码处理。
[32] 在上述处理过程中, 还可以在当前编码帧的条带中写入相应的第一参数标志, 通过该第一参数标志可以表示在该条带中是否包含图像头参数, 以便于指示解 码端进行条带中的图像头参数的解码操作。
[33] 本发明实施例中, 还可以将相应的图像头参数中的一部分写入当前编码帧的条 带中, 另一部分图像头参数则写入当前编码帧的图像头中; 其中, 相应的写入 当前编码帧的图像头中的图像头参数可以为连续多帧能够共用的图像头参数, 从使得在图像头丢失或出错的情况下, 可以通过其他帧已经解码获得的相应的 图像头参数作为该图像头中的图像头参数, 相应的写入当前编码帧的条带中的 图像头参数可以为当前编码帧独有的图像头参数, 该图像头参数的正确解码获 得则可以保证能够解码获得准确的视频图像。
[34] 在上述处理过程中, 还可以在当前编码帧的图像头中写入第二参数标志, 通过 该第二参数标志可以表示在该图像头中是否包含所述图像头参数, 以指示解码 端进行该图像头参数的解码操作。
[35] 进一步地, 在编码端发送的码流的信息具体可以包括:
[36] (1) 在码流的条带中设置第一参数标志, 该标志用于表示该条带中是否存在 图像头参数; 如果该参数标志位指示该条带中存在图像头参数, 则在码流的所 述条带的头部区域通过码流符号的设置承载图像头参数的子集 (即图像头参数 中的一部分) 或者完整的图像头参数, 否则, 该条带中不承载图像头参数;
[37] (2) 在码流的图像头中设置第二参数标志, 该标志用于表示该图像头中是含 有完整的图像头参数还是仅包含图像头参数的子集; 如果该参数分类标志位指 示图像头区域只含有图像头参数的子集, 则该区域的码流只含有图像头参数的 一部分, 图像头参数的其余部分存在于相应的条带区域中, 否则, 该图像头区 域将包含该图像头的全部图像头参数。
[38] 前面对本发明实施例提供的编码端的编码过程进行了描述, 下面将对相应的解 码端的解码过程进行描述。 [39] 在解码端接收编码端发来的编码码流后, 则从码流中的当前解码帧的条带中解 析获取当前解码帧对应的图像头参数, 以便于解码端可以根据该图像头参数进 行相应的视频解码操作。
[40] 进一步地, 若编码端在码流中写入了第一参数标志, 则在获取当前解码帧对应 的图像头参数之前, 需要解码当前解码帧的条带中的第一参数标志, 并在根据 当前解码帧的条带中的第一参数标志确定该条带中包含所述图像头参数吋, 则 从该条带中解析获取当前解码帧对应的图像头参数。
[41] 在解码端, 若从当前解码帧的条带中获取的图像头参数为当前解码帧的部分图 像头参数, 则可以从当前解码帧的图像头中解析获取另一部分图像头参数; [42] 具体地, 可以在根据当前编码帧的图像头中的第二参数标志确定在该图像头中 包含图像头参数吋, 则从当前解码帧的图像头中解析获取另一部分图像头参数
[43] 相应的, 在解码端, 若当前解码帧的图像头丢失或出错, 则可以釆用之前已经 解码的其他帧的图像头中的图像头参数作为当前解码帧的图像头中的图像头参 数, 从而提高编解码系统的抗差错性能, 改善解码性能。 进一步地, 在解码接 收到的码流的过程中, 若在完成一帧解码之后, 解析获得条带起始码之前未找 到图像头的起始码, 则可以认为当前解码帧的图像头丢失。
[44] 在实际应用过程中, 进一步地, 本发明实施例可以在码流的图像头中写入一个 标志符号, 用于标记该图像头中是包含完整的图像头参数, 若该标志符号指示 未包含完整的图像头参数 (此吋, 可能包含部分的图像头参数, 也可能未包含 图像头参数) , 则在码流中的该图像头区域设置部分图像头参数或不设置图像 头参数, 其余部分的图像头参数或完整的图像头参数 (即图像头中不设置图像 头参数) 设置于条带区域中。 本发明实施例还可以在码流的条带中写入一个标 志符号, 用于标记该条带中是否包含图像头参数, 且若该标志符号指示包含图 像头参数, 则在码流中该条带的头部区域中设置完整的图像头参数或部分的图 像头参数。
[45] 可见, 本发明实施例的实现可以提高码流的抗图像头丢失能力, 使得在某帧的 图像头丢失的情况下, 仍能解码出该帧所接收到的条带数据, 进而获得相应的 图像头参数, 保证解码过程的正常进行。
[46] 为便于对本发明实施例的理解, 下面将对本发明实施例的具体实现过程进行详 细描述。
[47] (一) 编码端
[48] 在编码端, 如图 1所示, 具体釆用的图像头参数的编码处理过程可以包括以下 步骤:
[49] 步骤 101, 对当前编码图像对应的图像头的各个参数进行分类;
[50] 即根据图像头参数在各帧之间的变化频度, 对当前编码图像对应的图像头的各 个参数进行分类;
[51] 进一步地, 具体可以包括:
[52] (1) 如果参数在每一帧都不一样或者经常变化 (如在若干帧之后发生变化)
, 则将该类参数称为第一类图像头参数, 该第一类图像头参数是解码端正确解 码所必需的参数;
[53] (2) 如果参数在各帧之间变化不频繁 (变化频率小于某预定值或连续多帧相 同的图像头参数) , 即该参数的变化不会影响解码端的解码性能, 则将该类参 数称为第二类图像头参数, 对于第二类图像头参数, 其在解码端可以使用前面 已正确接收帧的图像头中的对应参数值来代替当前帧参数进行解码, 且能够正 确解码。
[54] 上述两类图像头参数中, 每一类参数个数分别为 m
和 n个, 且 m和 n分别是大于或等于 1的自然数。
[55] 步骤 102, 根据当前编码图像对应的图像头的参数的类型进行编码操作, 获得 编码码流;
[56] 即根据针对图像头参数的分类结果将变化频度低的图像头参数编码写入图像头 中, 将变化频度高的图像头参数写入条带中;
[57] 具体可以在图像头中设置一个第二参数标志, 以表示图像头中的参数是否为完 整的图像头参数; 例如, 该标志位具体可以包括两个值, 其中一个值用于表示 该帧的图像头包含完整的图像头参数, 另一个值表示该帧的图像头仅包含完整 图像头的第二类图像头参数, 对于图像头的第一类图像头参数则承载在该帧的 分割后的区域中, 该分割后的区域称为条带;
[58] 在条带起始码之后, 也可以设置一个第一参数标志, 用于表示该条带中是否包 含有图像头的第一类图像头参数; 例如, 该标志位具体可以包括两个值, 其中 一个值表示该条带的头部分含有图像头的第一类图像头参数, 即若码流中的条 带的参数标志位为该值, 则在条带区域将会写入该帧的第一类图像头参数, 另 一个值表示该条带中未包含图像头的参数信息。
[59] 步骤 103, 在完成编码操作后, 可以发送编码获得的码流, 相应的码流将通过 传输网络发送给解码端;
[60] 所述码流也可以用于本地存储, 通过可移动存储介质送到解码端。
[61] (二) 解码端
[62] 在解码端, 仍参照图 1所示, 相应的解码处理过程中解码获得相应的图像头参 数的具体实现过程可以包括:
[63] 步骤 104, 接收编码端发送来的经过压缩和传输后的视频码流;
[64] 步骤 105, 解析码流中的图像头数据, 获得图像头参数;
[65] 具体可以包括: 当码流中存在图像头吋, 则直接从图像头中获得图像头参数, 否则, 从条带中得到一部分图像头数据, 从之前解码的图像中得到其它的属于 图像头的数据, 或者丢弃该帧, 不对该帧进行解码;
图像头中可以存在第二参数标志, 该参数标志用于表示该图像头中包含完整的 图像头参数或部分图像头参数;
[66] 步骤 106, 解析条带数据, 获得图像头参数;
[67] 具体可以包括: 获取条带中的第一参数标志, 若该参数标志表示该条带包含图 像头参数, 则从该条带中解析获得相应的图像头参数, 否则, 使用已解码得到 的图像头参数作为解码过程中需要的图像头参数。
[68] 经过上述处理过程, 便可以准确地获得解码过程中需要的图像头参数, 进而解 码得到相应的解码图像。
[69] 下面将结合具体的实施例对本发明实施例的应用进行详细说明。
[70] 实施例一
[71] 在该实施例一中, 编码端正常编码一帧完毕后, 组装码流吋, 对数字音视频编 解码技术标准 (AVS) 的图像头参数进行分类, 其中, 相应的第一类图像头参 数包括:
[72] picture_coding_type u(2) , 图像编码类型;
[73] picture_distance u(8) , 图像间距;
[74] progressive—frame u(l)逐行帧标志;
[75] if ( progressive—frame == 'Ο' )
[76] picture_structure u(l)图像编码结构标志;
[77] top_field_first u (1)顶场在先;
[78] repeat_first_field u(l)重复首场;
[79] skip_mode_flag u(l)宏块跳过模式;
[80] if (! ( picture—coding—type = = '10' && PictureStructure = = 1 ) )
[81] picture_reference_flag u( 1 )图像参考标志;
[82] 其它图像头参数则为第二类图像头参数;
[83] 本发明实施例中, 在条带 (Slice) 的起始码之后, 可以增加 lbit图像头参数存 在标志位 part_piC_header_eXiSt作为第一参数标志, 用于标记该条带是否含有原图 像头的一部分图像头参数, 例如, 可以为设置该标志位为 0吋表示未包含相应的 图像头参数, 若设置 1则表示将必需的图像头参数 nee—part (即第一类图像头参数 ) 的数据写入到该标志位之后的部分。
[84] 对应的, 在解码端, 可以判断条带中的 part_piC_header_eXiSt标志位, 若为 1, 则解码该条带中的图像头参数, 与其它图像头参数一起组成完整的图像头参数
[85] 为使得本发明实施例可以与其他技术兼容, 还可以在图像头中增加 lbit的图像 头标志位 part_pic_header_enable作为第二参数标志, 用于指示在编码过程中是否 釆用了本发明实施例提供的分类传递图像头参数的机制, 例如, 可以设置为该 标志位为 0吋表示码流结构未釆用本发明实施例提供的分类方式进行图像头参数 的传递; 该标志位为 1吋表示使用相应的分类传递图像头参数的机制, 即此吋, 在图像头码流中只含有第二类图像头参数, 而将图像头参数中的第一类图像头 参数写入各个条带中。 [86] 对应的, 在解码端接收经过压缩和传输后的视频码流后, 则可以根据图像头标 志位 part_piC_header_enable判断图像头参数存在的位置, 若为 0则相应的图像头 参数均在图像头码流中, 解析图像头数据即可得到完整的图像头参数, 如果为 1 则解码图像头码流后得到非必要的图像头参数 UnneC_part, 即可以通过其他解码 帧得到的第二类图像头参数。
[87] 获得完整的图像头参数后便可以使用已解析得到的图像头参数执行正常解码条 带中的其它数据的操作, 进而得到相应的解码图像。
[88] 实施例二
[89] 在本实施例二中, 在编码端, 具体可以将所有的图像头参数均设置于条带中, 即可以去掉原有的图像头中承载图像头参数的区域, 以使得每个条带都可以含 有图像头中的主要参数 (即必需的图像头参数) , 其中, 对于诸如图像起始码 等不重要的参数则可以忽略而不进行传输。
[90] 相应的, 在编码端编码完毕并组织码流吋, 则可以在条带 Slice的起始码之后, 增加 lbit标志位 picj eader—exist, 用于标记该条带中是否含有原图像头完整数据 (即完整的图像头参数) , 例如, 可以设置为当其值为 0吋, 表示条带结构不包 含相应的完整的图像头参数, 若其值为 1, 则表示在该标志位之后包含有原图像 头对应的完整的图像头参数。
[91] 若组织码流过程中, 相应的标志位指示需要在条带中写入所述完整的图像头参 数, 则在条带区域写入该帧完整的图像头参数。 并在组装完成该条带的其它编 码数据后发送编码码流。
[92] 在该实施例二的解码端接收经过压缩和传输后的视频码流后, 判断条带中的 pic J eader—exist标志位的值, 若为 1, 则解码该条带中图像头内容, 获得相应的完 整的图像头参数, 若为 0, 则无法从该条带中获得完整的图像头参数, 具体可以 从图像头中获得相应的图像头参数, 或者, 通过其他方式获得相应的图像头参 数。
[93] 在获得相应的完整的图像头参数后, 便可以正常解码条带中的其它数据, 进而 解码得到相应的解码图像。
[94] 实施例三 [95] 在该实施例三中, 提供了在图像头丢失的情况下, 解码端釆用的处理方式
, 如图 2所示, 相应的详细处理过程可以包括:
[96] 步骤 201, 接收一段视频经过压缩编码及传输的码流;
[97] 步骤 202, 按照码流的顺序搜寻码流, 在码流中寻找 I帧、 PB帧的图像头起始码 或者条带的起始码, 如果在找到条带之前找到了 I或 PB帧对应的图像头起始码, 则确定该帧图像头未丢失, 且已被正确接收, 此吋, 可以使用已接收到的图像 头正常解码该帧, 否则, 执行步骤 203 ;
[98] 步骤 203, 若在找到条带起始码之前未能找到相应的图像头起始码, 则判断该 帧图像头丢失, 并执行步骤 204;
[99] 步骤 204, 在确定图像头丢失后, 则需要判断条带中的 picj eader—exist标志位 或 part_piC_header_eXiSt标志位的值, 若为 1, 则表示在该条带中包含图像头参数
, 则可以解码该条带中图像头参数, 并执行步骤 205 ;
[100] 步骤 205, 根据条带中图像头参数解码获得该帧的完整的图像头参数后, 则使 用解析得到相应的图像头参数正常解码条带中的其它数据, 进而解码获得相应 的解码图像;
[101] 进一步地, 该步骤可以为: 若相应的 picj eader—exist标志位为 1, 则直接从该 条带中解码获得该帧的完整的图像头参数; 若相应的 part_piC_header_eXiSt标志位 为 1, 则从该条带中解码获得该帧的部分的图像头参数, 并将该部分的图像头参 数与从其他帧已经解码获得的图像头中的图像头参数合并作为完整的图像头参 数。
[102] 本发明实施例还提供了一种编码装置, 其具体实现结构如图 3所示, 主要包括 以下处理单元:
[103] 图像头参数获取单元 301, 用于获取当前编码帧对应的图像头参数;
[104] 条带编码单元 302, 用于将所述图像头参数获取单元 301获取的图像头参数编码 写入当前编码帧的条带中, 获得编码码流。
[105] 可选地, 该条带编码单元 302还可以包括第一标志写入单元 3021, 用于在当前 编码帧的条带中写入第一参数标志, 通过该第一参数标志可以表示在该条带中 是否包含所述图像头参数。 [106] 在该编码装置中, 还可以包括图像头编码单元 303, 用于在写入当前编码帧的 条带中的图像头参数为当前编码帧的部分图像头参数吋, 将图像头参数中的另 一部分编码写入当前编码帧的图像头中, 并传输。
[107] 可选地, 在该图像头编码单元 303中还可以包括第二标志写入单元 3031, 用于 在当前编码帧的图像头中写入第二参数标志, 用于表示在该图像头中是否包含 所述图像头参数。
[108] 可选地, 在该图像头编码单元 303中, 写入当前编码帧的图像头中的图像头参 数为连续多帧能够共用的图像头参数; 在所述条带编码单元 302中, 写入当前编 码帧的条带中的图像头参数为当前编码帧独有的图像头参数。
[109] 对应的, 本发明实施例还提供了一种解码装置, 其具体实现结构仍如图 3所示
, 具体可以包括以下单元:
[110] 码流输入单元 304, 用于获得编码码流;
[111] 条带解码单元 305, 用于从所述码流输入单元 304得到的码流中的当前解码帧的 条带中解析获取当前解码帧对应的图像头参数, 并根据图像头参数进行解码操 作; 其中, 该条带解码单元 305中还可以包括第一标志解码单元 3051, 用于在根 据当前解码帧的条带中的第一参数标志确定该条带中是否包含所述图像头参数 吋, 从该条带中解析获取当前解码帧对应的图像头参数。
[112] 在该装置中, 还可以包括图像头解码单元 306, 用于在从当前解码帧的条带中 获取的图像头参数为当前解码帧的部分图像头参数吋, 从所述码流接收单元接 收到的码流中的当前解码帧的图像头中解析获取另一部分图像头参数。
[113] 可选地, 该图像头解码单元 306还可以包括第二标志解码单元 3061, 用于在根 据当前编码帧的图像头中的第二参数标志确定在该图像头中包含图像头参数吋 , 从当前解码帧的图像头中解析获取另一部分图像头参数。
[114] 可选地, 在该装置中还可以包括差错处理单元 307, 用于在当前解码帧的图像 头丢失或出错吋, 釆用之前已经解码的其他帧的图像头中的图像头参数作为当 前解码帧的图像头中的图像头参数。 进一步地, 该装置的差错处理单元 307可以 包括图像头丢失识别单元 308, 用于在解码接收到的码流的过程中, 若在完成一 帧解码之后, 解析获得条带起始码之前未找到图像头的起始码, 则确认当前解 码帧的图像头丢失。
[115] 上述各本发明实施例可以适用于多组待传输数据之间存在一定相同的视频信息 的视频数据传输环境中, 如视频监控中的数据传输等。
[116] 综上所述, 本发明实施例中, 由于每个条带能够不完全依靠图像头而独立解码 , 因而可以使得在出现传输差错的信道下, 即使图像头数据包丢失, 也能在一 定程度上解码该帧中正确接收到的条带数据, 进而解码相应的帧, 提高了编解 码系统的抗差错性能。 总之, 本发明实施例可以在编码性能下降较小的情况下 , 有效提高有传输差错吋的视频解码质量, 增加正确解码的帧数, 从而提高视 频序列经过压缩传输后, 在解码端的显示主观质量, 一帧中含有的条带越多, 效果逐步明显。
[117] 通过以上的实施方式的描述, 本领域的普通技术人员可以清楚地了解到本发明 可以通过硬件实现, 也可以借助软件加必需的通用硬件平台的方式来实现。 基 于这样的理解, 本发明的技术方案可以编写成计算机可执行程序, 计算机设备 通过执行该程序可以实现本发明提供的方法。 该计算机可执行程序可以存储在 非易失性存储介质中 (包括 CD-ROM、 U盘、 移动硬盘等) 。
[118] 以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围 应该以权利要求的保护范围为准。

Claims

权利要求书
[1] 一种编码方法, 其特征在于, 包括:
获取当前编码帧对应的图像头参数;
将所述图像头参数编码写入当前编码帧的条带中, 获得编码码流。
[2] 根据权利要求 1所述的方法, 其特征在于, 该方法还包括:
在当前编码帧的条带中写入第一参数标志, 用于表示在该条带中是否包含 所述图像头参数。
[3] 根据权利要求 1或 2所述的方法, 其特征在于, 写入当前编码帧的条带中的 图像头参数为当前编码帧的所有图像头参数或部分图像头参数, 其中, 若 为部分图像头参数, 则该方法还包括:
将图像头参数中的另一部分编码写入当前编码帧的图像头中。
[4] 根据权利要求 3所述的方法, 其特征在于, 该方法还包括:
在当前编码帧的图像头中写入第二参数标志, 用于表示在该图像头中是否 包含所述图像头参数。
[5] 根据权利要求 3所述的方法, 其特征在于, 写入当前编码帧的图像头中的图 像头参数为连续多帧能够共用的图像头参数, 写入当前编码帧的条带中的 图像头参数为无法多帧共用的图像头参数。
[6] —种编码装置, 其特征在于, 包括:
图像头参数获取单元, 用于获取当前编码帧对应的图像头参数; 条带编码单元, 用于将所述图像头参数获取单元获取的图像头参数编码写 入当前编码帧的条带中, 获得编码码流。
[7] 根据权利要求 6所述的装置, 其特征在于, 所述条带编码单元还包括第一标 志写入单元, 用于在当前编码帧的条带中写入第一参数标志, 用于表示在 该条带中是否包含所述图像头参数。
[8] 根据权利要求 6或 7所述的装置, 其特征在于, 该装置还包括图像头编码单 元, 用于在写入当前编码帧的条带中的图像头参数为当前编码帧的部分图 像头参数吋, 将图像头参数中的另一部分编码写入当前编码帧的图像头中
, 并传输。
[9] 根据权利要求 8所述的装置, 其特征在于, 所述图像头编码单元还包括第二 标志写入单元, 用于在当前编码帧的图像头中写入第二参数标志, 用于表 示在该图像头中是否包含所述图像头参数的另一部分。
[10] 根据权利要求 8所述的装置, 其特征在于, 在所述图像头编码单元中, 写入 当前编码帧的图像头中的图像头参数为连续多帧能够共用的图像头参数; 在所述条带编码单元中, 写入当前编码帧的条带中的图像头参数为无法多 帧共用的图像头参数。
[11] 一种解码方法, 其特征在于, 包括:
获得码流;
从所述码流中的当前解码帧的条带中解析获取当前解码帧对应的图像头参 数, 并根据图像头参数进行解码操作。
[12] 根据权利要求 11所述的方法, 其特征在于, 所述获取当前解码帧对应的图 像头参数的过程包括:
当根据当前解码帧的条带中的第一参数标志确定该条带中包含所述图像头 参数吋, 则从该条带中解析获取当前解码帧对应的图像头参数。
[13] 根据权利要求 11或 12所述的方法, 其特征在于, 该方法还包括:
当从当前解码帧的条带中获取的图像头参数为当前解码帧的部分图像头参 数吋, 则从当前解码帧的图像头或其它帧的图像头中得到另一部分图像头 参数。
[14] 根据权利要求 13所述的方法, 其特征在于, 所述获取另一部分图像头参数 的过程包括:
当根据当前编码帧的图像头中的第二参数标志确定在该图像头中包含图像 头参数, 则从当前解码帧的图像头中解析获取另一部分图像头参数。
[15] 根据权利要求 13所述的方法, 其特征在于, 所述得到另一部分图像头参数 的步骤具体包括:
从当前解码帧的图像头得到另一部分图像头参数, 或者, 若当前解码帧的 图像头不存在吋, 则釆用之前已经解码的其他帧的图像头中的部分图像头 参数作为当前解码帧的图像头中的图像头参数。
[16] 根据权利要求 15所述的方法, 其特征在于, 该方法还包括: 在解码接收到的码流的过程中, 若在完成一帧解码之后, 解析获得条带起 始码之前未找到图像头的起始码, 则确认当前解码帧的图像头丢失。
[17] 一种解码装置, 其特征在于, 包括:
码流输入单元, 用于得到码流;
条带解码单元, 用于从码流输入单元得到的码流中的当前解码帧的条带中 解析获取当前解码帧对应的图像头参数, 并根据图像头参数进行解码操作
[18] 根据权利要求 17所述的装置, 其特征在于, 所述条带解码单元中还包括第 一标志解码单元, 用于在根据当前解码帧的条带中的第一参数标志确定该 条带中包含所述图像头参数吋, 从该条带中解析获取当前解码帧对应的图 像头参数。
[19] 根据权利要求 17或 18所述的装置, 其特征在于, 该装置还包括图像头解码 单元, 用于在从当前解码帧的条带中获取的图像头参数为当前解码帧的部 分图像头参数吋, 从所述码流接收单元接收到的码流中的当前解码帧的图 像头中解析获取另一部分图像头参数。
[20] 根据权利要求 19所述的装置, 其特征在于, 所述图像头解码单元还包括第 二标志解码单元, 用于在根据当前编码帧的图像头中的第二参数标志确定 在该图像头中包含图像头参数吋, 从当前解码帧的图像头中解析获取另一 部分图像头参数。
[21] 根据权利要求 19所述的装置, 其特征在于, 该装置还包括差错处理单元, 用于在当前解码帧的图像头丢失或出错吋, 釆用之前已经解码的其他帧的 图像头中的图像头参数作为当前解码帧的图像头中的图像头参数。
[22] 根据权利要求 21所述的装置, 其特征在于, 所述差错处理单元包括图像头 丢失识别单元, 用于在解码接收到的码流的过程中, 若在完成一帧解码之 后, 解析获得条带起始码之前未找到图像头的起始码, 则确认当前解码帧 的图像头丢失。
PCT/CN2009/070895 2008-03-20 2009-03-19 编解码方法及装置 WO2009115049A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810102342.9 2008-03-20
CN 200810102342 CN101540901B (zh) 2008-03-20 2008-03-20 编解码方法及装置

Publications (1)

Publication Number Publication Date
WO2009115049A1 true WO2009115049A1 (zh) 2009-09-24

Family

ID=41090511

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070895 WO2009115049A1 (zh) 2008-03-20 2009-03-19 编解码方法及装置

Country Status (2)

Country Link
CN (1) CN101540901B (zh)
WO (1) WO2009115049A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096054B (zh) * 2011-11-04 2015-07-08 华为技术有限公司 一种视频图像滤波处理方法和装置
CN106921869B (zh) * 2017-04-08 2018-09-04 腾讯科技(深圳)有限公司 一种图片文件处理方法及其设备
CN107071514B (zh) * 2017-04-08 2018-11-06 腾讯科技(深圳)有限公司 一种图片文件处理方法及智能终端
CN109005426B (zh) * 2017-04-08 2021-04-30 腾讯科技(深圳)有限公司 一种图片文件处理方法
CN109040789B (zh) * 2017-04-08 2021-05-28 腾讯科技(深圳)有限公司 一种图片文件处理方法
CN108696761B (zh) * 2017-04-08 2022-03-04 腾讯科技(深圳)有限公司 一种图片文件处理方法及其设备、系统
CN109194962B (zh) * 2017-04-08 2022-07-22 腾讯科技(深圳)有限公司 一种图片文件处理方法及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1781315A (zh) * 2003-04-30 2006-05-31 诺基亚有限公司 用于编码图像序列的方法
CN101043294A (zh) * 2007-03-15 2007-09-26 华为技术有限公司 数据帧的切片方法和光网络单元
WO2007124188A2 (en) * 2006-02-24 2007-11-01 Freescale Semiconductor Inc. Flexible macroblock ordering with reduced data traffic and power consumption

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100375520C (zh) * 2002-08-22 2008-03-12 皇家菲利浦电子有限公司 减少经信道发送的编码视频信号中数据损失的视频编码和解码方法及其系统
GB2404467A (en) * 2003-07-31 2005-02-02 Sony Uk Ltd Access control for digital content
US9560367B2 (en) * 2004-09-03 2017-01-31 Nokia Technologies Oy Parameter set and picture header in video coding
CN101039421A (zh) * 2006-03-16 2007-09-19 华为技术有限公司 在编解码中的实现量化的方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1781315A (zh) * 2003-04-30 2006-05-31 诺基亚有限公司 用于编码图像序列的方法
WO2007124188A2 (en) * 2006-02-24 2007-11-01 Freescale Semiconductor Inc. Flexible macroblock ordering with reduced data traffic and power consumption
CN101043294A (zh) * 2007-03-15 2007-09-26 华为技术有限公司 数据帧的切片方法和光网络单元

Also Published As

Publication number Publication date
CN101540901A (zh) 2009-09-23
CN101540901B (zh) 2011-04-06

Similar Documents

Publication Publication Date Title
WO2009115049A1 (zh) 编解码方法及装置
US6768775B1 (en) Video CODEC method in error resilient mode and apparatus therefor
JP4321284B2 (ja) ストリーミングデータ送信装置、および情報配信システム
CN1100391C (zh) 具有防差错的可变长度编码
RU2004125579A (ru) Группирование кадров изображения на видеокодировании
JP2009537081A (ja) フレーム情報表を用いたフレームレベルのマルチメディア復号
CN1311590A (zh) 压缩报头传输数据包的方法和装置
JP2005327442A5 (zh)
WO2008125066A1 (en) An encoding and decoding method and means of multiple viewpoint
US20070280356A1 (en) Method For Video Coding Conversion And Video Coding Conversion Device
CN103428462A (zh) 一种多通道音视频处理方法和装置
WO2013004166A1 (zh) 帧内预测编解码处理方法、装置和系统
US6384749B1 (en) Digital video coding method and device
JP2009118244A (ja) 再生単位が可変のデータを送信する技術
CN104754341A (zh) 一种视频数据编码、解码的方法和装置
JP2001157204A (ja) 動画像復号化方法及び装置
US20100241920A1 (en) Image decoding apparatus, image decoding method, and computer-readable recording medium
CN101296166B (zh) 基于索引的多媒体数据的测量方法
US20160277548A1 (en) Transmission device, receiving device, transmission method, and receiving method
JP5044687B2 (ja) 映像処理装置及びファイル管理方法
US20130317829A1 (en) Audio Decoding Method and Associated Apparatus
JP2007208418A (ja) 検査情報生成装置、送信装置及び中継装置
KR102104495B1 (ko) 수신장치 및 수신장치용 프로그램
TWI552573B (zh) 具有初始化片段之視訊及音訊之寫碼
CN108600826B (zh) 一种播放ts流的方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09721634

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09721634

Country of ref document: EP

Kind code of ref document: A1