MPC5604E MJPEG Encoder Issues

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5604E MJPEG Encoder Issues

633 Views
suhass
Contributor II

Hi,

I'm having few queries about the MPC5604E's MJPEG Video Encoder Wrapper

1. How to get the Bitrate of Passed Frame?

2. How the LUMTH & CHRTH Register configurations needs to be done?  for Low Bandwidth applications?

3. How to Validate DQT, DHT, & DCT values in the JPEGIn Configuration Stream? 

4. Is the JPEGIn Stream configuration values correct as given in the AN4514? How to Validate it?

 

5. Information about many topics are missing in the Datasheet, Reference manual and Application Notes, How can this much of Missing Information exists!?

 

Thanks & Regards

SUHAS S

Labels (1)
Tags (3)
0 Kudos
1 Reply

518 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

I have received:

1) Count the bytes at EOI or at PDR interrupts.
(If you bought our SW the statistics and bitrate configuration is available by the call of these functions:
     void control_algo_set_target_average_kbit_rate(uint32_t kbit_rate);
uint32_t control_algo_get_target_average_kbit_rate(void);
void control_algo_set_target_peak_kbit_rate(uint32_t kbit_rate);
uint32_t control_algo_get_inter_datarate(void);
uint32_t control_algo_get_target_peak_kbit_rate(void);
uint32_t control_algo_get_current_average_kbit_rate(void);
)


2) Low bandwidth application should use lower jpeg quality. LUMTH & CHRTH are only threshold for image areas where
high details could cause overflow of video ram.

3) Not sure what you exactly mean by validation. You should see the difference in final JPEG image.

4), 5) Need to check.

0 Kudos