aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/qsv_transcode.c
Commit message (Collapse)AuthorAgeFilesLines
* doc/examples/qsv_transcode: Initialize pointer before freeMichael Niedermayer2024-04-251-1/+1
| | | | | | | | Fixees: CID1517023 Uninitialized pointer read Sponsored-by: Sovereign Tech Fund Reviewed-by: "Xiang, Haihao" <haihao.xiang@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/qsv_transcode: Simplify str_to_dict() loopMichael Niedermayer2024-04-251-2/+1
| | | | | | | | Fixes: CID1517022 Logically dead code Sponsored-by: Sovereign Tech Fund Reviewed-by: "Xiang, Haihao" <haihao.xiang@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/qsv_transcode: Simplify loopMichael Niedermayer2024-04-251-3/+1
| | | | | | | | Fixes: CID1428858(2/2) Logically dead code Sponsored-by: Sovereign Tech Fund Reviewed-by: "Xiang, Haihao" <haihao.xiang@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/common: Don't auto-include mem.hAndreas Rheinhardt2024-03-311-0/+1
| | | | | | | | | | | There are lots of files that don't need it: The number of object files that actually need it went down from 2011 to 884 here. Keep it for external users in order to not cause breakages. Also improve the other headers a bit while just at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* doc/examples/qsv_transcode: EINVAL is more appropriate and ENAVAIL will fail ↵hung kuishing2023-12-181-4/+4
| | | | | | build with visual studio Signed-off-by: clarkh <hungkuishing@outlook.com>
* doc/examples/qsv_transcode: Fix a bug when use more than one parameter setWenbin Chen2023-03-171-1/+1
| | | | Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
* examples: apply doxy entries consistency fixesStefano Sabatini2023-02-111-7/+5
| | | | Use consistent format for the @file field and file description.
* doc/examples: Add qsv_transcode exampleWenbin Chen2022-11-221-0/+440
Add qsv_transcode example which shows how to use qsv to do hardware accelerated transcoding, also show how to dynamically set encoding parameters. examples: Normal usage: qsv_transcode input.mp4 h264_qsv output.mp4 "g 60" Dynamic setting usage: qsv_transcode input.mp4 hevc_qsv output.mp4 "g 60 asyne_depth 1" 100 "g 120" This command initializes codec with gop_size 60 and change it to 120 after 100 frames Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>