| Server IP : 146.190.157.162 / Your IP : 216.73.216.78 Web Server : Apache System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64 User : businessweek ( 639) PHP Version : 8.2.10-2ubuntu2.2 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/PIL/__pycache__/ |
Upload File : |
�
D#�d � �� � d dl mZmZ d dlmZ G d� d� � Z G d� dej � � Z ej ej e� � ej ej ddg� � ej
ej d � � d
S )� )�Image� ImageFile)�i8c �, � e Zd Zd� Zd� Zd� Zd� Zd� ZdS )� BitStreamc �0 � || _ d| _ d| _ d S )N� )�fp�bits� bitbuffer)�selfr
s �5/usr/lib/python3/dist-packages/PIL/MpegImagePlugin.py�__init__zBitStream.__init__ s � ������ ������ c �P � t | j � d� � � � S )Nr )r r
�read)r
s r �nextzBitStream.next s � ��$�'�,�,�q�/�/�"�"�"r c �� � | j |k rO| � � � }|dk rd| _ �-| j dz |z | _ | xj dz
c_ | j |k �O| j | j |z
z d|z dz
z S )Nr � r )r r r )r
r �cs r �peekzBitStream.peek! s� � ��i�$���� � ���A��1�u�u��� ��"�n��1�Q�6�D�N��I�I��N�I�I�
�i�$��� �~�$�)�d�"2�3�q�D�y�A�o�E�Er c �� � | j |k rR| j dz t | j � d� � � � z | _ | xj dz
c_ | j |k �R| j |z
| _ d S )Nr r )r r r r
r )r
r s r �skipzBitStream.skip+ sh � ��i�$���"�n��1�R�����Q���5H�5H�H�D�N��I�I��N�I�I� �i�$��� �I��$�� � � r c �N � | � |� � }| j |z
| _ |S )N)r r )r
r �vs r r zBitStream.read1 s$ � ��I�I�d�O�O���I��$�� ��r N)�__name__�
__module__�__qualname__r r r r r � r r r r sb � � � � � �� � �
#� #� #�F� F� F�%� %� %�� � � � r r c � � e Zd ZdZdZd� ZdS )�
MpegImageFile�MPEGc �� � t | j � � }|� d� � dk rd}t |� � �d| _ |� d� � |� d� � f| _ d S )N� i� znot an MPEG file�RGB� )r r
r �SyntaxError�mode�_size)r
�s�msgs r �_openzMpegImageFile._open@ sd � ��d�g�����6�6�"�:�:����$�C��c�"�"�"��� ��V�V�B�Z�Z�������+��
�
�
r N)r r r �format�format_descriptionr, r r r r! r! <