Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70bce11a authored by Venkatarama Avadhani's avatar Venkatarama Avadhani
Browse files

Cleanup: Remove default assignment of colorFormat

The variants of the functions getFrameAtIndex, getFrameAtTime and
getImageAtIndex without the colorFormat parameter are not used. The
default assignment of colorFormat parameter is removed.

Bug: 298965955
Test: Build
Change-Id: I5f98786f3f5dfdd6d5e7183a29ef17934a40eef9
parent 00193efa
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -96,13 +96,13 @@ public:
    status_t setDataSource(
    status_t setDataSource(
            const sp<IDataSource>& dataSource, const char *mime = NULL);
            const sp<IDataSource>& dataSource, const char *mime = NULL);
    sp<IMemory> getFrameAtTime(int64_t timeUs, int option,
    sp<IMemory> getFrameAtTime(int64_t timeUs, int option,
            int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false);
            int colorFormat, bool metaOnly = false);
    sp<IMemory> getImageAtIndex(int index,
    sp<IMemory> getImageAtIndex(int index,
            int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false, bool thumbnail = false);
            int colorFormat, bool metaOnly = false, bool thumbnail = false);
    sp<IMemory> getImageRectAtIndex(
    sp<IMemory> getImageRectAtIndex(
            int index, int colorFormat, int left, int top, int right, int bottom);
            int index, int colorFormat, int left, int top, int right, int bottom);
    sp<IMemory>  getFrameAtIndex(
    sp<IMemory>  getFrameAtIndex(
            int index, int colorFormat = HAL_PIXEL_FORMAT_RGB_565, bool metaOnly = false);
            int index, int colorFormat, bool metaOnly = false);
    sp<IMemory> extractAlbumArt();
    sp<IMemory> extractAlbumArt();
    const char* extractMetadata(int keyCode);
    const char* extractMetadata(int keyCode);