[x264-devel] Re: [PATCH] set constraint_set[01]_flag when possible
Loren Merritt
lorenm at u.washington.edu
Fri May 12 20:29:41 CEST 2006
On Fri, 12 May 2006, Loïc Le Loarer wrote:
> Le Friday 12 May 2006 à 01:18:20 -0700, Loren Merritt a écrit:
>> On Fri, 12 May 2006, Loïc Le Loarer wrote:
>>> Le Thursday 11 May 2006 à 16:24:26 -0700, Loren Merritt a écrit:
>>>
>>>> I suppose you could argue that there is some value in setting
>>>> constraint_set1_flag for Baseline files, because there are decoders that
>>>> support Main but not all of Baseline.
>>>
>>> This is what I wanted to add. Because of this and because it is faster
>>> to do deblocking on the fly as it is possible in MAIN.
>>
>> I don't buy speed as a reason. If I were implementing a decoder that
>> supported both strategies of deblocking, I would select which one to use
>> based on whether slicegroups or ASO were used in any given frame, not on
>> the profile or constraint_set.
>
> I agree for slicegroups but not for ASO, you cannot know if ASO is used
> without parsing all the slice headers of a picture, it is not always
> practical and not all decoders will do this.
Start decoding with inline deblocking. When/if you get to a slice that's
out of order, stop deblocking, and do the rest after decoding.
--Loren Merritt
More information about the x264-devel
mailing list