[FFmpeg-devel] [PATCH] Implement av_get_pix_fmt_by_name()

Stefano Sabatini stefano.sabatini-lala
Thu Jan 28 22:38:03 CET 2010


On date Wednesday 2010-01-27 17:28:04 -0800, Baptiste Coudurier encoded:
> On 01/27/2010 05:10 PM, Stefano Sabatini wrote:
>> On date Thursday 2009-11-26 22:45:31 +0100, Stefano Sabatini encoded:
>>> On date Saturday 2009-11-07 17:52:50 +0100, Stefano Sabatini encoded:
>>>> Hi,
>>>>
>>>> as in subject.
>>>>
>>>> This is going to replace avcodec_get_pix_fmt().
>>>
>>> Patch updated and slightly changed, now it should be intended as a
>>> move of the code of avcodec_get_pix_fmt() to libavutil.
>>
>> Ping (I need this, my idea is to make swscale-test take in input IN
>> OUT as a format, should help when debugging conversion code without to
>> rely on lavfi).
>>
>> Regards.
>>
>>
>> implement-get-pix-fmt-by-name.patch
>>
>>
>> Index: ffmpeg/libavutil/pixdesc.c
>> ===================================================================
>> --- ffmpeg.orig/libavutil/pixdesc.c	2009-11-29 10:47:45.000000000 +0100
>> +++ ffmpeg/libavutil/pixdesc.c	2009-11-29 11:04:14.000000000 +0100
>> @@ -648,6 +648,43 @@
>>       },
>>   };
>>
>> +enum PixelFormat av_get_pix_fmt_by_name_internal(const char *name)
>
> Missing static.

Updated.
-- 
FFmpeg = Fast & Foolish Moronic Philosophical Eager Gargoyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: implement-get-pix-fmt-by-name.patch
Type: text/x-diff
Size: 4372 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100128/91a90012/attachment.patch>



More information about the ffmpeg-devel mailing list