Re: [FFmpeg-devel] [PATCH v2] lavf/rtpenc_jpeg: Retrieve sampling factor from SOF0

2023-06-19 Thread Xiang, Haihao
On Ma, 2023-06-12 at 02:46 +, Xiang, Haihao wrote: > On Wo, 2023-01-11 at 01:35 +, Yeoh, Hoong Tee wrote: > > 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

Re: [FFmpeg-devel] [PATCH v2] lavf/rtpenc_jpeg: Retrieve sampling factor from SOF0

2023-06-11 Thread Xiang, Haihao
On Wo, 2023-01-11 at 01:35 +, Yeoh, Hoong Tee wrote: > 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

[FFmpeg-devel] [PATCH v2] lavf/rtpenc_jpeg: Retrieve sampling factor from SOF0

2023-01-10 Thread Yeoh, Hoong Tee
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 c