Hi,

On Sun, Apr 3, 2011 at 10:20 PM, Alexander Strange
<[email protected]> wrote:
>
> On Mar 29, 2011, at 11:48 AM, Oskar Arvidsson wrote:
>
>> Preparatory patch for high bit depth h264 decoding support.
>> ---
>> libavcodec/h264pred_internal.h |  718 
>> +++++++++++++++++++++++-----------------
>> 1 files changed, 418 insertions(+), 300 deletions(-)
>>
>> diff --git a/libavcodec/h264pred_internal.h b/libavcodec/h264pred_internal.h
>> index 343ebf2..06d7230 100644
>> --- a/libavcodec/h264pred_internal.h
>> +++ b/libavcodec/h264pred_internal.h
>> @@ -28,68 +28,98 @@
>> [..]
>
>> +static void FUNCC(pred4x4_vertical)(uint8_t *_src, const uint8_t *topright, 
>> int _stride){
>> +    pixel *src = (pixel*)_src;
>> +    int stride = _stride/sizeof(pixel);
>> +    const pixel4 a= ((pixel4*)(src-stride))[0];
>> +    ((pixel4*)(src+0*stride))[0]= a;
>> +    ((pixel4*)(src+1*stride))[0]= a;
>> +    ((pixel4*)(src+2*stride))[0]= a;
>> +    ((pixel4*)(src+3*stride))[0]= a;
>> +}
>
> Same thing about casts.
> What does the C in FUNCC() stand for?

Quick look at the patch suggests that FUNC() refers to functions that
have a _${bitdepth} suffix, whereas FUNCC() functions have a
_${bitdepth}_c suffix, i.e. they are the actual bpp-specific DSP
functions (and the others just bpp-specific, but not DSP).

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to