![Texas Instruments DM365 User Manual Download Page 129](http://html.mh-extra.com/html/texas-instruments/dm365/dm365_user-manual_1094517129.webp)
Simple Two-pass Encoding Sample Usage
E-5
Copy metadata from low-resolution to high
resolution;
}
**********************************************************
Input Buffer requirement by high resolution encoder
Structure Name
Buffer Size
FrameInfo_Interface
sizeof(FrameInfo_Interface);
Inside Codec:
**********************************************************
If(metaDataGenerateConsume of high resolution is 2) /*
Will be used in High resolution encoder */
{
/*
* Use metadata given by low resolution encoder to
* take appropriate decisions.
*/
}
**********************************************************
Once the information is consumed and encoding of high-resolution encoder
is done, set the value of
metaDataGenerateConsume
flag of low
resolution encoder instance to 1.
At application:
**********************************************************
Set metaDataGenerateConsume flag of low resolution encoder
to 1;
**********************************************************
Note:
When setting
dynamicparams
.
metaDataGenerateConsume
= 2, for
the high resolution encoder, the low resolution encoder must be run with
dynamic params.metaDataGenerateConsume
= 1, else severe
quality degradation will occur.
The usage of the generated
metaData
by the high resolution encoder is
internal to the codec and no further input is required from the end user.
If the current frame at low resolution encoder is encoded as IDR/I frame
then no scene change information is passed to high resolution encoder.
STP works with ROI enabled also.
When the scenechange is detected at low resolution encoder, IDR frame is
forced at high resolution encoder at the corresponding frame number.
Summary of Contents for DM365
Page 10: ...x This page is intentionally left blank ...
Page 12: ...xii This page is intentionally left blank ...
Page 24: ...Introduction 1 12 This page is intentionally left blank ...
Page 34: ...Installation Overview 2 10 This page is intentionally left blank ...
Page 116: ...API Reference 4 70 This page is intentionally left blank ...
Page 120: ...Error Description B 2 This page is intentionally left blank ...
Page 124: ...ARM926 TCM Buffer Usage By Codec D 2 This page is intentionally left blank ...
Page 126: ...Simple Two pass Encoding Sample Usage E 2 Case 1 Case 2 Case 3 Case 4 Frame Skip ...
Page 130: ...Simple Two pass Encoding Sample Usage E 6 This page is intentionally left blank ...