Method and system of processing a media file
OwnerArmand Victor Wemelsfelderinventor
Life of this patent
Estimating the term…
Abstract
Streaming applications can often be divided into a plurality of tasks that can be processed by a multi-processor system. Those tasks are connected to each other through queues (102,104) comprising the data to be processed by the task (100). In order to synchronize the access of the data over the different processors, a method is provided that acquires a semaphore (118) that guards the task itself and the changing of predefined states of packets that comprise the data within a queue.
Claims10
A method of processing a media file, the method comprising at least one processing step that is executed by a plurality of processors and the at least one processing step comprising processing data
- characterized in that the at least one processing step further comprises:
- a first step of claiming by one of the plurality of processors a semaphore that guards the at least one processing step;
- a second step of acquiring a first processing packet from a first queue, wherein the first processing packet comprises the processing data;
- a third step of waiting until the first processing packet has a first predefined state of a plurality of predefined states;
- a fourth step of changing the first predefined input state of the first processing packet into a second predefined state of the plurality of predefined states;
- a fifth step of releasing the semaphore by the one of the plurality of processors;
- a sixth step of processing the media file comprising reading and/or writing of the processing data;
- a seventh step of changing the second predefined state of the first processing packet into a third predefined state of the plurality of predefined states.
A system for processing a media file, the system (500) comprising:
- a plurality of processor means (502, 504) conceived to execute at least one processing step performed upon processing data, the processing step comprising reading and/or writing the processing data;
- first queue means (506) conceived to comprise a first processing packet wherein the first processing packet comprises the processing data;
- characterized in that the system further comprises:
- semaphore means (510) conceived to guard the processing step by one of the plurality of processors;
- state means (508, 514) conceived to comprise a first predefined state of a plurality of predefined states;
- waiting means (516) conceived to wait for a first predefined state for the input packet;
- and
- changing means (518) conceived to change the first predefined state into a second predefined state of the plurality of predefined states.
Dependencies are inferred from the claim text.