summaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/filter-mpdecimate
diff options
context:
space:
mode:
authorcenzhanquan1 <[email protected]>2025-10-20 12:04:01 +0800
committercenzhanquan1 <[email protected]>2025-10-23 14:42:50 +0000
commit1120b3db302165d7ed40df1473e6ae84db61c0f8 (patch)
treedd6513cbaba978a6588b4658887c6e70d1728bc3 /tests/ref/fate/filter-mpdecimate
parent0eb572f080176151154380b17335bbb96ceba9db (diff)
avcodec/liblc3enc: support packed float (AV_SAMPLE_FMT_FLT) input.HEADmaster
Previously, the LC3 encoder only accepted planar float (AV_SAMPLE_FMT_FLTP). This change extends support to packed float (AV_SAMPLE_FMT_FLT) by properly handling channel layout and sample stride. The pcm data pointer and stride are now calculated based on the sample format: for planar, use frame->data[ch]; for packed, use frame->data[0] with channel offset. The stride is set to 1 for planar and number of channels for packed layout. This enables encoding from common packed audio sources without requiring a prior planar conversion, improving usability and efficiency. Signed-off-by: cenzhanquan1 <[email protected]>
Diffstat (limited to 'tests/ref/fate/filter-mpdecimate')
0 files changed, 0 insertions, 0 deletions