Loading media/libstagefright/foundation/avc_utils.cpp +4 −6 Original line number Diff line number Diff line Loading @@ -546,11 +546,9 @@ bool ExtractDimensionsFromVOLHeader( CHECK_NE(video_object_type_indication, 0x21u /* Fine Granularity Scalable */); unsigned video_object_layer_verid __unused; unsigned video_object_layer_priority __unused; if (br.getBits(1)) { video_object_layer_verid = br.getBits(4); video_object_layer_priority = br.getBits(3); br.skipBits(4); //video_object_layer_verid br.skipBits(3); //video_object_layer_priority } unsigned aspect_ratio_info = br.getBits(4); if (aspect_ratio_info == 0x0f /* extended PAR */) { Loading Loading @@ -609,7 +607,7 @@ bool ExtractDimensionsFromVOLHeader( unsigned video_object_layer_height = br.getBits(13); CHECK(br.getBits(1)); // marker_bit unsigned interlaced __unused = br.getBits(1); br.skipBits(1); // interlaced *width = video_object_layer_width; *height = video_object_layer_height; Loading Loading @@ -655,7 +653,7 @@ bool GetMPEGAudioFrameSize( return false; } unsigned protection __unused = (header >> 16) & 1; // we can get protection value from (header >> 16) & 1 unsigned bitrate_index = (header >> 12) & 0x0f; Loading media/libstagefright/foundation/include/media/stagefright/foundation/ADebug.h +2 −1 Original line number Diff line number Diff line Loading @@ -148,7 +148,8 @@ struct ADebug { static char *GetDebugName(const char *name); inline static bool isExperimentEnabled( const char *name __unused /* nonnull */, bool allow __unused = true) { const char *name __attribute__((unused)) /* nonnull */, bool allow __attribute__((unused)) = true) { #ifdef ENABLE_STAGEFRIGHT_EXPERIMENTS if (!strcmp(name, "legacy-adaptive")) { return getExperimentFlag(allow, name, 2, 1); // every other day Loading Loading
media/libstagefright/foundation/avc_utils.cpp +4 −6 Original line number Diff line number Diff line Loading @@ -546,11 +546,9 @@ bool ExtractDimensionsFromVOLHeader( CHECK_NE(video_object_type_indication, 0x21u /* Fine Granularity Scalable */); unsigned video_object_layer_verid __unused; unsigned video_object_layer_priority __unused; if (br.getBits(1)) { video_object_layer_verid = br.getBits(4); video_object_layer_priority = br.getBits(3); br.skipBits(4); //video_object_layer_verid br.skipBits(3); //video_object_layer_priority } unsigned aspect_ratio_info = br.getBits(4); if (aspect_ratio_info == 0x0f /* extended PAR */) { Loading Loading @@ -609,7 +607,7 @@ bool ExtractDimensionsFromVOLHeader( unsigned video_object_layer_height = br.getBits(13); CHECK(br.getBits(1)); // marker_bit unsigned interlaced __unused = br.getBits(1); br.skipBits(1); // interlaced *width = video_object_layer_width; *height = video_object_layer_height; Loading Loading @@ -655,7 +653,7 @@ bool GetMPEGAudioFrameSize( return false; } unsigned protection __unused = (header >> 16) & 1; // we can get protection value from (header >> 16) & 1 unsigned bitrate_index = (header >> 12) & 0x0f; Loading
media/libstagefright/foundation/include/media/stagefright/foundation/ADebug.h +2 −1 Original line number Diff line number Diff line Loading @@ -148,7 +148,8 @@ struct ADebug { static char *GetDebugName(const char *name); inline static bool isExperimentEnabled( const char *name __unused /* nonnull */, bool allow __unused = true) { const char *name __attribute__((unused)) /* nonnull */, bool allow __attribute__((unused)) = true) { #ifdef ENABLE_STAGEFRIGHT_EXPERIMENTS if (!strcmp(name, "legacy-adaptive")) { return getExperimentFlag(allow, name, 2, 1); // every other day Loading