Skip to content

Commit

Permalink
[android] Rename max_output_buffers_lookup_table.* (#4046)
Browse files Browse the repository at this point in the history
max_output_buffers_lookup_table.* are renamed to
max_media_codec_output_buffers_lookup_table.* to reflect the name of
class they implement (i.e. MaxMediaCodecOutputBuffersLookupTable).

b/361864042

(cherry picked from commit 3ce4b2c)
  • Loading branch information
xiaomings authored and anonymous1-me committed Aug 26, 2024
1 parent 483ae68 commit 0964334
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions starboard/android/shared/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ static_library("starboard_platform") {
"log_is_tty.cc",
"log_raw.cc",
"main.cc",
"max_output_buffers_lookup_table.cc",
"max_output_buffers_lookup_table.h",
"max_media_codec_output_buffers_lookup_table.cc",
"max_media_codec_output_buffers_lookup_table.h",
"media_capabilities_cache.cc",
"media_capabilities_cache.h",
"media_codec_bridge.cc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "starboard/android/shared/max_output_buffers_lookup_table.h"
#include "starboard/android/shared/max_media_codec_output_buffers_lookup_table.h"

#include "starboard/common/log.h"
#include "starboard/common/string.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef STARBOARD_ANDROID_SHARED_MAX_OUTPUT_BUFFERS_LOOKUP_TABLE_H_
#define STARBOARD_ANDROID_SHARED_MAX_OUTPUT_BUFFERS_LOOKUP_TABLE_H_
#ifndef STARBOARD_ANDROID_SHARED_MAX_MEDIA_CODEC_OUTPUT_BUFFERS_LOOKUP_TABLE_H_
#define STARBOARD_ANDROID_SHARED_MAX_MEDIA_CODEC_OUTPUT_BUFFERS_LOOKUP_TABLE_H_

#include <functional>
#include <map>
Expand Down Expand Up @@ -72,4 +72,4 @@ class MaxMediaCodecOutputBuffersLookupTable {
} // namespace android
} // namespace starboard

#endif // STARBOARD_ANDROID_SHARED_MAX_OUTPUT_BUFFERS_LOOKUP_TABLE_H_
#endif // STARBOARD_ANDROID_SHARED_MAX_MEDIA_CODEC_OUTPUT_BUFFERS_LOOKUP_TABLE_H_
2 changes: 1 addition & 1 deletion starboard/android/shared/media_is_video_supported.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include "starboard/shared/starboard/media/media_support_internal.h"

#include "starboard/android/shared/max_output_buffers_lookup_table.h"
#include "starboard/android/shared/max_media_codec_output_buffers_lookup_table.h"
#include "starboard/android/shared/media_capabilities_cache.h"
#include "starboard/android/shared/media_common.h"
#include "starboard/configuration.h"
Expand Down
2 changes: 1 addition & 1 deletion starboard/android/shared/video_decoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <vector>

#include "starboard/android/shared/drm_system.h"
#include "starboard/android/shared/max_output_buffers_lookup_table.h"
#include "starboard/android/shared/max_media_codec_output_buffers_lookup_table.h"
#include "starboard/android/shared/media_codec_bridge.h"
#include "starboard/android/shared/media_decoder.h"
#include "starboard/android/shared/video_frame_tracker.h"
Expand Down

0 comments on commit 0964334

Please sign in to comment.