Nova Patents
EP1237123B1

Decoding apparatus and method

Abstract

This record has no abstract on file.

EP1237123B1, drawing sheet 1
Sheet 1 of 14

Term

Term ended

Expired 26 February 2022, 4.6 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

20 claims: 6 independent, 14 dependent

  1. 1
    A decoding apparatus comprising:table storage means (101) storing, in correspondence with M types of variable-length code tables, M tables each of which holds minimum code words or maximum code words of a plurality of classes of variable-length code words constructing a variable-length code table;table selection means (102) for selecting a table from M tables in said table storage means;a plurality of comparison means (103), corresponding to the number of classes of variable-length code words held in the table selected by said table selection means, for comparing input coded data with the minimum code words or maximum code words outputted from the table selected by said table selection means;class discrimination means (104, 105) for obtaining a class number corresponding to an initial code word of the input coded data based on results of comparison by said comparison means;code length conversion means (106) for converting the class number obtained by said class discrimination means into a code length;and address generation means (107) for generating an address to access a memory holding decoded data from said class number and said code length outputted from said code length conversion means.
  2. 4
    The decoding apparatus according to any one of claims 1-3, wherein said code-length conversion means (106) converts the class number into the code length based on the class number (113) obtained by said class discrimination means (105) and a number of the table selected by said table selection means (102).
  3. 8
    A decoding method for inputting and decoding variable-length coded data, comprising:a table selection step of, in correspondence with M types of variable-length code tables, selecting one table corresponding to the variable-length coded data from M tables holding minimum code words or maximum code words of classes of variable-length code words constructing a variable-length code table;a comparison step of comparing input coded data with the minimum code words or maximum code words outputted from the table selected in said table selection step by using a plurality of comparators corresponding to the number of the classes of variable-length code words of the table selected in said table selection step;a class discrimination step of obtaining a class number corresponding to an initial code word of the input coded data based on results of comparison by the comparators;a code length conversion step of converting the class number into a code length;and a step of accessing a memory holding decoded data, from the class number and the code length obtained in said code length conversion step, and obtaining decoded data.
  4. 11
    The decoding method according to claims 8-10, wherein in said table selection step, the table is selected based on at least a coding method of the input coded data, a component number and data indicating a variable-length code table used upon coding.
  5. 15
    A computer-readable storage medium holding a program for executing a decoding method for inputting and decoding variable-length coded data, having:a table selection process module adapted to, in correspondence with M types of variable-length code tables, select one table corresponding to the variable-length coded data from M tables holding minimum code words or maximum code words of classes of variable-length code words constructing a variable-length code table;a comparison process module adapted to compare input coded data with the minimum code words or maximum code words outputted from the table selected by said table selection process module;a class discrimination module adapted to obtain a class number corresponding to an initial code word of the input coded data based on results of comparison by said comparison process module;a code length conversion module adapted to convert the class number into a code length;and a module adapted to access a memory holding decoded data, from the class number and the code length obtained at said code length conversion module, and obtaining decoded data.
  6. 20
    Program software which on execution by a computer causes the computer to execute the decoding method for inputting and decoding variable-length coded data of any of claims 8 to 14.