CROSS-REFERENCE TO RELATED THE APPLICATION(S)

This application is based on and claims priority under 35 U.S.C. § 119 to Korean Patent Application No. 10-2019-0130791, filed on Oct. 21, 2019, in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein in its entirety.

BACKGROUND

1. Field

The disclosure relates to providing image content to a display apparatus, and more particularly to performing an operation based on receiving a touch input while the image content is provided to a display apparatus based on mirroring from another apparatus.

2. Description of Related Art

To compute and process information in accordance with certain processes, an electronic apparatus includes a central processing unit (CPU), a chipset, a memory, and the like electronic components for the computation. For example, the electronic apparatus may be an information processing apparatus such as a personal computer (PC), a server or the like for processing information; an image processing apparatus for processing image data; an audio apparatus for audio processing; home appliances for miscellaneous household chores; etc. The image processing apparatus may be embodied by a display apparatus that displays an image based on processed image data on its display panel.

The display apparatus may be a stationary apparatus installed at one place like a television (TV) and a portable apparatus carried by a user like a mobile device. In particular, with development of wireless communication environments and development of a smartphone, a tablet computer and the like mobile device capable of utilizing the wireless communication environments, many users use personalized mobile devices. In this regard, there is a growing need for a link operation between a plurality of display apparatuses, for example, between the mobile device and the TV. Such a linking operation is based on wireless communication between the apparatuses, and mirroring as one example of the linking operation.

The mirroring refers to a function by which an image being displayed on a display apparatus is identically displayed on another display apparatus. For example, while a content image is displayed on a screen of a mobile device, the mobile device transmits content data to the display apparatus in real time to display the content image. The display apparatus displays the same image as the content image being displayed on the mobile device, based on the content data received from the mobile device.

When an image displayed on the mobile device includes an on-screen-display (OSD) menu for a user input, a user may touch the OSD menu on the screen of the mobile device to execute an operation corresponding to the touched OSD menu. However, in the related art, the display apparatus only displays the image received from the mobile device during the mirroring. Therefore, although the screen of the display apparatus is provided as the touch screen and a user touches the OSD menu on the screen of the display apparatus, the user is not allowed to execute the corresponding operation. In other words, during the mirroring, a playback state of the content image is controllable by touching the OSD menu on the screen of the mobile device, but not controllable through the screen of the display apparatus.

Further, in terms of mirroring image decoded in the mobile device to the TV, a network environment between the mobile device and the TV may affect a mirroring image displayed on the TV. For example, when a user wants that the mirroring image is displayed with a high resolution on the TV, a network bandwidth available for the mirroring between the mobile device and the TV might not be sufficient to transmit image data of such a high resolution.

Therefore, when a user input for viewing an image in a full screen mode is made through the OSD menu displayed on the screen of the TV during the mirroring, there might be a problem that the operation might not be properly carried out.

SUMMARY

In accordance with an aspect of the disclosure, there is provided an electronic apparatus including: a display; a communication circuit configured to communicate with a first external apparatus; and a processor configured to: display content as a first image including a playback area on the display, transmit data of the first image to the first external apparatus through the communication circuit, identify whether a first user input directs change in a playback area of a second image, in response to the first user input generated in the first external apparatus in which the content is displayed as the second image including the playback area identical to the playback area of the first image based on the received data, and maintain the playback area of the first image on the display, and transmit a request, which requests the first external apparatus to display the content as a third image including a playback area different from the playback area of the first image, through the communication circuit, based on the first user input identified to direct the change in the playback area of the second image.

The playback area of the third image may be larger than the playback area of the second image.

The request for displaying the third image may include at least one of a file of the content or address information from which the content is obtainable.

The second image may include a menu item for selecting the change in the playback area of the second image, and the processor may be configured to identify that the first user input directs the change in the playback area of the second image, based on whether coordinate information on a screen of the first external apparatus obtained from the first user input corresponds to a position of the menu item.

The processor may be configured to: transmit capture data of the first image to the first external apparatus through the communication circuit, based on a first transfer protocol, and transmit a request for displaying the third image based on a second transfer protocol different from the first transfer protocol, to the first external apparatus through the communication circuit.

