diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2015-04-28 19:07:40 +0530 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2015-05-05 17:45:29 +0000 |
commit | 3a52efd36102c9a4cb8e8f23b6f9131b8b01eef5 (patch) | |
tree | ee7914d40fe6226b5c9e0e25d9e3b9e4f578eab1 /decoder | |
parent | fab9a811d267f2c71bd031512e2a230cea1fb96f (diff) | |
download | android_external_libavc-3a52efd36102c9a4cb8e8f23b6f9131b8b01eef5.tar.gz android_external_libavc-3a52efd36102c9a4cb8e8f23b6f9131b8b01eef5.tar.bz2 android_external_libavc-3a52efd36102c9a4cb8e8f23b6f9131b8b01eef5.zip |
Fixed few issues seen in CTS tests
Added support for encoding non-multiple of 16 dimensions
Added support for encoding dimensions smaller than 64x64
Aligned coeff data to 4 byte boundary
Bug: 20554276
Change-Id: I111093950f94698296d8499a2845cfe2db6c557b
Diffstat (limited to 'decoder')
-rwxr-xr-x | decoder/ih264d_parse_headers.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/decoder/ih264d_parse_headers.c b/decoder/ih264d_parse_headers.c index 9458d6b..de5bcb9 100755 --- a/decoder/ih264d_parse_headers.c +++ b/decoder/ih264d_parse_headers.c @@ -958,28 +958,9 @@ WORD32 ih264d_parse_sps(dec_struct_t *ps_dec, dec_bit_stream_t *ps_bitstrm) return ret; } - /* - * Code Add to check for display width. - * This has to be at the end of the SPS parsing, so everything gets - * parsed and the error will not affect decoding. - * */ - if((0 != ps_dec->u4_app_disp_width) - && (ps_dec->u4_app_disp_width < ps_dec->u2_pic_wd)) - { - ps_dec->u4_app_disp_width = ps_dec->u2_pic_wd; - return ERROR_DISP_WIDTH_RESET_TO_PIC_WIDTH; - } - - - ps_dec->u2_pic_wd = u2_pic_wd; ps_dec->u2_pic_ht = u2_pic_ht; - /* Added temporarily to give pic height and width as display height */ - /* and width in case some cropping errors occur` */ - /*ps_dec->u2_disp_height = ps_dec->u2_pic_ht; - ps_dec->u2_disp_width = ps_dec->u2_pic_wd;*/ - /* Determining the Width and Height of Frame from that of Picture */ ps_dec->u2_frm_wd_y = u2_frm_wd_y; |