aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ast.h
diff options
context:
space:
mode:
authorYeoh, Hoong Tee <hoong.tee.yeoh-at-intel.com@ffmpeg.org>2023-01-11 01:35:47 +0000
committerHaihao Xiang <haihao.xiang@intel.com>2023-06-20 09:52:43 +0800
commitda4b2549c65dcab733b50ba0a58ae846d705d2c8 (patch)
tree1eac44a6af5ad70f84d93a14013506e2cbeb79a0 /libavformat/ast.h
parent961b17eace0eb36f201df97fe9067f3f57648332 (diff)
downloadffmpeg-da4b2549c65dcab733b50ba0a58ae846d705d2c8.tar.gz
lavf/rtpenc_jpeg: Retrieve sampling factor from SOF0
In ff_rtp_send_jpeg, the type is defined based on PIX_FMT and color-range parsed in. There is limitation on current design where need to include support newly introduced PIX_FMT such as AV_PIX_FMT_QSV and there might be more and more in future. Hence, retrive the sampling factor from SOF0 in JPEG compressed header directly. This introduces flexibility to handle different type of new codec introduced in future. Signed-off-by: Yeoh, Hoong Tee <hoong.tee.yeoh@intel.com>
Diffstat (limited to 'libavformat/ast.h')
0 files changed, 0 insertions, 0 deletions