OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:p_thumb_dim
(Results
1 - 5
of
5
) sorted by null
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg.c
975
* @
p_thumb_dim
: thumbnail dimension
986
OMX_ERRORTYPE mm_jpeg_update_thumbnail_crop(mm_jpeg_dim_t *
p_thumb_dim
,
994
cropped_height =
p_thumb_dim
->crop.height;
995
cropped_width = floor((cropped_height *
p_thumb_dim
->dst_dim.width) /
996
p_thumb_dim
->dst_dim.height);
1002
cropped_width =
p_thumb_dim
->crop.width;
1003
cropped_height = floor((cropped_width *
p_thumb_dim
->dst_dim.height) /
1004
p_thumb_dim
->dst_dim.width);
1009
p_thumb_dim
->crop.left =
p_thumb_dim
->crop.left
1049
mm_jpeg_dim_t *
p_thumb_dim
= &p_jobparams->thumb_dim;
local
[
all
...]
/hardware/qcom/camera/msmcobalt/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg.c
1135
* @
p_thumb_dim
: thumbnail dimension
1146
OMX_ERRORTYPE mm_jpeg_update_thumbnail_crop(mm_jpeg_dim_t *
p_thumb_dim
,
1154
cropped_height =
p_thumb_dim
->crop.height;
1155
cropped_width = floor((cropped_height *
p_thumb_dim
->dst_dim.width) /
1156
p_thumb_dim
->dst_dim.height);
1162
cropped_width =
p_thumb_dim
->crop.width;
1163
cropped_height = floor((cropped_width *
p_thumb_dim
->dst_dim.height) /
1164
p_thumb_dim
->dst_dim.width);
1169
p_thumb_dim
->crop.left =
p_thumb_dim
->crop.left
1209
mm_jpeg_dim_t *
p_thumb_dim
= &p_jobparams->thumb_dim;
local
[
all
...]
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg.c
860
* @
p_thumb_dim
: thumbnail dimension
872
OMX_ERRORTYPE mm_jpeg_get_thumbnail_crop(mm_jpeg_dim_t *
p_thumb_dim
,
879
cropped_height =
p_thumb_dim
->src_dim.height;
880
cropped_width = floor((cropped_height *
p_thumb_dim
->dst_dim.width) /
881
p_thumb_dim
->dst_dim.height);
884
cropped_width =
p_thumb_dim
->src_dim.width;
885
cropped_height = floor((cropped_width *
p_thumb_dim
->dst_dim.height) /
886
p_thumb_dim
->dst_dim.width);
888
p_thumb_dim
->crop.left = floor(
p_thumb_dim
->src_dim.width - cropped_width) / 2
919
mm_jpeg_dim_t *
p_thumb_dim
= &p_jobparams->thumb_dim;
local
[
all
...]
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg.c
860
* @
p_thumb_dim
: thumbnail dimension
872
OMX_ERRORTYPE mm_jpeg_get_thumbnail_crop(mm_jpeg_dim_t *
p_thumb_dim
,
879
cropped_height =
p_thumb_dim
->src_dim.height;
880
cropped_width = floor((cropped_height *
p_thumb_dim
->dst_dim.width) /
881
p_thumb_dim
->dst_dim.height);
884
cropped_width =
p_thumb_dim
->src_dim.width;
885
cropped_height = floor((cropped_width *
p_thumb_dim
->dst_dim.height) /
886
p_thumb_dim
->dst_dim.width);
888
p_thumb_dim
->crop.left = floor(
p_thumb_dim
->src_dim.width - cropped_width) / 2
919
mm_jpeg_dim_t *
p_thumb_dim
= &p_jobparams->thumb_dim;
local
[
all
...]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg.c
856
mm_jpeg_dim_t *
p_thumb_dim
= &p_jobparams->thumb_dim;
local
867
if ((
p_thumb_dim
->dst_dim.width == 0) || (
p_thumb_dim
->dst_dim.height == 0)) {
873
if ((
p_thumb_dim
->src_dim.width == 0) || (
p_thumb_dim
->src_dim.height == 0)) {
879
if ((
p_thumb_dim
->crop.width == 0) || (
p_thumb_dim
->crop.height == 0)) {
880
p_thumb_dim
->crop.width =
p_thumb_dim
->src_dim.width;
881
p_thumb_dim
->crop.height = p_thumb_dim->src_dim.height
[
all
...]
Completed in 1258 milliseconds