History

avcodec/encode: restructure the core encoding code

This commit follows the same logic as 061a0c14bb, but for the encode API: The new public encoding API will no longer be a wrapper around the old deprecated one, and the internal API used by the encoders now consists of a single receive_packet() callback that pulls frames as required. amf encoders adapted by James Almer librav1e encoder adapted by James Almer nvidia encoders adapted by James Almer MediaFoundation encoders adapted by James Almer vaapi encoders adapted by Linjie Fu v4l2_m2m encoders adapted by Andriy Gelman

James Almer committed 6 years ago

Commit 827d6fe1 parent 71f19bf27 files · +443 −220Browse files

Showing the changes to libavcodec/vaapi_encode_mpeg2.c (1 of 27 files). Show all

Unified · Split

libavcodec/vaapi_encode_mpeg2.c+0−1
@@ -697,7 +697,6 @@ AVCodec ff_mpeg2_vaapi_encoder = { · 696 unmodified lines
697 .id = AV_CODEC_ID_MPEG2VIDEO,697 .id = AV_CODEC_ID_MPEG2VIDEO,
698 .priv_data_size = sizeof(VAAPIEncodeMPEG2Context),698 .priv_data_size = sizeof(VAAPIEncodeMPEG2Context),
699 .init = &vaapi_encode_mpeg2_init,699 .init = &vaapi_encode_mpeg2_init,
700 .send_frame = &ff_vaapi_encode_send_frame,
701 .receive_packet = &ff_vaapi_encode_receive_packet,700 .receive_packet = &ff_vaapi_encode_receive_packet,
702 .close = &vaapi_encode_mpeg2_close,701 .close = &vaapi_encode_mpeg2_close,
703 .priv_class = &vaapi_encode_mpeg2_class,702 .priv_class = &vaapi_encode_mpeg2_class,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t