<div><span class="Apple-style-span" style="font-family: monospace; font-size: medium; white-space: pre; ">Björn wrote:</span></div><div><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><pre>
> You can look at region_fill_flag as either a function call or a style indicator. If you see it as a function call, the> decoder should fill the region every time it sees the flag. However, paragraph "5.3.4 Region fill" says:
>  Where the region fill flag is set, the region fill in the subtitle decoder</pre><pre>>  model happens before any objects are rendered into the region.
> This suggests that the decoder should not fill a region after it has had objects rendered onto it. Alternatively, that> if you refill the region you must re-render the objects.

> And this fits rather well with viewing the flag as a style indicator instead, meaning "this region should have a fille> d background." Any subsequent "normal case" packets hence naturally have the flag set too, since the style has not cha> nged.
</pre><div><br></div></span></div><div>from 5.1.5 Region composition:</div><div>"The value of the</div><div>region_n-bit_pixel_code shall not change in RCS where the region_fill_flag is not set. This allows decoders that have</div>
<div>already acquired the subtitling service to ignore the region_n-bit_pixel_code when the region_fill_flag is not set. A</div><div>decoder in the process of acquiring the service can rely on the region_n-bit_pixel_code being the current region fill</div>
<div>colour regardless of the state of region_fill_flag."</div><div><br></div><div>This indicates that the fill flag is designed to be set once to cause a fill, and then cleared.  If a decoder acquires the service and a region is 'new' to the decoder, it should fill with the existing colour.  This indicates that a regions is ALWAYS filled when first encountered (used, actually) (i.e. if you want it transparent, set a transparent colour...), and the fill flag is used to indicate the packet in which it is wished for this to occur.  All regions have a 'style' of 'filled' :)</div>
<div>Since regions can be removed from display, filled, and then re-revealed, then the ability to clear them on demand is essential. </div><div>'5.4.3 Region Fill' also states:</div><div>"Setting the region fill flag instructs that the region is to be completely re-drawn with the defined fill colour."</div>
<div>Again, this indicates the 'command' interpretation rather than the 'style indicator' interpretation.</div><div><br></div><div>Simon</div>