koliva
18th August 2009, 11:21
Hello,
As I told before, I am trying to write my own CODEC. I am as much stick as possible to the H264 or older standarts. The difference is that I am designing this CODEC for only specific input multiview images. Therefore, I am deriving some motion vectors without any calculations. Although I should normally gain some time, I am losing a lot of time in entropy encoding process. Let me illustrate it with an example.
Normal I-P encoding process.
Steps: ME, MC, Residual, Transformation, Quant., Reordering, Entropy Coding., Coded Data.
For Derived Block: Derive MV, MC, Residual ...
For I-P encoding process, calculating ME takes about 1,8 sec. but at the end of two process these two operation takes nearly same time.
Q1. I am using huffman entropy coder. I know CABAC or CAVLC algorithms are used in H264. Do you think that it takes less time if I use CABAC coder instead of Huffman coder?
Q2. As I know, Motion Estimation is the most time consuming part of encoding process. Why does it take less time than entropy coding? Can you comment on it?
I am open for any suggestions.
Thanks for now.
As I told before, I am trying to write my own CODEC. I am as much stick as possible to the H264 or older standarts. The difference is that I am designing this CODEC for only specific input multiview images. Therefore, I am deriving some motion vectors without any calculations. Although I should normally gain some time, I am losing a lot of time in entropy encoding process. Let me illustrate it with an example.
Normal I-P encoding process.
Steps: ME, MC, Residual, Transformation, Quant., Reordering, Entropy Coding., Coded Data.
For Derived Block: Derive MV, MC, Residual ...
For I-P encoding process, calculating ME takes about 1,8 sec. but at the end of two process these two operation takes nearly same time.
Q1. I am using huffman entropy coder. I know CABAC or CAVLC algorithms are used in H264. Do you think that it takes less time if I use CABAC coder instead of Huffman coder?
Q2. As I know, Motion Estimation is the most time consuming part of encoding process. Why does it take less time than entropy coding? Can you comment on it?
I am open for any suggestions.
Thanks for now.