The electronic apparatus may further include a user input receiver, wherein the processor may be configured to: identify whether a second user input generated through the user input receiver requests change in the playback area of the first image; display the content as a fourth image including a playback area different from the playback area of the first image on the display, based on the second user input identified to request the change in the playback area of the first image; and transmit capture data of the fourth image to the first external apparatus through the communication circuit.

The processor may be configured to: identify whether a third user input generated in the first external apparatus displaying the third image requests restoration to the playback area of the second image; and transmit the capture data of the first image again to the first external apparatus through the communication circuit, based on the third user input identified to request restoration to the playback area of the second image.

The electronic apparatus may further include a user input receiver, wherein the processor may be configured to: display a list of connectable second external apparatuses on the display and perform an outward casting operation for the content toward the second external apparatus, based on a fourth user input generated through the user input receiver and identified to request an outward cast for the content, and transmit the request for displaying the third image to the first external apparatus through the communication circuit without displaying the list, based on the first user input generated in the external apparatus and identified to request the outward cast for the content.

In accordance with an aspect of the disclosure, there is provided a method of controlling an electronic apparatus, including: displaying content as a first image including a playback area; transmitting data of the first image to a first external apparatus; identifying whether a first user input directs change in a playback area of a second image, in response to the first user input generated in the first external apparatus in which the content is displayed as the second image including the playback area identical to the playback area of the first image based on the received data; and maintaining the playback area of the first image, and transmitting a request, which requests the first external apparatus to display the content as a third image including a playback area different from the playback area of the first image, to the first external apparatus based on the first user input identified to direct the change in the playback area of the second image.

In accordance with an aspect of the disclosure, there is provided an electronic apparatus including: a display; a communication circuit configured to communicate with an external apparatus; and a processor configured to: display moving-image content as an image of a first form in a partial area of a screen, based on a user input for requesting the moving-image content to be displayed, transmit image data corresponding to the image of the first form to the external apparatus through the communication unit while displaying the image of the first form on the display, identify whether the user input directs change in a display form of the moving-image content, based on the user input generated in the external apparatus while the image data is being transmitted to the external apparatus, and maintain the image of the first form to be displayed on the display of the electronic apparatus, and transmit information for allowing the external apparatus to display the moving-image content, which is being displayed on the display of the electronic apparatus, in a second form, to the external apparatus through the communication unit, based on the user input identified to direct the change in the display form of the moving-image content.

The change in the display form may include change in the image size of the moving-image content displayed on the screen, and the image size of the moving-image content displayed in the second form may be larger than the image size of the moving-image content displayed in the first form.

The information about being displayed in the second form may include at least one of a file corresponding to the moving-image content stored in the storage unit of the electronic apparatus or address information from which the moving-image content is obtainable.

The image of the first form may include a user interface (UI) item provided to be selectable to change the display form of the moving-image content, and the processor may be configured to perform an operation for changing the display form of the moving-image content by a user input based on whether coordinate information of the user input obtained from the external apparatus corresponds to a position of the UI item.

The processor may be configured to transfer the image data to the external apparatus through the communication circuit based on a first transfer protocol and transfer information, which is for displaying the moving-image content in the second form, to the external apparatus through the communication circuit based on a second transfer protocol different from the first transfer protocol.

The electronic apparatus may further include a user input receiver, wherein the processor is configured to identify whether a second user input received through the user input receiver requests change in the display form of the moving-image content; display the moving-image content by changing the display form into the second form different from the first form, based on the second user input identified to request the change in the display form of the moving-image content; and transmit image data corresponding to the moving-image content being displayed in the second form to the external apparatus through the communication circuit.

The processor may be configured to identify whether a third user input generated in the external apparatus displaying the moving-image content in the second form requests restoration to the first form of the moving-image content; and transmit the image data corresponding to the image currently displayed on the electronic apparatus to the external apparatus through the communication circuit, based on the third user input identified to request the restoration to the first form of the moving-image content.

