Go to the source code of this file.
Functions | |
bool | vidl_ffmpeg_convert (const vidl_frame_sptr &in_frame, vidl_frame_sptr &out_frame) |
Convert the pixel format of a frame using FFMPEG. | |
vidl_pixel_format | vidl_pixel_format_from_ffmpeg (PixelFormat ffmpeg_pix_fmt) |
Find the vidl pixel format that matches a FFMPEG one. | |
PixelFormat | vidl_pixel_format_to_ffmpeg (vidl_pixel_format vidl_pix_fmt) |
Find the FFMPEG pixel format that matches a vidl one. |
Definition in file vidl_ffmpeg_convert.cxx.
bool vidl_ffmpeg_convert | ( | const vidl_frame_sptr & | in_frame, |
vidl_frame_sptr & | out_frame | ||
) |
Convert the pixel format of a frame using FFMPEG.
The in_frame->data()
is converted from in_frame->pixel_format()
to out_frame->pixel_format()
and stored in out_frame->data()
If the output frame data is not the correct size new memory will be allocated
Definition at line 38 of file vidl_ffmpeg_convert.cxx.
vidl_pixel_format vidl_pixel_format_from_ffmpeg | ( | PixelFormat | ffmpeg_pix_fmt | ) |
Find the vidl pixel format that matches a FFMPEG one.
Definition at line 93 of file vidl_ffmpeg_convert.cxx.
PixelFormat vidl_pixel_format_to_ffmpeg | ( | vidl_pixel_format | vidl_pix_fmt | ) |
Find the FFMPEG pixel format that matches a vidl one.
Definition at line 124 of file vidl_ffmpeg_convert.cxx.