diff options
author | Tong Wu <tong1.wu@intel.com> | 2024-01-02 11:08:46 +0800 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-07-02 14:15:12 +0200 |
commit | f303c2629252bcdfe12336c0d921f08658c4a765 (patch) | |
tree | 30f934509f9f894adab328057affef2fadf0327b /libavcodec/startcode.c | |
parent | dea5204b4136d08ac08115e4efb3f65e3c101fc7 (diff) | |
download | ffmpeg-f303c2629252bcdfe12336c0d921f08658c4a765.tar.gz |
avcodec/vaapi_encode: move pic->input_surface initialization to encode_alloc
When allocating the VAAPIEncodePicture, pic->input_surface can be
initialized right in the place. This movement simplifies the send_frame
logic and is the preparation for moving vaapi_encode_send_frame to the base layer.
Signed-off-by: Tong Wu <tong1.wu@intel.com>
Diffstat (limited to 'libavcodec/startcode.c')
0 files changed, 0 insertions, 0 deletions