{"push_id":1410833300,"size":18,"distinct_size":13,"ref":"refs/heads/m-caf-8994","head":"41515cd5087c236613e409ad66f03176842d249a","before":"79e831d0ecb3c120e12e11070f381d9a1ea04581","commits":[{"sha":"fe893356691f1a8a2ad6fba67607692f4654317c","author":{"name":"Praneeth Paladugu","email":"0ffa496ef6032cfcb3f627398f7779680d80fb84@codeaurora.org"},"message":"mm-video-v4l2: vidc: venc: Optimize color align function\n\nFor non-mod 16 resolutions memmove is taking long time. This\nmay be due to the implementation of memmove. To enhance the\nperformance, always memmove the pixels in 16 aligned blocks.\nFW ignores the padding in YUV anyways.\n\nAlso allocate cache buffers if the size is > 1080P.\n\nThese improve the color conversion performance significantly.\n\n    - On MSM8994\\92 for 4K from ~300 ms --> ~30 ms.\n    - On MSM8996 for 4K from ~30 ms to --> ~9 ms.\n\nChange-Id: I6569011aa35a4d3f621628e9009e21479c30f214\nCRs-Fixed: 927541","distinct":false,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/fe893356691f1a8a2ad6fba67607692f4654317c"},{"sha":"35ab4c847b21d5ff683cde4bc0038b8bc5c18424","author":{"name":"Praneeth Paladugu","email":"0ffa496ef6032cfcb3f627398f7779680d80fb84@codeaurora.org"},"message":"mm-video-v4l2: vidc: venc: Fix rotation issue for 180 degrees\n\nWhen clients sets 180 degrees rotation, this setting is not set\nto driver. Hence the final encoded video doesn't have the rotation\neffect. This change fixes the same.\n\nChange-Id: I622b58332cc4e443e2b919f06e46ac5ed30cd1c3\nCRs-Fixed: 933466","distinct":false,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/35ab4c847b21d5ff683cde4bc0038b8bc5c18424"},{"sha":"93d0c0aac312e60e2d87f7a5b17889409626b501","author":{"name":"Linux Build Service Account","email":"2384cb4e42a14e5d91b44a81612a69803086d401@localhost"},"message":"Merge \"mm-video-v4l2: vidc: venc: Fix rotation issue for 180 degrees\"","distinct":false,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/93d0c0aac312e60e2d87f7a5b17889409626b501"},{"sha":"54bfdc2e227da27c59b26cc6414aecb719328114","author":{"name":"Ashray Kulkarni","email":"fec82753f97fd8b205d7df62a983de6c70e3a9fa@codeaurora.org"},"message":"mm-video-v4l2: vidc: vdec: Add support for S3D metadata\n\nStereo video output information is present in H264 SEI. Venus HW\ndecodes it and sends to OMX component as extradata. OMX component\nparses extradata and sends this information to display as metadata.\n\nChange-Id: I08af0a408e4c44c396587600a7ea1b5a61fbe5a9","distinct":false,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/54bfdc2e227da27c59b26cc6414aecb719328114"},{"sha":"49aecee6405803998d7fe48af812b05929b3b6a8","author":{"name":"Srinu Gorle","email":"41ebd67044bb2c628adbaa3f166ef3c7c9ff458e@codeaurora.org"},"message":"mm-video-v4l2: vidc: vdec: skip enabling S3D extra data for secure session\n\nS3D frame packing extradata is not supported for secure sessions.\nSkip it for secure sessions.\n\nChange-Id: Ide08564e9e8a581c27b416fa705b31411771853a","distinct":false,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/49aecee6405803998d7fe48af812b05929b3b6a8"},{"sha":"f2c52d19bdc7f458f8f4662ffbade7ca41e1ab3f","author":{"name":"Deepak Kushwah","email":"d0c5f5cc8ca8d42c16735b863c4e2840d4ba8703@codeaurora.org"},"message":"mm-video-v4l2: venc: add safety checks for freeing buffers\n\nAllow only up to 64 buffers on input/output port (since the\nallocation bitmap is only 64-wide).\nAdd safety checks to free only as many buffers were allocated.\n\nFixes: Heap Overflow and Possible Local Privilege Escalation in\nMediaServer (libOmxVenc problem)\nBug: 27532497\n\nChange-Id: I31e576ef9dc542df73aa6b0ea113d72724b50fc6","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/f2c52d19bdc7f458f8f4662ffbade7ca41e1ab3f"},{"sha":"bd0390d3bc337841533a29b6609df2cc36b8271f","author":{"name":"Deepak Kushwah","email":"d0c5f5cc8ca8d42c16735b863c4e2840d4ba8703@codeaurora.org"},"message":"mm-video-v4l2: vdec: add safety checks for freeing buffers\n\nAllow only up to 64 buffers on input/output port (since the\nallocation bitmap is only 64-wide).\nDo not allow changing the actual buffer count while still\nholding allocation (Client can technically negotiate buffer\ncount on a free/disabled port)\nAdd safety checks to free only as many buffers were allocated.\n\nFixes: Security Vulnerability - Heap Overflow and Possible\nLocal Privilege Escalation in MediaServer (libOmxVdec problem #3)\nBug: 27532282\n\nChange-Id: I06dd680d43feaef3efdc87311e8a6703e234b523","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/bd0390d3bc337841533a29b6609df2cc36b8271f"},{"sha":"a0424cb0ecbf765a85258b78552df31cfc0ce7e2","author":{"name":"Sanjay Singh","email":"879562a9d4b691509d24c9d9079cff78eb3cc12a@codeaurora.org"},"message":"mm-video-v4l2: vidc: validate omx param/config data\n\nCheck the sanity of config/param strcuture objects\npassed to get/set _ config()/parameter() methods.\n\nBug: 27533317\nSecurity Vulnerability in MediaServer\nomx_vdec::get_config() Can lead to arbitrary write\n\nChange-Id: I6c3243afe12055ab94f1a1ecf758c10e88231809","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/a0424cb0ecbf765a85258b78552df31cfc0ce7e2"},{"sha":"57bf0d743d5f46eb7f97543afe2617da34174c3b","author":{"name":"Praveen Chavan","email":"56b3aeca7655e43d0bf0587d2aeaf17c569c291d@codeaurora.org"},"message":"mm-video-v4l2: vdec: deprecate unused config OMX_IndexVendorVideoExtraData\n\nThis config (used to set header offline) is no longer used.\nRemove handling this config since it uses non-process-safe ways to\npass memory pointers.\n\nFixes: Security Vulnerability - Segfault in MediaServer (libOmxVdec problem #2)\nBug: 27475409\n\nChange-Id: I7a535a3da485cbe83cf4605a05f9faf70dcca42f","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/57bf0d743d5f46eb7f97543afe2617da34174c3b"},{"sha":"6cb17656f442fad4982a9627f361ec4c62686fd6","author":{"name":"Linux Build Service Account","email":"2384cb4e42a14e5d91b44a81612a69803086d401@localhost"},"message":"Merge \"mm-video-v4l2: vdec: deprecate unused config OMX_IndexVendorVideoExtraData\"","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/6cb17656f442fad4982a9627f361ec4c62686fd6"},{"sha":"d79e41c2928114b292164c6371249f4ba7d9d5cf","author":{"name":"Linux Build Service Account","email":"2384cb4e42a14e5d91b44a81612a69803086d401@localhost"},"message":"Merge \"mm-video-v4l2: vdec: add safety checks for freeing buffers\"","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/d79e41c2928114b292164c6371249f4ba7d9d5cf"},{"sha":"d2ad620b4c93d99206e23e9bdbc64ff09fdc9944","author":{"name":"Linux Build Service Account","email":"2384cb4e42a14e5d91b44a81612a69803086d401@localhost"},"message":"Merge \"mm-video-v4l2: vidc: validate omx param/config data\"","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/d2ad620b4c93d99206e23e9bdbc64ff09fdc9944"},{"sha":"9c709d9a4ebc62dbdadd7e518b00de3269753f1b","author":{"name":"Praveen Chavan","email":"56b3aeca7655e43d0bf0587d2aeaf17c569c291d@codeaurora.org"},"message":"mm-video-v4l2: venc: Avoid processing ETBs/FTBs in invalid states\n\n(per the spec) ETB/FTB should not be handled in states other than\nExecuting, Paused and Idle. This avoids accessing invalid buffers.\nAlso add a lock to protect the private-buffers from being deleted\nwhile accessing from another thread.\n\nBug: 27903498\nSecurity Vulnerability - Heap Use-After-Free and Possible LPE in\nMediaServer (libOmxVenc problem #3)\n\nCRs-Fixed: 1010088\n\nChange-Id: I898b42034c0add621d4f9d8e02ca0ed4403d4fd3","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/9c709d9a4ebc62dbdadd7e518b00de3269753f1b"},{"sha":"e35f8880e9a391ed80bafcdd0fcad02e88c0375c","author":{"name":"Praveen Chavan","email":"56b3aeca7655e43d0bf0587d2aeaf17c569c291d@codeaurora.org"},"message":"mm-video-v4l2: vdec: Avoid processing ETBs/FTBs in invalid states\n\n(per the spec) ETB/FTB should not be handled in states other than\nExecuting, Paused and Idle. This avoids accessing invalid buffers.\nAlso add a lock to protect the private-buffers from being deleted\nwhile accessing from another thread.\n\nBug: 27890802\nSecurity Vulnerability - Heap Use-After-Free and Possible LPE in\nMediaServer (libOmxVdec problem #6)\n\nCRs-Fixed: 1008882\n\nChange-Id: Iaac2e383cd53cf9cf8042c9ed93ddc76dba3907e","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/e35f8880e9a391ed80bafcdd0fcad02e88c0375c"},{"sha":"4664fcbf8e09d28d545f004d8823d4d69649e37c","author":{"name":"Linux Build Service Account","email":"2384cb4e42a14e5d91b44a81612a69803086d401@localhost"},"message":"Merge \"mm-video-v4l2: venc: Avoid processing ETBs/FTBs in invalid states\"","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/4664fcbf8e09d28d545f004d8823d4d69649e37c"},{"sha":"13536940c6095ffd535dbd1eb3337af532f02815","author":{"name":"Wonsik Kim","email":"2f4b6017e13ddc804e53e781f976b3df8d607cf9@google.com"},"message":"DO NOT MERGE Fix wrong nAllocLen\n\nSet nAllocLen to the size of the opaque handle itself.\n\nBug: 28816964\nBug: 28816827\nChange-Id: Id410e324bee291d4a0018dddb97eda9bbcded099\n(cherry picked from commit d575ecf607056d8e3328ef2eb56c52e98f81e87d)","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/13536940c6095ffd535dbd1eb3337af532f02815"},{"sha":"cfe0c464994d980154baaafb5625778f8ab7187e","author":{"name":"Praveen Chavan","email":"56b3aeca7655e43d0bf0587d2aeaf17c569c291d@codeaurora.org"},"message":"DO NOT MERGE mm-video-v4l2: venc: add checks before accessing heap pointers\n\nHeap pointers do not point to user virtual addresses in case\nof secure session.\nSet them to NULL and add checks to avoid accesing them\n\nBug: 28815329\nBug: 28920116\n\nConflicts:\n\tmm-video-v4l2/vidc/venc/src/omx_video_base.cpp\n\tmm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp\n\nChange-Id: I94fd5808e753b58654d65e175d3857ef46ffba26\n(cherry picked from commit 7558d03e6498e970b761aa44fff6b2c659202d95)","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/cfe0c464994d980154baaafb5625778f8ab7187e"},{"sha":"41515cd5087c236613e409ad66f03176842d249a","author":{"name":"surajdazz","email":"d5e926a3de4d9f3f8a025f5af523fa2e0ea96e5a@live.com"},"message":"Merge commit 'cfe0c464994d980154baaafb5625778f8ab7187e' into m-caf-8994","distinct":true,"url":"https://api.github.com/repos/surajdazz/android_hardware_qcom_media/commits/41515cd5087c236613e409ad66f03176842d249a"}]}
{"actor":{"display_login":"surajdazz"}}