summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/MPEG4Writer.cpp
diff options
context:
space:
mode:
authorDandawate Saket <dsaket@ti.com>2011-07-11 19:12:57 -0700
committerJames Dong <jdong@google.com>2011-07-12 15:50:28 -0700
commit1374eddc4455b26d1dffdca10fc70534b3f08c1d (patch)
tree4265b434ff248dc16adeffce42f2d1214549c633 /media/libstagefright/MPEG4Writer.cpp
parenta5a0cea84cdf116f4de4f812c26be73e70a260e6 (diff)
downloadframeworks_av-1374eddc4455b26d1dffdca10fc70534b3f08c1d.zip
frameworks_av-1374eddc4455b26d1dffdca10fc70534b3f08c1d.tar.gz
frameworks_av-1374eddc4455b26d1dffdca10fc70534b3f08c1d.tar.bz2
Add support for TI H264 encoder
Add support for TI H264 encoder and quirks for buffer allocation. Temporary switching to baseline profile till ctts patch is defaulted as per profile detection. Change-Id: I1d56184b9c5d5f00d6c63aef7e058f3d56b84cef Signed-off-by: Dandawate Saket <dsaket@ti.com> Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'media/libstagefright/MPEG4Writer.cpp')
-rwxr-xr-x[-rw-r--r--]media/libstagefright/MPEG4Writer.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/media/libstagefright/MPEG4Writer.cpp b/media/libstagefright/MPEG4Writer.cpp
index eaad2c3..8c9ff87 100644..100755
--- a/media/libstagefright/MPEG4Writer.cpp
+++ b/media/libstagefright/MPEG4Writer.cpp
@@ -1715,7 +1715,10 @@ status_t MPEG4Writer::Track::parseAVCCodecSpecificData(
return ERROR_MALFORMED;
}
}
-
+// FIXME:
+// Add chromat_format_idc, bit depth values, etc for AVC/h264 high profile and above
+// and remove #if 0
+#if 0
{
// Check on the profiles
// These profiles requires additional parameter set extensions
@@ -1725,7 +1728,7 @@ status_t MPEG4Writer::Track::parseAVCCodecSpecificData(
return BAD_VALUE;
}
}
-
+#endif
return OK;
}