function varargout = pcxdrle(varargin)
%PCXDRLE Decompress RLE-compressed data from a PCX file.
%   [X,IDX] = PCXDRLE(BUFFER,HEIGHT,WIDTH) decompresses the
%   RLE-compressed byte-stream contained in the uint8 vector
%   BUFFER.  X is a uint8 array containing the decompressed
%   result.  Note that the dimensions of X will be
%   WIDTH-by-HEIGHT.  This reflects the way pixel data is ordered
%   in a PCX file.  IDX is the index of the last BUFFER element
%   processed.  The reason that all of the elements of BUFFER
%   might not be processed is that BUFFER may contain colormap
%   data at the end.
%
%   Reference:  Murray and vanRyper, Encyclopedia of Graphics
%   File Formats, 2nd ed, O'Reilly, 1996.

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.7 $  $Date: 2000/07/21 17:51:48 $
%#mex

error('Missing MEX-file PCXDRLE');
