{"action":"created","comment":{"url":"https://api.github.com/repos/intel/media-driver/pulls/comments/196694630","pull_request_review_id":130294454,"id":196694630,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjY5NDYzMA==","diff_hunk":"@@ -291,6 +291,72 @@ DDI_MEDIA_SURFACE* DdiMedia_GetSurfaceFromVASurfaceID (PDDI_MEDIA_CONTEXT mediaC\n     return surface;\n }\n \n+VASurfaceID DdiMedia_GetVASurfaceIDFromSurface(PDDI_MEDIA_SURFACE surface)\n+{\n+    PDDI_MEDIA_SURFACE_HEAP_ELEMENT  surfaceElement = (PDDI_MEDIA_SURFACE_HEAP_ELEMENT)surface->pMediaCtx->pSurfaceHeap->pHeapBase;\n+    for(uint32_t i; i < surface->pMediaCtx->pSurfaceHeap->uiAllocatedHeapElements; i ++)","path":"media_driver/linux/common/ddi/media_libva_common.cpp","position":7,"original_position":7,"commit_id":"91af7ca0fb0b554de991b0510599de790626a21f","original_commit_id":"91af7ca0fb0b554de991b0510599de790626a21f","user":{"login":"XinfengZhang","id":28858250,"node_id":"MDQ6VXNlcjI4ODU4MjUw","avatar_url":"https://avatars2.githubusercontent.com/u/28858250?v=4","gravatar_id":"","url":"https://api.github.com/users/XinfengZhang","html_url":"https://github.com/XinfengZhang","followers_url":"https://api.github.com/users/XinfengZhang/followers","following_url":"https://api.github.com/users/XinfengZhang/following{/other_user}","gists_url":"https://api.github.com/users/XinfengZhang/gists{/gist_id}","starred_url":"https://api.github.com/users/XinfengZhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XinfengZhang/subscriptions","organizations_url":"https://api.github.com/users/XinfengZhang/orgs","repos_url":"https://api.github.com/users/XinfengZhang/repos","events_url":"https://api.github.com/users/XinfengZhang/events{/privacy}","received_events_url":"https://api.github.com/users/XinfengZhang/received_events","type":"User","site_admin":false},"body":"@uartie thanks , will change it","created_at":"2018-06-20T08:48:06Z","updated_at":"2018-06-20T08:48:06Z","html_url":"https://github.com/intel/media-driver/pull/188#discussion_r196694630","pull_request_url":"https://api.github.com/repos/intel/media-driver/pulls/188","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/intel/media-driver/pulls/comments/196694630"},"html":{"href":"https://github.com/intel/media-driver/pull/188#discussion_r196694630"},"pull_request":{"href":"https://api.github.com/repos/intel/media-driver/pulls/188"}},"in_reply_to_id":195149942},"pull_request":{"url":"https://api.github.com/repos/intel/media-driver/pulls/188","id":194498098,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NDk4MDk4","html_url":"https://github.com/intel/media-driver/pull/188","diff_url":"https://github.com/intel/media-driver/pull/188.diff","patch_url":"https://github.com/intel/media-driver/pull/188.patch","issue_url":"https://api.github.com/repos/intel/media-driver/issues/188","number":188,"state":"open","locked":false,"title":"change surface format for jpeg 444 file decode","user":{"login":"XinfengZhang","id":28858250,"node_id":"MDQ6VXNlcjI4ODU4MjUw","avatar_url":"https://avatars2.githubusercontent.com/u/28858250?v=4","gravatar_id":"","url":"https://api.github.com/users/XinfengZhang","html_url":"https://github.com/XinfengZhang","followers_url":"https://api.github.com/users/XinfengZhang/followers","following_url":"https://api.github.com/users/XinfengZhang/following{/other_user}","gists_url":"https://api.github.com/users/XinfengZhang/gists{/gist_id}","starred_url":"https://api.github.com/users/XinfengZhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XinfengZhang/subscriptions","organizations_url":"https://api.github.com/users/XinfengZhang/orgs","repos_url":"https://api.github.com/users/XinfengZhang/repos","events_url":"https://api.github.com/users/XinfengZhang/events{/privacy}","received_events_url":"https://api.github.com/users/XinfengZhang/received_events","type":"User","site_admin":false},"body":"fix for #43\r\n\r\nSigned-off-by: XinfengZhang <carl.zhang@intel.com>","created_at":"2018-06-13T07:49:07Z","updated_at":"2018-06-20T08:48:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca6bbef792c419bd93533a2b8b1f46956aaedb94","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/intel/media-driver/pulls/188/commits","review_comments_url":"https://api.github.com/repos/intel/media-driver/pulls/188/comments","review_comment_url":"https://api.github.com/repos/intel/media-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intel/media-driver/issues/188/comments","statuses_url":"https://api.github.com/repos/intel/media-driver/statuses/91af7ca0fb0b554de991b0510599de790626a21f","head":{"label":"XinfengZhang:dynamic_alloc_surface","ref":"dynamic_alloc_surface","sha":"91af7ca0fb0b554de991b0510599de790626a21f","user":{"login":"XinfengZhang","id":28858250,"node_id":"MDQ6VXNlcjI4ODU4MjUw","avatar_url":"https://avatars2.githubusercontent.com/u/28858250?v=4","gravatar_id":"","url":"https://api.github.com/users/XinfengZhang","html_url":"https://github.com/XinfengZhang","followers_url":"https://api.github.com/users/XinfengZhang/followers","following_url":"https://api.github.com/users/XinfengZhang/following{/other_user}","gists_url":"https://api.github.com/users/XinfengZhang/gists{/gist_id}","starred_url":"https://api.github.com/users/XinfengZhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XinfengZhang/subscriptions","organizations_url":"https://api.github.com/users/XinfengZhang/orgs","repos_url":"https://api.github.com/users/XinfengZhang/repos","events_url":"https://api.github.com/users/XinfengZhang/events{/privacy}","received_events_url":"https://api.github.com/users/XinfengZhang/received_events","type":"User","site_admin":false},"repo":{"id":113286311,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMyODYzMTE=","name":"media-driver","full_name":"XinfengZhang/media-driver","owner":{"login":"XinfengZhang","id":28858250,"node_id":"MDQ6VXNlcjI4ODU4MjUw","avatar_url":"https://avatars2.githubusercontent.com/u/28858250?v=4","gravatar_id":"","url":"https://api.github.com/users/XinfengZhang","html_url":"https://github.com/XinfengZhang","followers_url":"https://api.github.com/users/XinfengZhang/followers","following_url":"https://api.github.com/users/XinfengZhang/following{/other_user}","gists_url":"https://api.github.com/users/XinfengZhang/gists{/gist_id}","starred_url":"https://api.github.com/users/XinfengZhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XinfengZhang/subscriptions","organizations_url":"https://api.github.com/users/XinfengZhang/orgs","repos_url":"https://api.github.com/users/XinfengZhang/repos","events_url":"https://api.github.com/users/XinfengZhang/events{/privacy}","received_events_url":"https://api.github.com/users/XinfengZhang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/XinfengZhang/media-driver","description":null,"fork":true,"url":"https://api.github.com/repos/XinfengZhang/media-driver","forks_url":"https://api.github.com/repos/XinfengZhang/media-driver/forks","keys_url":"https://api.github.com/repos/XinfengZhang/media-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/XinfengZhang/media-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/XinfengZhang/media-driver/teams","hooks_url":"https://api.github.com/repos/XinfengZhang/media-driver/hooks","issue_events_url":"https://api.github.com/repos/XinfengZhang/media-driver/issues/events{/number}","events_url":"https://api.github.com/repos/XinfengZhang/media-driver/events","assignees_url":"https://api.github.com/repos/XinfengZhang/media-driver/assignees{/user}","branches_url":"https://api.github.com/repos/XinfengZhang/media-driver/branches{/branch}","tags_url":"https://api.github.com/repos/XinfengZhang/media-driver/tags","blobs_url":"https://api.github.com/repos/XinfengZhang/media-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/XinfengZhang/media-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/XinfengZhang/media-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/XinfengZhang/media-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/XinfengZhang/media-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/XinfengZhang/media-driver/languages","stargazers_url":"https://api.github.com/repos/XinfengZhang/media-driver/stargazers","contributors_url":"https://api.github.com/repos/XinfengZhang/media-driver/contributors","subscribers_url":"https://api.github.com/repos/XinfengZhang/media-driver/subscribers","subscription_url":"https://api.github.com/repos/XinfengZhang/media-driver/subscription","commits_url":"https://api.github.com/repos/XinfengZhang/media-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/XinfengZhang/media-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/XinfengZhang/media-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/XinfengZhang/media-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/XinfengZhang/media-driver/contents/{+path}","compare_url":"https://api.github.com/repos/XinfengZhang/media-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/XinfengZhang/media-driver/merges","archive_url":"https://api.github.com/repos/XinfengZhang/media-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/XinfengZhang/media-driver/downloads","issues_url":"https://api.github.com/repos/XinfengZhang/media-driver/issues{/number}","pulls_url":"https://api.github.com/repos/XinfengZhang/media-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/XinfengZhang/media-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/XinfengZhang/media-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/XinfengZhang/media-driver/labels{/name}","releases_url":"https://api.github.com/repos/XinfengZhang/media-driver/releases{/id}","deployments_url":"https://api.github.com/repos/XinfengZhang/media-driver/deployments","created_at":"2017-12-06T07:57:34Z","updated_at":"2017-12-06T07:57:41Z","pushed_at":"2018-06-20T01:59:26Z","git_url":"git://github.com/XinfengZhang/media-driver.git","ssh_url":"git@github.com:XinfengZhang/media-driver.git","clone_url":"https://github.com/XinfengZhang/media-driver.git","svn_url":"https://github.com/XinfengZhang/media-driver","homepage":null,"size":27499,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"intel:master","ref":"master","sha":"69bfafef0af27cb663fb7c2dd22cd441b271d726","user":{"login":"intel","id":17888862,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODg4ODYy","avatar_url":"https://avatars3.githubusercontent.com/u/17888862?v=4","gravatar_id":"","url":"https://api.github.com/users/intel","html_url":"https://github.com/intel","followers_url":"https://api.github.com/users/intel/followers","following_url":"https://api.github.com/users/intel/following{/other_user}","gists_url":"https://api.github.com/users/intel/gists{/gist_id}","starred_url":"https://api.github.com/users/intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel/subscriptions","organizations_url":"https://api.github.com/users/intel/orgs","repos_url":"https://api.github.com/users/intel/repos","events_url":"https://api.github.com/users/intel/events{/privacy}","received_events_url":"https://api.github.com/users/intel/received_events","type":"Organization","site_admin":false},"repo":{"id":111158319,"node_id":"MDEwOlJlcG9zaXRvcnkxMTExNTgzMTk=","name":"media-driver","full_name":"intel/media-driver","owner":{"login":"intel","id":17888862,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODg4ODYy","avatar_url":"https://avatars3.githubusercontent.com/u/17888862?v=4","gravatar_id":"","url":"https://api.github.com/users/intel","html_url":"https://github.com/intel","followers_url":"https://api.github.com/users/intel/followers","following_url":"https://api.github.com/users/intel/following{/other_user}","gists_url":"https://api.github.com/users/intel/gists{/gist_id}","starred_url":"https://api.github.com/users/intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel/subscriptions","organizations_url":"https://api.github.com/users/intel/orgs","repos_url":"https://api.github.com/users/intel/repos","events_url":"https://api.github.com/users/intel/events{/privacy}","received_events_url":"https://api.github.com/users/intel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intel/media-driver","description":null,"fork":false,"url":"https://api.github.com/repos/intel/media-driver","forks_url":"https://api.github.com/repos/intel/media-driver/forks","keys_url":"https://api.github.com/repos/intel/media-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intel/media-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intel/media-driver/teams","hooks_url":"https://api.github.com/repos/intel/media-driver/hooks","issue_events_url":"https://api.github.com/repos/intel/media-driver/issues/events{/number}","events_url":"https://api.github.com/repos/intel/media-driver/events","assignees_url":"https://api.github.com/repos/intel/media-driver/assignees{/user}","branches_url":"https://api.github.com/repos/intel/media-driver/branches{/branch}","tags_url":"https://api.github.com/repos/intel/media-driver/tags","blobs_url":"https://api.github.com/repos/intel/media-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intel/media-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intel/media-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/intel/media-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intel/media-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/intel/media-driver/languages","stargazers_url":"https://api.github.com/repos/intel/media-driver/stargazers","contributors_url":"https://api.github.com/repos/intel/media-driver/contributors","subscribers_url":"https://api.github.com/repos/intel/media-driver/subscribers","subscription_url":"https://api.github.com/repos/intel/media-driver/subscription","commits_url":"https://api.github.com/repos/intel/media-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/intel/media-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/intel/media-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/intel/media-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/intel/media-driver/contents/{+path}","compare_url":"https://api.github.com/repos/intel/media-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intel/media-driver/merges","archive_url":"https://api.github.com/repos/intel/media-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intel/media-driver/downloads","issues_url":"https://api.github.com/repos/intel/media-driver/issues{/number}","pulls_url":"https://api.github.com/repos/intel/media-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/intel/media-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/intel/media-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intel/media-driver/labels{/name}","releases_url":"https://api.github.com/repos/intel/media-driver/releases{/id}","deployments_url":"https://api.github.com/repos/intel/media-driver/deployments","created_at":"2017-11-17T22:54:05Z","updated_at":"2018-06-20T04:23:01Z","pushed_at":"2018-06-20T05:42:51Z","git_url":"git://github.com/intel/media-driver.git","ssh_url":"git@github.com:intel/media-driver.git","clone_url":"https://github.com/intel/media-driver.git","svn_url":"https://github.com/intel/media-driver","homepage":null,"size":27543,"stargazers_count":121,"watchers_count":121,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"archived":false,"open_issues_count":65,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":65,"open_issues":65,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intel/media-driver/pulls/188"},"html":{"href":"https://github.com/intel/media-driver/pull/188"},"issue":{"href":"https://api.github.com/repos/intel/media-driver/issues/188"},"comments":{"href":"https://api.github.com/repos/intel/media-driver/issues/188/comments"},"review_comments":{"href":"https://api.github.com/repos/intel/media-driver/pulls/188/comments"},"review_comment":{"href":"https://api.github.com/repos/intel/media-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intel/media-driver/pulls/188/commits"},"statuses":{"href":"https://api.github.com/repos/intel/media-driver/statuses/91af7ca0fb0b554de991b0510599de790626a21f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"XinfengZhang"}}